mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/promotion/promotion.wxml

1 line
4.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="promotion"><custom-navbar vue-id="27f14ef8-1" title="推广服务" leftImg="/static/images/whiteBack.png" showUser="{{true}}" backgroundColor="linear-gradient( 134deg, #F52540 0%, #E8101E 100%)" titleColor="#fff" borderBottom="none" bind:__l="__l"></custom-navbar><view class="promotion-search"><view class="promotion-add"><image class="promotion-add-img1" src="/static/images/recruit/add.png" data-event-opts="{{[['tap',[['goSelectServe',['$event']]]]]}}" bindtap="__e"></image><view class="promotion-add-text">添加推广服务</view><image class="promotion-add-img2" src="/static/images/recruit/guide.png" data-event-opts="{{[['tap',[['goToGuide',['$event']]]]]}}" bindtap="__e"></image></view><uv-search class="uv-search" vue-id="27f14ef8-2" placeholder="服务名称" height="70rpx" showAction="{{false}}" value="{{listQuery.title}}" data-event-opts="{{[['^search',[['search']]],['^input',[['__set_model',['$0','title','$event',[]],['listQuery']]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['prefix']}}"><image class="search_icon" src="/static/images/recruit/search_icon.png" slot="prefix"></image></uv-search></view><view class="promotion-content"><view class="promotion-tabs"><block wx:for="{{tabsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changtabs',[index]]]]]}}" class="{{['promotion-tabs-tab',(index==tabsIndex)?'active':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view><common-list scoped-slots-compiler="augmented" class="vue-ref" vue-id="27f14ef8-3" apiUrl="{{apiObj.list[identityIndex]}}" listScrollHeight="{{'calc(100vh - '+(statusBarHeight*2+440)+'rpx)'}}" data-ref="groupRef" bind:__l="__l" vue-slots="{{['listData','empty']}}"><view class="promotion-list" slot="listData" wx:if="{{$root.m0}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="promotion-item"><image class="promotion-item-Effect" src="/static/images/recruit/Effect.png" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" bindtap="__e"></image><view class="promotion-item-heard"><image class="promotion-item-heard-photo" src="{{item.$orig.photo[0]}}" mode="aspectFill"></image><view class="promotion-item-heard-right"><view class="promotion-item-heard-right-text1 text-overflow-1">{{item.$orig.title}}</view><view class="promotion-item-heard-right-text2">{{'佣金比例:'+item.m1}}</view><view class="promotion-item-heard-right-text3">{{"预估金额:"+item.$orig.estimate_commission+'元'}}</view><view class="promotion-item-heard-right-text4"><text style="font-size:24rpx;">¥</text>{{item.$orig.server_price}}</view></view><block wx:if="{{item.$orig.server_price==0}}"><view class="promotion-item-tip">温馨提示最终佣金少于1分钱将不再推广渠道展示</view></block></view><view class="promotion-item-bottom"><block wx:if="{{item.$orig.state==2}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="promotion-item-bottom-btn" bindtap="__e"> 复制活动</view></block><block wx:if="{{item.$orig.state==1}}"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="promotion-item-bottom-btn" bindtap="__e">编辑 </view></block><block wx:if="{{item.$orig.state==1}}"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="promotion-item-bottom-btn" bindtap="__e">失效 </view></block></view></view></block></view><no-data vue-id="{{('27f14ef8-4')+','+('27f14ef8-3')}}" slot="empty" bind:__l="__l"></no-data></common-list></view><uv-modal class="vue-ref" vue-id="27f14ef8-5" title="提示" width="620rpx" data-ref="modal" bind:__l="__l" vue-slots="{{['default','confirmButton']}}"><view class="modal-buttons" slot="confirmButton"><view class="closeModal btnModal" type="default" data-event-opts="{{[['tap',[['closeModal',['$event']]]]]}}" bindtap="__e">取消</view><view class="sureModal btnModal" type="default" data-event-opts="{{[['tap',[['sureModal',['$event']]]]]}}" bindtap="__e">我已了解</view></view><view class="slot-content"> 若推广服务设置失效,仅针对新订单生效;历史已付款订单仍按原分佣比例执行,分佣不受影响。 </view></uv-modal></view>