1 |
- <view class="data-v-1dac5edc"><tn-nav-bar vue-id="d04004ac-1" fixed="{{true}}" customBack="{{true}}" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['back','default']}}"><view class="tn-custom-nav-bar__back data-v-1dac5edc" slot="back" data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" bindtap="__e"><text class="icon tn-icon-left data-v-1dac5edc"></text></view><view class="data-v-1dac5edc"><text style="{{'font-size:'+(wxFontSize+'px')+';'}}" class="data-v-1dac5edc">我的供应</text></view></tn-nav-bar><view style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}" class="data-v-1dac5edc"><uv-sticky vue-id="d04004ac-2" offsetTop="{{vuex_custom_bar_height+'px'}}" bgColor="#ffffff" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['default']}}"><tn-tabs-swiper style="border-bottom:1rpx solid #f1f1f1cc;" vue-id="{{('d04004ac-3')+','+('d04004ac-2')}}" list="{{list}}" isScroll="{{false}}" current="{{current}}" name="tab-name" fontSize="{{wxFontSize+12}}" barWidth="{{wxFontSize+50}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-1dac5edc" bind:__l="__l"></tn-tabs-swiper></uv-sticky><view class="tn-flex tn-flex-direction-column tn-margin-top-sm tn-margin-bottom data-v-1dac5edc"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-1dac5edc"><view class="blogger__item data-v-1dac5edc"><view class="blogger__author tn-flex tn-flex-row-between tn-flex-col-center data-v-1dac5edc"><view data-event-opts="{{[['tap',[['tn',['']]]]]}}" class="justify__author__info data-v-1dac5edc" bindtap="__e"><view class="tn-flex tn-flex-row-center data-v-1dac5edc"><view class="tn-flex tn-flex-row-center tn-flex-col-center data-v-1dac5edc"><view class="tn-padding-right data-v-1dac5edc"><view class="tn-padding-right tn-text-bold tn-text-lg data-v-1dac5edc" style="{{'font-size:'+(wxFontSize+'px')+';'}}">{{''+(item.$orig.company||item.$orig.contactNickName||item.$orig.contactPerson)+''}}</view></view></view></view></view><block wx:if="{{item.$orig.status=='1'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text style="{{'background:#3F51B542;font-size:12px;word-break:keep-all;padding:8px;color:#333333;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" class="data-v-1dac5edc">暂存</text></view></block><block wx:if="{{item.$orig.status=='3'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text style="{{'background:#3f51b56b;font-size:12px;word-break:keep-all;padding:8px;color:#ff0;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" class="data-v-1dac5edc">审核中</text></view></block><block wx:if="{{item.$orig.status=='4'&&item.$orig.showFlag!='否'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text style="{{'background:#3F51B542;font-size:12px;word-break:keep-all;padding:8px;color:#007000;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" class="data-v-1dac5edc">已通过</text></view></block><block wx:if="{{item.$orig.status=='9'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text data-event-opts="{{[['tap',[['showTips',['$0'],[[['content','',index]]]]]]]}}" style="{{'background:#3F51B542;font-size:12px;word-break:keep-all;padding:8px;color:#d23920;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" bindtap="__e" class="data-v-1dac5edc">已拒绝</text></view></block><block wx:if="{{item.$orig.status=='10'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text style="{{'background:#3F51B542;font-size:12px;word-break:keep-all;padding:8px;color:#333333;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" class="data-v-1dac5edc">已取消</text></view></block><block wx:if="{{item.$orig.status=='4'&&item.$orig.showFlag=='否'}}"><view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center data-v-1dac5edc"><text style="{{'background:#3F51B542;font-size:12px;word-break:keep-all;padding:8px;color:#333333;border-radius:24px;'+('font-size:'+(wxFontSize-6+'px')+';')}}" class="data-v-1dac5edc">已下架</text></view></block></view><view data-event-opts="{{[['tap',[['tn',['']]]]]}}" class="blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left data-v-1dac5edc" bindtap="__e"><block wx:if="{{item.$orig.brand}}"><tn-tag vue-id="{{'d04004ac-4-'+index}}" margin="-4px 4px 0 0" backgroundColor="#3a96d733" fontColor="#3a96d7" shape="circle" fontSize="{{wxFontSize+11}}" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.brand}}</tn-tag></block><block wx:if="{{!item.$orig.company}}"><tn-tag vue-id="{{'d04004ac-5-'+index}}" margin="-4px 4px 0 0" backgroundColor="#3a96d733" fontColor="#3a96d7" shape="circle" fontSize="{{wxFontSize+11}}" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['default']}}">个人</tn-tag></block><block wx:if="{{item.$orig.content}}"><text class="blogger__desc__content tn-flex-1 tn-text-justify tn-text-df data-v-1dac5edc" style="{{'font-size:'+(wxFontSize-2+'px')+';'}}">{{item.$orig.content}}</text></block></view><block wx:if="{{item.g0}}"><view class="blogger__content data-v-1dac5edc" id="{{'blogger__content--'+index}}"><basic-table vue-id="{{'d04004ac-6-'+index}}" header-row-class-name="basic-table-header" columns="{{columns}}" border="{{true}}" fontSize="{{wxFontSize-3}}" stripe="{{true}}" data="{{item.$orig.shareExt}}" class="data-v-1dac5edc" bind:__l="__l"></basic-table></view></block><block wx:if="{{item.$orig.imgList}}"><block class="data-v-1dac5edc"><block wx:if="{{item.g1!=-1}}"><view data-event-opts="{{[['tap',[['tn',['']]]]]}}" class="tn-padding-top-xs data-v-1dac5edc" bindtap="__e"><block wx:for="{{item.l0}}" wx:for-item="image_item" wx:for-index="image_index" wx:key="image_index"><image class="{{['blogger__main-image','data-v-1dac5edc',(image_item.g2===1)?'blogger__main-image--1 tn-margin-bottom-sm':'',(image_item.g3)?'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm':'']}}" src="{{image_item.$orig.ftpUrl}}" mode="aspectFill" data-event-opts="{{[['tap',[['showImg',['$0',image_index],[[['content','',index,'imgList']]]]]]]}}" bindtap="__e"></image></block></view></block><block wx:else><view class="tn-padding-top-xs data-v-1dac5edc"><tn-grid vue-id="{{'d04004ac-7-'+index}}" hoverClass="none" col="{{3}}" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.imgList}}" wx:for-item="image_item" wx:for-index="image_index" wx:key="image_index"><block class="data-v-1dac5edc"><tn-grid-item style="width:30%;margin:10rpx;" vue-id="{{('d04004ac-8-'+index+'-'+image_index)+','+('d04004ac-7-'+index)}}" class="data-v-1dac5edc" bind:__l="__l" vue-slots="{{['default']}}"><image class="blogger__main-image blogger__main-image--3 data-v-1dac5edc" src="{{image_item.ftpUrl}}" mode="aspectFill" data-event-opts="{{[['tap',[['showImg',['$0',image_index],[[['content','',index,'imgList']]]]]]]}}" bindtap="__e"></image></tn-grid-item></block></block></tn-grid></view></block></block></block><block wx:for="{{item.l1}}" wx:for-item="file" wx:for-index="__i0__" wx:key="id"><block wx:if="{{!file.m0}}"><view class="data-v-1dac5edc"><view class="data-v-1dac5edc"><text class="tn-icon-link data-v-1dac5edc" style="{{'font-size:'+(wxFontSize-4+'px')+';'}}"></text><view data-event-opts="{{[['tap',[['clickLink',['$0','$1'],[[['content','',index],['fileDetailList','id',file.$orig.id,'ftpUrl']],[['content','',index],['fileDetailList','id',file.$orig.id,'fileName']]]]]]]}}" style="{{'display:inline;margin-left:8px;'+('font-size:'+(wxFontSize-3+'px')+';')}}" bindtap="__e" class="data-v-1dac5edc">{{''+file.$orig.fileName}}</view></view></view></block></block><view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs data-v-1dac5edc"><view class="justify-content-item tn-color-gray tn-text-center data-v-1dac5edc"><view class="tn-padding-right tn-padding-top-xs tn-color-gray data-v-1dac5edc" style="display:flex;"><view style="{{'white-space:nowrap;'+('font-size:'+(wxFontSize-3+'px')+';')}}" class="data-v-1dac5edc">{{item.f0}}</view><block wx:if="{{item.$orig.status==9&&item.$orig.feedback}}"><view style="{{'color:red;margin-left:8px;'+('font-size:'+(wxFontSize-3+'px')+';')}}" class="data-v-1dac5edc">{{'反馈意见:'+(item.$orig.feedback||'--')+''}}</view></block></view></view><view class="justify-content-item tn-flex tn-flex-col-center data-v-1dac5edc"><block wx:if="{{item.$orig.status==4&&item.$orig.showFlag!='否'}}"><view class="justify-content-item tn-flex tn-flex-col-center data-v-1dac5edc"><button style="{{'font-size:'+(wxFontSize-4+'px')+';'}}" type="warn" plain="true" size="mini" data-event-opts="{{[['tap',[['finishItem',['$0'],[[['content','',index]]]]]]]}}" bindtap="__e" class="data-v-1dac5edc">下架供应</button></view></block><block wx:if="{{item.$orig.status==1||item.$orig.status==9||item.$orig.status==4&&item.$orig.showFlag=='否'}}"><view class="justify-content-item tn-flex tn-flex-col-center data-v-1dac5edc" style="flex:none;"><button style="{{'font-size:'+(wxFontSize-4+'px')+';'}}" type="warn" plain="true" size="mini" data-event-opts="{{[['tap',[['editItem',['$0'],[[['content','',index]]]]]]]}}" bindtap="__e" class="data-v-1dac5edc">编辑</button><block wx:if="{{item.$orig.status==4&&item.$orig.showFlag=='否'}}"><button style="{{'border-color:#007000;color:#007000;margin-left:12px;'+('font-size:'+(wxFontSize-4+'px')+';')}}" type="warn" plain="true" size="mini" data-event-opts="{{[['tap',[['reOpen',['$0'],[[['content','',index]]]]]]]}}" bindtap="__e" class="data-v-1dac5edc">恢复</button></block></view></block></view></view></view><block wx:if="{{index!=$root.g4-1}}"><view class="tn-strip-bottom data-v-1dac5edc"></view></block></block></block></view></view><tn-modal vue-id="d04004ac-9" title="{{titleModel}}" content="{{contentModel}}" button="{{buttonModel}}" value="{{showModel}}" data-event-opts="{{[['^click',[['clickModel']]],['^input',[['__set_model',['','showModel','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-1dac5edc" bind:__l="__l"></tn-modal><view class="tn-tabbar-height data-v-1dac5edc"></view><block wx:if="{{showEmpty}}"><view style="margin-top:32vh;" class="data-v-1dac5edc"><tn-empty vue-id="d04004ac-10" mode="data" class="data-v-1dac5edc" bind:__l="__l"></tn-empty></view></block></view>
|