| xqd
@@ -2,6 +2,7 @@
|
|
|
<app-layout>
|
|
|
<app-tab-nav :tabList="tabList" :activeItem="activeTab" @click="tabStatus" padding="0" theme="default"></app-tab-nav>
|
|
|
<view class="item" v-for="item in list" :key="item.id">
|
|
|
+ <text class="is-share" v-if="item.is_share">代理</text>
|
|
|
<view class="user-info">
|
|
|
<image class="avatar" :src="item.avatar"></image>
|
|
|
<view class="t-omit user-name">{{item.nickname}}</view>
|
| xqd
@@ -13,6 +14,7 @@
|
|
|
<text class="sys-recommend">[平台推荐]</text>
|
|
|
</block>
|
|
|
</view>
|
|
|
+ <view class="uid" style="float: right;font-size: 24rpx;margin-right: 10rpx;">ID:{{item.id}}</view>
|
|
|
<view class="order-info">
|
|
|
<text>{{item.orderPrice}}元</text>
|
|
|
<text class="order-num">{{item.orderCount}}个订单</text>
|
| xqd
@@ -180,6 +182,16 @@
|
|
|
padding: #{24rpx};
|
|
|
color: #353535;
|
|
|
margin-bottom: #{25rpx};
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .is-share{
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ border: #{1rpx} solid #f00;
|
|
|
+ color: #f00;
|
|
|
+ padding: #{2rpx} #{10rpx};
|
|
|
+ font-size: #{20rpx};
|
|
|
+ transform: rotate(-45deg);
|
|
|
}
|
|
|
|
|
|
.user-info {
|