123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!--pages/shopDetail/shopDetail.wxml-->
- <wxs module="filter" src="../../assets/js/common.wxs"></wxs>
- <scroll-view class="liveDetail" scroll-y="true" style="height:{{scrollHeight}}px;" bindscrolltolower="bindDownLoad" bindscroll="scroll">
- <view class="item">
- <view class="coverImg">
- <image class="videoImg" style="height:180rpx;" mode="widthFix" wx:if="{{shopObj.shop_icon}}" src="{{shopObj.shop_icon}}"></image>
- </view>
- <view class="infoText">
- <text class="name" style="color:{{!shopObj.shop_name?'rgb(204, 204, 204)':'#000'}}">
- {{shopObj.shop_name?shopObj.shop_name:'-'}}
- </text>
- <view class="date">
- 粉丝{{shopObj.fan?shopObj.fan:'-'}}
- </view>
- </view>
- </view>
- <view class="tabList {{isFix?'toTop':''}}" id="tabItem">
- <view class="tab {{tab==1?'active':''}}" data-id="1" bindtap="check">推广商品</view>
- <view class="tab {{tab==2?'active':''}}" data-id="2" bindtap="check">关联直播</view>
- <view class="tab {{tab==3?'active':''}}" data-id="3" bindtap="check">关联达人</view>
- </view>
- <view wx:if="{{isFix}}" style="width:100%;height:56rpx;background:#fff;"></view>
- <view class="tabItem" wx:if="{{tab==1}}">
- <view class="total" wx:if="{{!hasAunoTotal}}">
- <view class="ul">
- <view class="li">
- <text class="text">
- 关联达人数
- </text>
- <text>
- {{shopObj.user_count||shopObj.user_count==0?shopObj.user_count:'-'}}
- </text>
- </view>
- <view class="li">
- <text class="text">
- 关联直播数
- </text>
- <text>
- {{shopObj.show_count||shopObj.show_count==0?shopObj.show_count:'-'}}
- </text>
- </view>
- <view class="li">
- <text class="text">
- 商品销量
- </text>
- <text>
- {{shopObj.sell_count||shopObj.sell_count==0?shopObj.sell_count:'-'}}
- </text>
- </view>
- </view>
- </view>
- <nopermission wx:if="{{hasAunoTotal}}"></nopermission>
- <view class="proItem hotItem" wx:for="{{productList}}" wx:key="productList">
- <image class="img" style="border-radius:0" wx:if="{{item.img}}" src="{{item.img}}"></image>
- <view class="info">
- <text class="title">{{item.title}}</text>
- <view class="bottom">
- <view class="twice">
- <text class="number" style="display:inline;">{{item.price?'¥'+item.price:'-'}}</text>
- </view>
- <view class="twice">
- 销量<text class="number" style="display:inline;">{{item.sell_count?item.sell_count:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <nopermission wx:if="{{hasAunoPro}}"></nopermission>
- </view>
- <view class="tabItem" wx:if="{{tab==2}}">
- <view class="proItem hotItem" wx:for="{{liveList}}" wx:key="allPro">
- <image class="img" wx:if="{{item.headurl}}" src="{{item.headurl}}" style="border-radius: 50%;" mode="widthFix"></image>
- <view class="info">
- <text class="title">{{item.user_name}}</text>
- <view class="date">{{item.start_time?item.start_time:'-'}}</view>
- <view class="bottom">
- <view class="twice" style="text-align:left;">
- 销量 <text class="number" style="display:inline;">{{item.sell_count?item.sell_count:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <nopermission wx:if="{{hasAunoLive}}"></nopermission>
- </view>
- <!-- 关联达人 -->
- <view class="tabItem" wx:if="{{tab==3}}">
- <view class="proItem hotItem" wx:for="{{hotList}}" wx:key="allPro" bindtap="goHrDetail" data-userid='{{item.kwai_user_id}}'>
- <image class="img" wx:if="{{item.headurl}}" src="{{item.headurl}}" style="border-radius: 50%;" mode="widthFix"></image>
- <view class="info">
- <text class="title">{{item.user_name}}</text>
- <view class="bottom">
- <view class="twice">
- 粉丝 <text class="number" style="display:inline;">{{item.fan?item.fan:'-'}}</text>
- </view>
- <view class="twice">
- 销量 <text class="number" style="display:inline;">{{item.sell_count?item.sell_count:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <nopermission wx:if="{{hasAunoHot}}"></nopermission>
- </view>
- </scroll-view>
- <text class="desc">更多数据请登录www.data.kuxuan.com进行查看</text>
|