summary.wxml
4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!-- packageOutput/pages/summary/summary.wxml -->
<view class="summary">
<view class="layout {{ (isShowData) ? 'bg-grey' : 'bg-white'}}">
<view class="{{ (isShowData) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (isShowData) ? 'm-rl-20' : ''}}">
<view class="title bg-white">
选产品/活动
<view class="title-open" bindtap="handleJump">
<glsx-image class="icon-open" :webp="{{true}}" src="output/icon-open.webp"></glsx-image>
开通活动
</view>
</view>
<view class="scene-box bg-white">
<scene-box sceneInfo="{{sceneInfo}}" scenePriceList="{{scenePriceList}}" sceneCodeActive="{{sceneCodeActive}}" bindhandleSceneChange="handleSceneChange" />
</view>
</view>
</view>
<!-- 产品 -->
<view wx:if="{{sceneCodeActive != 'SC003'}}" class="p-rl-20 bg-white">
<!-- <view class="p-rl-20 bg-white"> -->
<scroll-view scroll-x="{{true}}" enable-flex class="activity-box" scroll-with-animation scroll-left="{{scrollLeft}}">
<view class="flex">
<view class="activity-item {{ activityActive == index ? 'active' : ''}} {{(item.productStatus == 2 || item.productStatus == 3) ? 'open' : 'no-open'}}" wx:for="{{activityList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">
{{item.productName}}
</view>
</view>
</scroll-view>
</view>
<!-- 活动内容 -->
<view class="activity-content {{ (isShowData) ? '' : 'p-rl-20'}}">
<view wx:if="{{isShowData}}">
<view class="activity-title title bg-white p-l-20 no-border">
<view>看产值</view>
<view wx:if="{{sceneCodeActive != 'SC001'}}" class="select" bindtap="handleSearch">
<view wx:if="{{(sceneCodeActive == 'SC002') && !isMock.SC002}}" class="select-txt">
{{baseData.timeList[sceneCodeActive == 'SC002' ? searchForm.sceneSC002 : searchForm.sceneSC003]}}
<!-- {{baseData.timeList[searchForm.sceneSC002]}} -->
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}" />
</view>
<view wx:if="{{(sceneCodeActive == 'SC004' || sceneCodeActive == 'SC003') && !isMock.SC004}}" class="select-txt">
{{baseData.actStatusList[sceneCodeActive == 'SC004' ? searchForm.sceneSC004 : searchForm.sceneSC003]}}
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}" />
</view>
</view>
</view>
<output-transform wx:if="{{sceneCodeActive != 'SC004' && sceneCodeActive != 'SC003'}}" formData="{{activityList[activityActive].orderTotal}}" hasNavigate="{{sceneCodeActive != 'SC001' && !isMock.SC002}}" sceneCode="{{sceneCodeActive}}" />
<output-crowdfund wx:if="{{sceneCodeActive == 'SC004'}}" orderObj="{{activityList[activityActive].outputData}}" bind:handleZhanReport="handleZhanReport" bind:posterTrack="posterTrack" hasReport="{{!isMock.SC004}}" />
<output-crowdfund wx:if="{{sceneCodeActive == 'SC003'}}" sceneCode="SC003" orderObj="{{activityList[activityActive].outputData}}" bind:handleZhanReport="handleZhanReport" bind:posterTrack="posterTrack" hasReport="true" />
</view>
<view wx:else class="content-empty bg-white">
<image class="img-empty" src="{{IMGURL}}output/sum-empty.png?v={{img_version}}" />
</view>
</view>
</view>
<view wx:if="{{activityList.length}}">
<view class="isFullSucreen btn-box" wx:if="{{ !isShowData && !merchantInfo.isSuper}}">
<view class="btn">
<view class="btn-blue" bindtap="handleJump">点击开通</view>
</view>
</view>
</view>
<view wx:if="{{sceneCodeActive == 'SC001' && !isShowData}}" class="isFullSucreen btn-box">
<view class="btn">
<view class="btn-disabled">点击开通</view>
</view>
</view>
<view wx:if="{{sceneCodeActive == 'SC004' && activityList.length && isShowData && activityList[activityActive].outputData.shareBtnIdx && activityList[activityActive].outputData.shareBtnIdx != -1}}" class="isFullSucreen btn-box shadow" bindtap="handleBtnShare">
<view class="btn">
<view class="btn-share">活动进行中,分享母链海报开展活动</view>
</view>
</view>
</view>
<!-- 加微 -->
<service wx:if="{{isShowService}}"></service>
<crowdfund-poster item="{{crowdPosterItem}}" id="crowdPoster" scrollImg="{{true}}" bindlongtouch="longtouch" />