<view class="container">
|
<view class="header text-center">
|
<view class="title font-bold">
|
{{promotionsData.title}}
|
</view>
|
<view class="status font-size-12">活动{{promotionsData.panicBuyingStatusName}}</view>
|
</view>
|
<my-card-container padding="0">
|
<view class="statistics text-center">
|
<van-row>
|
<van-col span="8">
|
<view class="digital font-size-12">{{promotionsData.visiteTimes||0}}</view>
|
<view class="desc font-size-12 margin-top-10">阅读数</view>
|
<view class="trend margin-top-10">+{{promotionsData.todayVisiteTimes||0}}</view>
|
</van-col>
|
<van-col span="8">
|
<view class="digital font-size-12">{{promotionsData.sharedTimes||0}}</view>
|
<view class="desc font-size-12 margin-top-10">转发数</view>
|
<view class="trend margin-top-10">+{{promotionsData.todaySharedTimes||0}}</view>
|
</van-col>
|
<van-col span="8">
|
<view class="digital font-size-12">{{promotionsData.orderTimes||0}}</view>
|
<view class="desc font-size-12 margin-top-10">成交数</view>
|
<view class="trend margin-top-10">+{{promotionsData.todayOrderTimes||0}}</view>
|
</van-col>
|
</van-row>
|
</view>
|
<view class="panel text-center">
|
<van-row>
|
<van-col class="" span="12">
|
<view bind:tap="continuePromotion" class="panel-cell flex-row flex-center {{promotionsData.isShowContinueButton?'':'disabled-color'}}">
|
<van-icon name="play-circle-o" />
|
<text class="text">继续活动</text>
|
</view>
|
</van-col>
|
<van-col class="" span="12">
|
<view bind:tap="stopPromotion" class="panel-cell border-left flex-row flex-center {{promotionsData.isShowStopButton?'':'disabled-color'}}">
|
<van-icon name="stop-circle-o" />
|
<text class="text">停止活动</text>
|
</view>
|
</van-col>
|
</van-row>
|
</view>
|
</my-card-container>
|
</view>
|
<view class="margin">
|
<van-row class="text-center row">
|
<van-col span="12">
|
<my-tag class="my-tag">
|
<navigator url="../promotionsRelation/promotionsRelation?doccode={{doccode}}" class="tag-btn">
|
<text class="iconfont icon-guanlian"></text>
|
<text class="navigator">活动关联</text>
|
</navigator>
|
</my-tag>
|
</van-col>
|
<van-col span="12">
|
<my-tag class="my-tag">
|
<!-- 功能号:秒杀 710802 , 报名邀约 710803 ,团购 710804-->
|
<navigator wx-if="{{formId==710802}}" class="tag-btn" url="../flashSaleCreate/flashSaleCreate?doccode={{doccode}}">
|
<text class="iconfont icon-bianjiedit26"></text>
|
<text class="navigator">活动编辑</text>
|
</navigator>
|
<navigator wx-if="{{formId==710803}}" class="tag-btn" url="../signUpCreate/signUpCreate?doccode={{doccode}}">
|
<text class="iconfont icon-bianjiedit26"></text>
|
<text class="navigator">活动编辑</text>
|
</navigator>
|
<navigator wx-if="{{formId==710804}}" class="tag-btn" url="../groupBuyingCreate/groupBuyingCreate?doccode={{doccode}}">
|
<text class="iconfont icon-bianjiedit26"></text>
|
<text class="navigator">活动编辑</text>
|
</navigator>
|
</my-tag>
|
</van-col>
|
</van-row>
|
<van-row class="text-center row">
|
<van-col class="" span="12" wx-if="{{promotionsData.isShowGroupBuyingSuccessButton}}">
|
<my-tag class="my-tag">
|
<view bind:tap="completeGroupBuying" class="tag-btn">
|
<!-- <text class="iconfont icon-bianjiedit26"></text>-->
|
<van-icon name="passed" size="14" />
|
<text class="text navigator">完成拼团</text>
|
</view>
|
</my-tag>
|
</van-col>
|
<van-col class="" span="12" wx:if="{{promotionsData.isShowGroupBuyingFailedButton}}">
|
<my-tag class="my-tag">
|
<view bind:tap="cancelGroupBuying" class="tag-btn">
|
<text class="iconfont icon-cuowuguanbiquxiao-xianxingyuankuang"></text>
|
<text class="text navigator">取消拼团</text>
|
</view>
|
</my-tag>
|
|
</van-col>
|
</van-row>
|
</view>
|
|
<view class="container has-footer">
|
<my-card-container padding="0">
|
<view class="card-container">
|
<view >
|
|
<van-tabs
|
title-active-color="#ff751a"
|
title-inactive-color="#333"
|
color="#ff751a"
|
class="my-tabs"
|
>
|
<van-tab title="成交记录">
|
<van-search
|
value="{{ orderKeyword }}"
|
shape="round"
|
placeholder="请输入搜索关键词"
|
use-action-slot
|
bind:search="onSearchOrder"
|
bind:clear="onClearSearchOrder"
|
>
|
<view slot="action" class="theme-font-color font-size-12" bind:tap="orderExport">
|
<text class="iconfont icon-xiazai"></text> 订单导出
|
</view>
|
</van-search>
|
<view class="content">
|
<van-cell-group border="{{false}}">
|
<van-cell class="padding-cell" center wx:for="{{orderList}}" wx:key="key" title-width="300rpx" border="{{index!==orderList.length-1?true:false}}">
|
<view slot="icon">
|
<van-image round width="80rpx" height="80rpx" class="van-image"
|
src="{{item.Headimgurl}}"/>
|
</view>
|
<view class="slot-title" slot="title">
|
<view class="van-cell-text no-wrap">{{item.CltName}}</view>
|
<view class="van-cell-desc">
|
{{item.EnterDate}}
|
</view>
|
</view>
|
<view class="flex-row space-around">
|
<view class="font-bold black">
|
{{item.PayableAmount}}元
|
</view>
|
<view>
|
<!-- wx:if="{{item.isShowReturnButton}}"-->
|
<van-button bind:click="doRefund" data-doccode="{{item.DocCode}}" color="#ff751a" type="danger" plain size="mini">退款</van-button>
|
<!-- <van-button wx:else color="#aaa" type="danger" disabled plain size="mini">已退</van-button>-->
|
</view>
|
</view>
|
</van-cell>
|
</van-cell-group>
|
</view>
|
</van-tab>
|
<van-tab title="业绩排行">
|
<van-search
|
value="{{ ranksKeyword }}"
|
shape="round"
|
placeholder="请输入搜索关键词"
|
use-action-slot
|
bind:search="onSearchRanks"
|
bind:clear="onClearSearchRanks"
|
>
|
<view slot="action" class="theme-font-color font-size-12" bind:tap="orderExport">
|
<text class="iconfont icon-xiazai"></text> 订单导出
|
</view>
|
</van-search>
|
<view class="content">
|
<van-cell-group border="{{false}}">
|
<van-cell class="padding-cell" center wx:for="{{sellerRankingList}}" wx:key="key" title-width="300rpx" border="{{index!==orderList.length-1?true:false}}">
|
<view slot="icon" class="rank-icon">
|
<van-image wx:if="{{item.Ranking<4}}" round width="80rpx" height="80rpx" class="rank-icon-image"
|
src="/assets/images/ranks.png"/>
|
<view class="rank-num font-size-16 {{item.Ranking<4?'white':''}}">{{item.Ranking}}</view>
|
</view>
|
<view class="slot-title" slot="title">
|
<!-- <view class="flex-row space-around flex-center">-->
|
|
<!-- </view>-->
|
<view class="van-cell-text no-wrap">{{item.SellerName||'姓名'}}</view>
|
<my-phone-call phone="{{item.SellerTelephone}}">
|
<view class="van-cell-text no-wrap van-cell-desc">{{item.SellerTelephone||'电话'}}</view>
|
</my-phone-call>
|
|
</view>
|
<view class=" text-center flex-row space-around">
|
<view>
|
<text class="iconfont icon-dingdanguanli font-size-20"></text>
|
{{item.OrderCount}}
|
</view>
|
<view class="font-bold theme-font-color">
|
<text class="iconfont icon-trophy-fill font-size-20"></text>
|
{{item.PayableAmountSum}}元
|
</view>
|
</view>
|
</van-cell>
|
</van-cell-group>
|
</view>
|
</van-tab>
|
</van-tabs>
|
</view>
|
</view>
|
</my-card-container>
|
</view>
|