You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
10 KiB

5 months ago
<block wx:if="{{isLoad}}"><view class="agent-index"><block wx:if="{{options.agent}}"><block><view class="mine-count-list c-base pd-lg radius-16" style="{{'background:'+(primaryColor)+';'}}"><view class="flex-between"><view><view class="text flex-center f-caption">可提现(元)</view><view class="f-sm-title">{{detail.cash+''}}</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="cash-out-btn fill-base flex-center f-desc text-bold radius" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">我要提现</view></view><view class="count-data-list flex-x-center mt-lg pt-lg b-1px-t"><view class="list-item flex-center flex-column"><view class="f-sm-title">{{detail.total_cash}}</view><view class="text f-caption c-caption">总金额 (元)</view></view><view class="list-item flex-center flex-column"><view class="f-sm-title">{{detail.unrecorded_cash}}</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="text flex-center f-caption c-caption" catchtap="__e">未入账
(元)<view class="iconfont iconshuyi_shuoming ml-sm _i"></view></view></view></view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="mine-menu-list share flex-center fill-base radius-16" catchtap="__e"><view class="icon-info flex-center"><view class="iconfont iconjishi1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="flex-1"><view class="f-mini-title c-title text-bold">{{"绑定"+$root.m0}}</view><view class="f-desc c-caption mt-sm ellipsis">{{"整合自己的"+$root.m1+"资源,获取分润"}}</view></view><view class="share-btn flex-center f-desc c-base text-bold" style="{{'background:'+(primaryColor)+';'}}">邀请Ta</view></view><block wx:if="{{detail.salesman_auth}}"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="mine-menu-list share flex-center fill-base radius-16" catchtap="__e"><view class="icon-info flex-center"><view class="iconfont iconbangdingyewuyuan _i" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="flex-1"><view class="f-mini-title c-title text-bold">绑定业务员</view><view class="f-desc c-caption mt-sm ellipsis">招揽人才,为自己拓宽渠道</view></view><view class="share-btn flex-center f-desc c-base text-bold" style="{{'background:'+(primaryColor)+';'}}">邀请Ta</view></view></block><block wx:if="{{detail.channel_auth}}"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="mine-menu-list share flex-center fill-base radius-16" catchtap="__e"><view class="icon-info flex-center"><view class="iconfont iconbangdingqudaoshang _i" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="flex-1"><view class="f-mini-title c-title text-bold">绑定渠道商</view><view class="f-desc c-caption mt-sm ellipsis">直招渠道,获利更多</view></view><view class="share-btn flex-center f-desc c-base text-bold" style="{{'background:'+(primaryColor)+';'}}">邀请Ta</view></view></block></block></block><view class="mine-menu-list fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">智能助手</view></view><block wx:for="{{detail.notice}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goOrder',[index]]]]]}}" class="notice-info flex-center pl-lg pr-md pb-lg" catchtap="__e"><view class="title flex-center f-icontext c-base mr-md" style="{{'background:'+(item.type==1?primaryColor:item.type==2?'#FFA229':'#E82F21')+';'}}">{{''+noticeType[item.type].title+''}}</view><view class="flex-1 flex-between f-desc"><view class="c-title">{{item.id?noticeType[item.type].text:'暂无数据'}}</view><block wx:if="{{item.id}}"><view class="flex-y-center c-caption">点击查看<view class="iconfont icon-right _i"></view></view></block></view></view></block></view><block wx:if="{{$root.g0}}"><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">订单管理</view></view><view class="flex-warp pb-lg"><block wx:for="{{shopOrder}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['shopOrder',index]]]]]}}" class="item-child flex-center flex-column f-caption c-title" catchtap="__e"><view class="item-img rel flex-center radius"><block wx:if="{{item.number>0}}"><view class="abs dot-unread-number flex-center" style="{{'width:'+(item.number>99?'44rpx':item.number>9?'34rpx':'')+';'+('right:'+(item.number>99?'-32rpx':item.number>9?'-22rpx':'-12rpx')+';')}}">{{''+(item.number<100?item.number:'99+')+''}}</view></block><view class="item-img radius abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="{{['iconfont','c-title','_i',item.icon]}}" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="mt-sm">{{item.text}}</view></view></block></view></view></block><block wx:if="{{$root.g1}}"><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">加钟管理</view