1 |
- <view><fa-navbar vue-id="87b64538-1" title="{{diyform.title||'详情'}}" bind:__l="__l"></fa-navbar><view class="u-p-30"><block tt:for="{{$root.l1}}" tt:for-item="item" tt:for-index="index" tt:key="index"><block><block tt:if="{{item.g0!=-1}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color">{{item.$orig.value}}</view></view></block><block tt:if="{{item.$orig.type=='editor'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color"><u-parse vue-id="{{'87b64538-2-'+index}}" html="{{item.$orig.value}}" data-event-opts="{{[['^linkpress',[['navigate']]]]}}" bind:linkpress="__e" bind:__l="__l"></u-parse></view></view></block><block tt:if="{{item.g1!=-1}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color">{{item.$orig.value}}</view></view></block><block tt:if="{{item.$orig.type=='array'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="u-p-t-30"><u-table vue-id="{{'87b64538-3-'+index}}" bind:__l="__l" vue-slots="{{['default']}}"><u-tr class="u-tr" vue-id="{{('87b64538-4-'+index)+','+('87b64538-3-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><u-th class="u-th" vue-id="{{('87b64538-5-'+index)+','+('87b64538-4-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.setting.key}}</u-th><u-th class="u-th" vue-id="{{('87b64538-6-'+index)+','+('87b64538-4-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.setting.value}}</u-th></u-tr><block tt:for="{{item.$orig.value}}" tt:for-item="arr" tt:for-index="ak" tt:key="ak"><u-tr class="u-tr" vue-id="{{('87b64538-7-'+index+'-'+ak)+','+('87b64538-3-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td class="u-td" vue-id="{{('87b64538-8-'+index+'-'+ak)+','+('87b64538-7-'+index+'-'+ak)}}" bind:__l="__l" vue-slots="{{['default']}}">{{ak}}</u-td><u-td class="u-td" vue-id="{{('87b64538-9-'+index+'-'+ak)+','+('87b64538-7-'+index+'-'+ak)}}" bind:__l="__l" vue-slots="{{['default']}}">{{arr}}</u-td></u-tr></block></u-table></view></view></block><block tt:if="{{item.$orig.type=='radio'||item.$orig.type=='select'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color">{{item.$orig.content_list[item.$orig.value]}}</view></view></block><block tt:if="{{item.$orig.type=='checkbox'||item.$orig.type=='selects'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color">{{item.f0}}</view></view></block><block tt:if="{{item.$orig.type=='switch'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="content u-tips-color">{{item.$orig.value}}</view></view></block><block tt:if="{{item.$orig.type=='image'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="contents u-flex u-flex-wrap"><image src="{{item.$orig.value}}" mode="aspectFill" data-event-opts="{{[['tap',[['preview',['$0'],[[['fieldsList','',index,'value']]]]]]]}}" bindtap="__e"></image></view></view></block><block tt:if="{{item.$orig.type=='images'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="contents u-flex u-flex-wrap"><block tt:for="{{item.$orig.value}}" tt:for-item="res" tt:for-index="ids" tt:key="*this"><image src="{{res}}" mode="aspectFill" data-event-opts="{{[['tap',[['preview',['$0',ids],[[['fieldsList','',index,'value']]]]]]]}}" bindtap="__e"></image></block></view></view></block><block tt:if="{{item.$orig.type=='file'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="file u-flex u-flex-wrap"><view data-event-opts="{{[['tap',[['download',['$0','$1'],[[['fieldsList','',index,'value']],[['fieldsList','',index,'name']]]]]]]}}" class="opeate u-text-center" bindtap="__e"><view class="u-text-weight">{{item.f1}}</view><view>下载</view></view></view><block tt:if="{{downtips&&downame==item.$orig.name}}"><view class="u-m-t-30"><u-alert-tips vue-id="{{'87b64538-10-'+index}}" type="warning" title="下载成功,保存路径为:" close-able="{{true}}" show="{{downtips}}" description="{{description}}" data-event-opts="{{[['^close',[['e0']]]]}}" bind:close="__e" bind:__l="__l"></u-alert-tips></view></block></view></block><block tt:if="{{item.$orig.type=='files'}}"><view class="u-p-b-30"><view class="title u-text-weight">{{item.$orig.title+":"}}</view><view class="file u-flex u-flex-wrap"><block tt:for="{{item.l0}}" tt:for-item="file" tt:for-index="fk" tt:key="fk"><view data-event-opts="{{[['tap',[['download',['$0','$1'],[[['fieldsList','',index],['value','',fk]],[['fieldsList','',index,'name']]]]]]]}}" class="opeate u-text-center" bindtap="__e"><view class="u-text-weight">{{file.f2}}</view><view>下载</view></view></block></view><block tt:if="{{downtips&&downame==item.$orig.name}}"><view class="u-m-t-30"><u-alert-tips vue-id="{{'87b64538-11-'+index}}" type="warning" title="下载成功,保存路径为:" close-able="{{true}}" show="{{downtips}}" description="{{description}}" data-event-opts="{{[['^close',[['e1']]]]}}" bind:close="__e" bind:__l="__l"></u-alert-tips></view></block></view></block></block></block></view><u-gap vue-id="87b64538-12" height="120" bg-color="#fff" bind:__l="__l"></u-gap><block tt:if="{{diyform.isedit==1}}"><view class="u-p-30 footer u-border-top u-flex u-row-around"><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="u-flex u-row-center btn" style="{{'background-color:'+(theme.bgColor)+';'+('color:'+(theme.color)+';')}}" bindtap="__e"><u-icon vue-id="87b64538-13" name="edit-pen" bind:__l="__l"></u-icon><text class="u-m-l-10">编辑</text></view></view></block><fa-tabbar vue-id="87b64538-14" bind:__l="__l"></fa-tabbar></view>
|