Browse Source

隐藏一键联系

zhaoxiaohai 3 years ago
parent
commit
89934f1222

+ 2 - 2
pages/storeMessage/storehomepage.wxml

@@ -12,9 +12,9 @@
         </view>
         <view class="grey-rectangle-right">
             <image src="{{storeMsg.attinfos[0].fobsurl}}" mode="aspectFill"></image>
-            <view>
+            <!-- <view>
                 <van-button size="large" color="linear-gradient(180deg, #84E3EC 0%, #4DC2D4 100%)" custom-class='relation'>一键联系</van-button>
-            </view>
+            </view> -->
         </view>
     </view>
     <My_CenterTheTitle title="公司介绍"></My_CenterTheTitle>

+ 3 - 9
pages/tabbar-pages/home/index.js

@@ -13,17 +13,11 @@ Page({
         swiperBannerList: [],
         /* 宫格列表 */
         gridList: [{
-            text: '开单',
-            icon: '/static/login/Phone.png'
-        }, {
-            text: '产品资料',
-            icon: '/static/login/username.png'
+            text: '供需广场',
+            icon: '/static/home-grid/icon-02.png'
         }, {
             text: '私域直播',
-            icon: '/static/login/verificationcode.png'
-        }, {
-            text: '供需广场',
-            icon: '/static/login/verificationcode.png'
+            icon: '/static/home-grid/icon-01.png'
         }],
         /* 圆角按钮tabs列表 */
         roundedList: [

+ 4 - 4
pages/tabbar-pages/home/index.wxml

@@ -4,8 +4,8 @@
 <My_BannerSwiper swiperBannerList="{{swiperBannerList}}"></My_BannerSwiper>
 <!-- 宫格区域 -->
 <view class="grid_box">
-    <van-grid border="{{false}}" column-num="4" bindtap="gridJumpPage">
-        <van-grid-item wx:for="{{gridList}}" data-name="{{item.text}}" icon="{{item.icon}}" text="{{item.text}}" text-class="grid_text-class" />
+    <van-grid border="{{false}}" column-num="2" icon-size='40' bindtap="gridJumpPage">
+        <van-grid-item wx:for="{{gridList}}" data-name="{{item.text}}" icon="{{item.icon}}" text="{{item.text}}" text-class="grid-text-class" />
     </van-grid>
 </view>
 <!-- 展示区域 -->
@@ -26,12 +26,12 @@
     <!-- 列表展示区 -->
     <view slot="display-box-showList">
         <My_DisplayItem wx:for="{{productList}}" content="{{item}}" padTop="{{index==0?'0':'20'}}" borTop="{{index==0?'0':'2'}}" anonymity="true">
-            <view class="display-box-showList-button-box" slot="button">
+            <!-- <view class="display-box-showList-button-box" slot="button">
                 <van-button custom-class="display-box-showList-button" catchtap="contact" color="linear-gradient(180deg, #84E3EC 0%, #4DC2D4 100%)"></van-button>
                 <view class="display-box-showList-button-text">
                     一键联系
                 </view>
-            </view>
+            </view> -->
         </My_DisplayItem>
     </view>
 </My_DisplayBox>

+ 10 - 2
pages/tabbar-pages/home/index.wxss

@@ -6,6 +6,15 @@
     background-color: #FFFFFF;
 }
 
+.grid-text-class {
+    height: 40rpx;
+    font-size: 28rpx;
+    font-family: PingFangSC-Regular, PingFang SC;
+    color: #333333;
+    line-height: 40rpx;
+    padding-top: 12rpx !important;
+}
+
 /* 展示区域title image */
 .display-title_image {
     width: 32rpx;
@@ -52,5 +61,4 @@
 .businessPartnerBanner>swiper-item {
     width: 100%;
     height: 300rpx;
-}
-
+}

+ 4 - 4
pages/tabbar-pages/supplyAndDemand/index.wxml

@@ -24,16 +24,16 @@
                         <view class="dataAndBut_data">
                             浏览次数:{{item.freadtimes}}次 意向沟通人数:{{item.fcommunicationtimes}}次
                         </view>
-                        <view class="dataAndBut_but">
+                        <!-- <view class="dataAndBut_but">
                             <van-button wx:if="{{item.fstatus == '待对接'}}" color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-slotBut" catchtap="contact">一键联系</van-button>
                             <van-button wx:else color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-NoSlotBut" catchtap="stop">{{item.fstatus}}</van-button>
-                        </view>
+                        </view> -->
                     </view>
                 </view>
             </My_SupplyAndDemandItemBox>
         </van-tab>
         <van-tab title="正在对接">
-            <view class="abutting-joint-box">
+            <!-- <view class="abutting-joint-box">
                 <view class="abutting-joint-titleAndMsg">
                     <view class="abutting-joint-title">各位老板看下有以下面料的联系我,高价收!</view>
                     <view class="abutting-joint-msg"><text style="color: #FF0000; opacity: .5;">[23条]</text>李老板:多少钱收?多少钱收?</view>
@@ -42,7 +42,7 @@
                     <view class="abutting-joint-time">2021-11-10 14:23:43</view>
                     <van-button custom-class="abutting-joint-but"><text class="abutting-joint-but-text">继续沟通</text></van-button>
                 </view>
-            </view>
+            </view> -->
         </van-tab>
         <van-tab title="我的需求">
             <!-- 搜索 -->

+ 4 - 4
pages/tabbar-pages/supplyAndDemand/particulars.wxml

@@ -10,10 +10,10 @@
                 </view>
                 <view class="header-userMessage-textMsg">{{particulars.createby}} {{particulars.checkdate}}</view>
             </view>
-            <view class="but-box">
+            <!-- <view class="but-box">
                 <van-button wx:if="{{particulars.fstatus == '待对接'}}" color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-slotBut details-custom-slotBut">一键联系</van-button>
                 <van-button wx:else color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-NoSlotBut details-custom-slotBut">{{particulars.fstatus}}</van-button>
-            </view>
+            </view> -->
         </view>
     </view>
     <scroll-view scroll-y style="flex: 1; height: 1px;">
@@ -34,8 +34,8 @@
                     <view class="dataAndBut_data">
                         浏览次数:{{item.freadtimes}}次 意向沟通人数:{{item.fcommunicationtimes}}次
                     </view>
-                    <van-button wx:if="{{item.fstatus == '待对接'}}" color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-slotBut" catchtap="contact">一键联系</van-button>
-                    <van-button wx:else color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-NoSlotBut" catchtap="stop">{{item.fstatus}}</van-button>
+                    <!-- <van-button wx:if="{{item.fstatus == '待对接'}}" color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-slotBut" catchtap="contact">一键联系</van-button>
+                    <van-button wx:else color="#4DC2D4" style="margin-left: 16rpx;" custom-class="custom-NoSlotBut" catchtap="stop">{{item.fstatus}}</van-button> -->
                 </view>
             </view>
         </My_SupplyAndDemandItemBox>

+ 4 - 4
pages/tabbar-pages/user/index.js

@@ -13,19 +13,19 @@ Page({
         gridList: [{
             id: '001',
             text: '商户管理',
-            icon: '/static/login/Phone.png'
+            icon: '/static/userCenter/icon-04.png'
         }, {
             id: '002',
             text: '产品管理',
-            icon: '/static/login/identity.png'
+            icon: '/static/userCenter/icon-03.png'
         }, {
             id: '003',
             text: '合作商家',
-            icon: '/static/login/username.png'
+            icon: '/static/userCenter/icon-02.png'
         }, {
             id: '004',
             text: '团队管理',
-            icon: '/static/login/verificationcode.png'
+            icon: '/static/userCenter/icon-01.png'
         }],
         userMessage: {}, //用户信息
     },

+ 1 - 1
pages/tabbar-pages/user/index.wxml

@@ -28,7 +28,7 @@
     </view>
     <!-- 宫格 -->
     <view class="grid_box">
-        <van-grid border="{{false}}" bindtap="gridJumpPage">
+        <van-grid border="{{false}}" icon-size='40' bindtap="gridJumpPage">
             <van-grid-item wx:for="{{gridList}}" data-name="{{item.text}}" icon="{{item.icon}}" text="{{item.text}}" text-class="grid_text-class" />
         </van-grid>
     </view>

+ 6 - 3
pages/tabbar-pages/user/index.wxss

@@ -77,9 +77,12 @@
 }
 
 .grid_text-class {
-    font-family: PingFangSC-Regular, PingFang SC !important;
-    font-size: 28rpx !important;
-    color: #000000 !important;
+    height: 40rpx;
+    font-size: 28rpx;
+    font-family: PingFangSC-Regular, PingFang SC;
+    color: #333333;
+    line-height: 40rpx;
+    padding-top: 12rpx;
 }
 
 /* 退出登录 */

BIN
static/home-grid/icon-01.png


BIN
static/home-grid/icon-02.png


BIN
static/userCenter/icon-01.png


BIN
static/userCenter/icon-02.png


BIN
static/userCenter/icon-03.png


BIN
static/userCenter/icon-04.png