陶杰
2024-10-15 e3680e0ffb559ee136451a38e91ab0fe9eb265a6
pages/home/supplier-home.vue
@@ -7,6 +7,7 @@
         我的
      </view> -->
      <!-- 背景图 -->
      <view class="top-bg" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }">
         <view class="title" style="position: relative;">
            首页
@@ -24,11 +25,11 @@
               ||(currentInfo.supplierDTO&&currentInfo.supplierDTO.cover)
               ||(currentInfo.partnerDTO&&currentInfo.partnerDTO.cover)
               || currentInfo.picture
               " mode="aspectFit"></image>
               " mode="scaleToFill"></image>
               
            <image class="user-icon" v-else
               src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png'
               mode="aspectFit"></image>
               mode="scaleToFill"></image>
               
            <!-- 头像 -->
         <!--    <image class="user-icon" v-if="!currentInfo.picture"
@@ -46,6 +47,10 @@
                  <span v-if="!currentInfo.partnerDTO&&currentInfo.type==='partner'">(信息待完善)</span>
               </view>
               <view class="t2">{{currentInfo.tel || '暂无电话'}}</view>
               <view class="t2" v-if="currentInfo.partnerDTO && currentInfo.partnerDTO.id">
                 ID: {{ currentInfo.partnerDTO.id }}
               </view>
            </view>
         </view>
@@ -53,7 +58,7 @@
      </view>
      <view class="item-container" :class="[selftype?selftype:'']">
         <view class="title">我的收益</view>
         <view class="flex tj-container" v-if="selftype==='partner'">.
         <view class="flex tj-container" v-if="selftype==='partner'">
            <view class="tj-each">
               <view class="num total">
                  ¥{{tj.income||'0.00'}}
@@ -68,7 +73,7 @@
         <view class="line"></view>
         <view class="flex tj-container" v-if="selftype==='supplier'">
            <view class="tj-each">
            <view class="tj-each"  @click="goto('/sub_pages/supplier/data-statis/data-statis',true)">
               <view class="num">
                  {{tj.dealCountLastMonth||0}}扎
               </view>
@@ -76,7 +81,7 @@
                  上月成交
               </view>
            </view>
            <view class="tj-each">
            <view class="tj-each"  @click="goto('/sub_pages/supplier/data-statis/data-statis',true)">
               <view class="num">
                  {{tj.dealCountToday||0}}扎
               </view>
@@ -84,7 +89,7 @@
                  今日成交
               </view>
            </view>
            <view class="tj-each">
            <view class="tj-each"  @click="goto('/sub_pages/supplier/data-statis/data-statis',true)">
               <view class="num">
                  {{tj.dealCountDay30||0}}扎
               </view>
@@ -131,7 +136,7 @@
            <view class="title">{{tj.deliverCount||0}}扎</view>
         </view>
         <view class="tj-panel green flex1"
            @click="goto('/pages/order/order-delivery?range=today',true)">
            @click="goto('/pages/order/order-delivery?status=ARRIVED&range=today',true)">
            <view class="name green">今日配送汇总</view>
            <view class="title">{{tj.deliverTotal||0}}扎</view>
         </view>