1 line
8.3 KiB
Plaintext
1 line
8.3 KiB
Plaintext
<view class="body data-v-14a86505"><uni-nav-bar vue-id="ff3686be-1" title="预览" leftText="取消" left-icon="left" right-text="完成" backgroundColor="#ffffff" color="#000000" data-event-opts="{{[['^clickRight',[['success']]],['^clickLeft',[['back']]]]}}" bind:clickRight="__e" bind:clickLeft="__e" class="data-v-14a86505" bind:__l="__l"></uni-nav-bar><block wx:if="{{temp&&temp.temptele_src}}"><view class="v-preview data-v-14a86505"><image class="img data-v-14a86505" src="{{temp.temptele_src}}" alt mode="widthFix"></image></view></block><view style="{{(backgrond_color)}}" class="data-v-14a86505"><u-parse vue-id="ff3686be-2" content="{{titleContent}}" class="data-v-14a86505" bind:__l="__l"></u-parse><view class="data-v-14a86505"><view class="meta data-v-14a86505"><view class="author data-v-14a86505"><cloud-image vue-id="ff3686be-3" height="64rpx" width="64rpx" borderRadius="50%" src="{{userInfo.avatar_file.url}}" class="data-v-14a86505" bind:__l="__l"></cloud-image><text class="at data-v-14a86505" style="{{(color)}}">{{userInfo.nickname||''}}</text><text class="split data-v-14a86505">·</text><text class="date data-v-14a86505" style="{{(color)}}">刚刚</text></view></view><view class="data-v-14a86505"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-14a86505"><block wx:if="{{item.$orig.type==='image'||item.$orig.type==='video'}}"><u-parse vue-id="{{'ff3686be-4-'+index}}" content="{{item.$orig.html}}" class="data-v-14a86505" bind:__l="__l"></u-parse></block><block wx:if="{{item.$orig.type==='image'}}"><view style="width:100wv;margin-top:30rpx;margin-bottom:30rpx;" class="data-v-14a86505"><cloud-image vue-id="{{'ff3686be-5-'+index}}" width="100%" height="500rpx" mode="aspectFit" src="{{item.$orig.image.src}}" class="data-v-14a86505" bind:__l="__l"></cloud-image></view></block><block wx:if="{{item.$orig.type==='video'}}"><view style="width:100wv;margin-top:30rpx;margin-bottom:30rpx;" class="data-v-14a86505"><video style="width:100%;height:500rpx;" src="{{item.$orig.video.src}}" enable-danmu="{{true}}" danmu-btn="{{true}}" controls="{{true}}" class="data-v-14a86505"></video></view></block><block wx:if="{{item.$orig.type==='vote'}}"><view class="data-v-14a86505"><uni-card vue-id="{{'ff3686be-6-'+index}}" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><view class="vote-container data-v-14a86505"><text class="vote-title data-v-14a86505">{{item.$orig.vote.voteTitle}}</text><text class="deadline data-v-14a86505">{{"截止时间:"+item.$orig.vote.datetime}}</text><block wx:if="{{item.$orig.vote.type===voteType[0]}}"><view class="data-v-14a86505"><u-radio-group vue-id="{{('ff3686be-7-'+index)+','+('ff3686be-6-'+index)}}" placement="column" wrap="{{true}}" value="{{item.$orig.vote.selectValue}}" data-event-opts="{{[['^change',[['groupChange']]],['^input',[['__set_model',['$0','selectValue','$event',[]],[[['cms.cmsLst','',index,'vote']]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.vote.voteLst}}" wx:for-item="radio" wx:for-index="radioIndex" wx:key="radioIndex"><u-radio style="width:100%;" vue-id="{{('ff3686be-8-'+index+'-'+radioIndex)+','+('ff3686be-7-'+index)}}" customStyle="{{({marginBottom:'8px'})}}" label="{{radio.value}}" name="{{radio.value}}" data-event-opts="{{[['^change',[['radioChange']]]]}}" bind:change="__e" class="data-v-14a86505" bind:__l="__l"></u-radio></block></u-radio-group></view></block><block wx:if="{{item.$orig.vote.type===voteType[1]}}"><view class="data-v-14a86505"><u-checkbox-group vue-id="{{('ff3686be-9-'+index)+','+('ff3686be-6-'+index)}}" placement="column" value="{{item.$orig.vote.selectValue}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['$0','selectValue','$event',[]],[[['cms.cmsLst','',index,'vote']]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.vote.voteLst}}" wx:for-item="checkbox" wx:for-index="checkboxIndex" wx:key="checkboxIndex"><u-checkbox vue-id="{{('ff3686be-10-'+index+'-'+checkboxIndex)+','+('ff3686be-9-'+index)}}" customStyle="{{({marginBottom:'8px'})}}" label="{{checkbox.value}}" name="{{checkbox.value}}" class="data-v-14a86505" bind:__l="__l"></u-checkbox></block></u-checkbox-group></view></block><block wx:if="{{item.$orig.vote.type===voteType[2]}}"><view class="data-v-14a86505"><u-checkbox-group vue-id="{{('ff3686be-11-'+index)+','+('ff3686be-6-'+index)}}" placement="column" value="{{item.$orig.vote.selectValue}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['$0','selectValue','$event',[]],[[['cms.cmsLst','',index,'vote']]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-14a86505"><block wx:for="{{item.l0}}" wx:for-item="checkbox" wx:for-index="checkboxIndex" wx:key="checkboxIndex"><u-checkbox vue-id="{{('ff3686be-12-'+index+'-'+checkboxIndex)+','+('ff3686be-11-'+index)}}" customStyle="{{({marginBottom:'8px'})}}" label="{{checkbox.$orig.value}}" name="{{checkbox.$orig.value}}" disabled="{{checkbox.m0}}" class="data-v-14a86505" bind:__l="__l"></u-checkbox></block></view></u-checkbox-group></view></block><block wx:if="{{isExpired}}"><view style="border-top:3rpx solid #ccc;padding-top:20rpx;margin-top:20rpx;text-align:center;" disabled="{{isExpired||!selectedValue}}" class="data-v-14a86505">已截止</view></block><block wx:else><view style="border-top:3rpx solid #ccc;padding-top:20rpx;margin-top:20rpx;text-align:center;" disabled="{{isExpired||!selectedValue}}" class="data-v-14a86505">{{''+(isExpired?'已截止':'点击登录后投票')+''}}</view></block></view></uni-card></view></block></view></block></view></view></view><u-tabbar vue-id="ff3686be-13" value="{{tabbarValue}}" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{tabbarText}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-tabbar-item vue-id="{{('ff3686be-14-'+index)+','+('ff3686be-13')}}" text="{{item.text}}" data-event-opts="{{[['^click',[['tabbarClick']]]]}}" bind:click="__e" class="data-v-14a86505" bind:__l="__l"></u-tabbar-item></block></u-tabbar><hqs-popup vue-id="ff3686be-15" title="{{tabbarText[tabbarValue].text}}" from="{{popFrom}}" mask-click="{{maskClick}}" value="{{showPop}}" data-event-opts="{{[['^back',[['onBack']]],['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:back="__e" bind:input="__e" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{tabbarText[tabbarValue].text==='模板'}}"><view class="page-container data-v-14a86505"><media-list vue-id="{{('ff3686be-16')+','+('ff3686be-15')}}" dataType="template" pageSize="{{12}}" currentTemplate="{{updateTemplateConfig}}" data-event-opts="{{[['^update',[['updateTemplate']]]]}}" bind:update="__e" class="data-v-14a86505" bind:__l="__l"></media-list></view></block><block wx:if="{{tabbarText[tabbarValue].text==='音乐'}}"><view class="page-container data-v-14a86505"><media-list vue-id="{{('ff3686be-17')+','+('ff3686be-15')}}" dataType="music" pageSize="{{12}}" currentTemplate="{{updateTemplateConfig}}" data-event-opts="{{[['^update',[['updateTemplate']]]]}}" bind:update="__e" class="data-v-14a86505" bind:__l="__l"></media-list></view></block><block wx:if="{{tabbarText[tabbarValue].text==='排版'}}"><view class="page-container data-v-14a86505"></view></block></hqs-popup><uni-grid vue-id="ff3686be-18" column="{{3}}" highlight="{{true}}" show-border="{{false}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{gridLst}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-grid-item vue-id="{{('ff3686be-19-'+index)+','+('ff3686be-18')}}" index="{{index}}" class="data-v-14a86505" bind:__l="__l" vue-slots="{{['default']}}"><view class="grid-item-box data-v-14a86505"><uni-icons vue-id="{{('ff3686be-20-'+index)+','+('ff3686be-19-'+index)}}" type="{{item.icon}}" size="{{30}}" color="{{item.select_flag?select_icon_color:icon_color}}" class="data-v-14a86505" bind:__l="__l"></uni-icons><text class="text data-v-14a86505" style="{{(item.select_flag?select_font_color:icon_font_color)}}">{{''+(item.value?item.value:0)+''}}</text></view></uni-grid-item></block></uni-grid></view> |