1 |
- <app-layout vue-id="20b81bc0-1" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><view class="f-favorite data-v-7ced2606"><view class="{{['u-mask','data-v-7ced2606',show?'u-mask-show':'u-mask-no']}}" catchtouchmove="true" data-event-opts="{{[['tap',[['closeMask',['$event']]]]]}}" bindtap="__e"></view><view class="f-tabs data-v-7ced2606"><scroll-view class="u-scroll-view data-v-7ced2606" scroll-x="{{true}}" scroll-left="{{0}}" scroll-with-animation="{{true}}"><view class="u-tabs-scroll-box data-v-7ced2606"><block wx:for="{{getTabs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['emit',[index]]]]]}}" class="u-tabs-item data-v-7ced2606" style="{{'font-weight:'+(index==getCurrent?'bold':'normal')+';'+('color:'+(index==getCurrent?getTheme.color:'')+';')}}" bindtap="__e">{{''+item['name']+''}}</view></block><view class="u-scroll-bar data-v-7ced2606" style="{{'transform:'+('translateX('+left+'rpx)')+';'+('background-color:'+(getTheme.background)+';')}}"></view></view></scroll-view></view><view class="f-set data-v-7ced2606" catchtouchmove="true"><view class="f-status dir-left-nowrap cross-center data-v-7ced2606" style="{{'transform:'+('translateY('+statusTop+'rpx)')+';'}}"><view data-event-opts="{{[['tap',[['setDef',['left']]]]]}}" class="{{['f-item','dir-left-nowrap','cross-center','main-between','data-v-7ced2606',rotate.left===180?'f-set':'f-def-set']}}" style="{{'color:'+(rotate.left===180?getTheme.color:'')+';'}}" bindtap="__e"><view class="data-v-7ced2606"><text class="t-omit data-v-7ced2606">{{$root.f0}}</text></view><view class="bd-image data-v-7ced2606" style="{{'transform:'+('rotate('+rotate.left+'deg)')+';'+('background-color:'+(rotate.left===180?getTheme.background:'#353535')+';')}}"></view></view><view data-event-opts="{{[['tap',[['setDef',['right']]]]]}}" class="{{['f-item','dir-left-nowrap','cross-center','main-between','data-v-7ced2606',rotate.right===180?'f-set':'f-def-set']}}" style="{{'color:'+(rotate.right===180?getTheme.color:'')+';'}}" bindtap="__e"><view class="data-v-7ced2606"><text class="t-omit data-v-7ced2606">{{$root.f1}}</text></view><view class="bd-image data-v-7ced2606" style="{{'transform:'+('rotate('+rotate.right+'deg)')+';'+('background-color:'+(rotate.right===180?getTheme.background:'#353535')+';')}}"></view></view><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="f-good-btn data-v-7ced2606" bindtap="__e">{{''+(touch?'完成':'管理')+''}}</view><view data-event-opts="{{[['tap',[['setListStyle']]]]}}" class="f-good-icon data-v-7ced2606" bindtap="__e"><image src="{{listStyle?'/static/image/icon/favorite/square.png':'/static/image/icon/favorite/row.png'}}" class="data-v-7ced2606"></image></view></view><view class="f-select data-v-7ced2606" style="{{'transform:'+('translateY('+typeY+'rpx)')+';'}}"><scroll-view scroll-y="{{true}}" class="data-v-7ced2606"><view class="dir-left-wrap f-type data-v-7ced2606"><block wx:for="{{statusList}}" wx:for-item="it" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['setStatus',['$0'],[[['statusList','id',it.id,'id']]]]]]]}}" class="{{['f-type-item','data-v-7ced2606',selectStatus==it.id?'':'f-type-def']}}" style="{{'color:'+(selectStatus==it.id?getTheme.color:'')+';'}}" bindtap="__e">{{it.name}}</view></block></view></scroll-view><view class="f-button dir-left-nowrap data-v-7ced2606"><button data-event-opts="{{[['tap',[['sureStatus',[0]]]]]}}" class="box-grow-1 data-v-7ced2606" bindtap="__e">重置</button><button data-event-opts="{{[['tap',[['sureStatus',[1]]]]]}}" class="box-grow-1 data-v-7ced2606" style="{{'background-color:'+(getTheme.background)+';'}}" bindtap="__e">确定</button></view></view></view><block wx:if="{{is_goods}}"><view class="{{['f-good','data-v-7ced2606',getCurrent===0?'f-good-show':'f-good-hidden']}}"><block wx:if="{{listStyle}}"><block class="data-v-7ced2606"><app-share-qr-code bind:input="__e" vue-id="{{('20b81bc0-2')+','+('20b81bc0-1')}}" url="{{shareItem.newShareUrl}}" goods="{{shareItem.goods}}" poster-config="{{shareItem.posterConfig}}" poster-generate="{{shareItem.posterGenerate}}" has-poster-nav="{{shareItem.hasPosterNav}}" value="{{shareShow}}" data-event-opts="{{[['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" class="data-v-7ced2606" bind:__l="__l"></app-share-qr-code><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="dir-left-nowrap data-v-7ced2606"><block wx:if="{{touch}}"><view data-event-opts="{{[['tap',[['setTouch',[index]]]]]}}" class="f-radio box-grow-0 dir-top-nowrap main-center cross-center data-v-7ced2606" style="background-color:#ffffff;" bindtap="__e"><block wx:if="{{!item.touch}}"><view class="f-radio-no data-v-7ced2606"></view></block><block wx:if="{{item.touch}}"><view class="f-radio-yes data-v-7ced2606"></view></block></view></block><good-action style="width:750rpx;" vue-id="{{('20b81bc0-3-'+index)+','+('20b81bc0-1')}}" index="{{index}}" theme="{{getTheme}}" disabled="{{touch}}" show="{{item.show}}" data-event-opts="{{[['^del',[['del']]],['^open',[['openAction']]],['^share',[['share']]]]}}" bind:del="__e" bind:open="__e" bind:share="__e" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['routeUrl',['$0'],[[['list','',index]]]]]]]}}" class="f-item u-border-bottom dir-left-nowrap data-v-7ced2606" bindtap="__e"><image class="f-img data-v-7ced2606" src="{{item.cover_pic}}"></image><view class="f-content dir-top-wrap main-between data-v-7ced2606"><text class="t-omit-two f-title data-v-7ced2606">{{item.name}}</text><view class="data-v-7ced2606"><block wx:if="{{item.status_type===3}}"><view class="f-invalid dir-left-nowrap cross-center main-between data-v-7ced2606"><image src="/static/image/icon/invalid.png" class="data-v-7ced2606"></image><text class="data-v-7ced2606">失效</text></view></block><block wx:if="{{item.status_type===2}}"><view class="f-low-stock dir-left-nowrap cross-center main-between data-v-7ced2606"><image src="/static/image/icon/low_stock.png" class="data-v-7ced2606"></image><text class="data-v-7ced2606">低库存</text></view></block><block wx:if="{{item.status_type===1}}"><view class="f-low-price dir-left-nowrap data-v-7ced2606"><view class="dir-left-nowrap main-between cross-center data-v-7ced2606"><image src="/static/image/icon/low_price.png" class="data-v-7ced2606"></image>{{'比收藏时降价'+item.low_price+'元'}}</view></view></block><block wx:if="{{item.status_type!==3}}"><view class="dir-left-nowrap main-between data-v-7ced2606"><block wx:if="{{item.is_negotiable==1}}"><view style="{{'color:'+(getTheme.color)+';'+('margin-bottom:'+('8rpx')+';')}}" class="data-v-7ced2606">价格面议</view></block><block wx:else><view class="dir-top-wrap main-between data-v-7ced2606"><text class="f-price data-v-7ced2606" style="{{'color:'+(getTheme.color)+';'}}">{{item.price_content}}</text><text class="f-scale data-v-7ced2606">{{item.sales}}</text></view></block></view></block></view></view></view></good-action></view></block><block wx:if="{{touch}}"><view class="f-delete-box data-v-7ced2606"></view></block><view class="{{['f-delete','dir-left-nowrap','main-between','cross-center','data-v-7ced2606',touch?'f-delete-show':'f-delete-hidden']}}"><view data-event-opts="{{[['tap',[['setTouchA',['$0'],['allTouch']]]]]}}" class="dir-left-nowrap data-v-7ced2606" bindtap="__e"><view class="f-radio data-v-7ced2606"><block wx:if="{{!allTouch}}"><view class="f-kon data-v-7ced2606"></view></block><block wx:if="{{allTouch}}"><view class="f-touch data-v-7ced2606"></view></block></view><text class="data-v-7ced2606">全选</text></view><button data-event-opts="{{[['tap',[['remove',['$event']]]]]}}" class="{{['data-v-7ced2606',touchNumber>0?'f-button-t ':'f-button-m']}}" bindtap="__e">删除</button></view></block></block><block wx:else><block class="data-v-7ced2606"><view class="f-list dir-left-wrap data-v-7ced2606"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['touchmove',[['handletouchmove',['$event']]]],['touchstart',[['handletouchstart',['$event']]]],['touchend',[['handletouchend',['$0',index],[[['list','',index]]]]]]]}}" class="f-list-item data-v-7ced2606" bindtouchmove="__e" bindtouchstart="__e" bindtouchend="__e"><view class="f-img data-v-7ced2606"><image src="{{item.cover_pic}}" class="data-v-7ced2606"></image><block wx:if="{{item.status_type===3}}"><view class="f-invalid f-icon dir-left-nowrap cross-center main-between data-v-7ced2606"></view></block><block wx:if="{{item.status_type===1}}"><view class="f-low-price f-icon dir-left-nowrap cross-center main-between data-v-7ced2606"></view></block><block wx:if="{{item.status_type===2}}"><view class="f-low-stock f-icon dir-left-nowrap cross-center main-between data-v-7ced2606"></view></block><view class="f-radio data-v-7ced2606"><block wx:if="{{touch&&!item.touch}}"><view class="f-kon data-v-7ced2606"></view></block><block wx:if="{{item.touch}}"><view class="f-touch data-v-7ced2606"></view></block></view></view><view class="f-text dir-top-nowrap main-between data-v-7ced2606"><text class="t-omit-two data-v-7ced2606">{{item.name}}</text><block wx:if="{{item.is_negotiable==1}}"><view style="{{'color:'+(getTheme.color)+';'+('margin-bottom:'+('8rpx')+';')}}" class="data-v-7ced2606">价格面议</view></block><block wx:else><view class="dir-left-nowrap main-between data-v-7ced2606"><text class="f-price data-v-7ced2606" style="{{'color:'+(getTheme.color)+';'}}">{{item.price_content}}</text><text class="f-sales data-v-7ced2606">{{item.sales}}</text></view></block></view></view></block></view><block wx:if="{{touch}}"><view class="f-delete-box data-v-7ced2606"></view></block><view class="{{['f-delete','dir-left-nowrap','main-between','cross-center','data-v-7ced2606',touch?'f-delete-show':'f-delete-hidden']}}"><view data-event-opts="{{[['tap',[['setTouchA',['$0'],['allTouch']]]]]}}" class="dir-left-nowrap data-v-7ced2606" bindtap="__e"><view class="f-radio data-v-7ced2606"><block wx:if="{{!allTouch}}"><view class="f-kon data-v-7ced2606"></view></block><block wx:if="{{allTouch}}"><view class="f-touch data-v-7ced2606"></view></block></view><text class="data-v-7ced2606">全选</text></view><button data-event-opts="{{[['tap',[['remove',['$event']]]]]}}" class="{{['data-v-7ced2606',touchNumber>0?'f-button-t ':'f-button-m']}}" bindtap="__e">删除</button></view></block></block><block wx:if="{{list.length===0}}"><app-no-goods vue-id="{{('20b81bc0-4')+','+('20b81bc0-1')}}" background="#f7f7f7" class="data-v-7ced2606" bind:__l="__l"></app-no-goods></block></view></block><block wx:if="{{!is_goods}}"><view class="{{['f-topic','data-v-7ced2606',getCurrent===1?'f-good-show':'f-good-hidden']}}"><block wx:for="{{topicList}}" wx:for-item="child" wx:for-index="sub" wx:key="sub"><block class="data-v-7ced2606"><view style="margin-top:10rpx;" class="data-v-7ced2606"><good-action style="width:750rpx;" vue-id="{{('20b81bc0-5-'+sub)+','+('20b81bc0-1')}}" index="{{sub}}" bgColor="#f7f7f7" theme="{{getTheme}}" show="{{child.show}}" data-event-opts="{{[['^del',[['del']]],['^open',[['openAction']]],['^share',[['share']]]]}}" bind:del="__e" bind:open="__e" bind:share="__e" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{child.layout==0}}"><app-jump-button vue-id="{{('20b81bc0-6-'+sub)+','+('20b81bc0-5-'+sub)}}" form="{{true}}" url="{{'../topic/topic?id='+child.id}}" open_type="navigate" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-small-frame main-between data-v-7ced2606"><view class="app-content-text dir-top-nowrap main-between data-v-7ced2606"><text class="app-text t-omit-two data-v-7ced2606">{{child.title}}</text><text class="app-text-read t-omit-two data-v-7ced2606">{{child.abstract}}</text><text class="app-text-read data-v-7ced2606">{{child.read_count}}</text></view><image class="app-image data-v-7ced2606" lazy-load="{{true}}" mode="scaleToFill" src="{{child.cover_pic}}"></image></view></app-jump-button></block><block wx:if="{{child.layout==1}}"><app-jump-button vue-id="{{('20b81bc0-7-'+sub)+','+('20b81bc0-5-'+sub)}}" form="{{true}}" url="{{'../topic/topic?id='+child.id}}" open_type="navigate" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-big-frame dir-top-nowrap data-v-7ced2606"><text class="app-text t-omit-two data-v-7ced2606">{{child.title}}</text><text class="app-text-read t-omit-two data-v-7ced2606">{{child.abstract}}</text><image class="app-image data-v-7ced2606" lazy-load="{{true}}" mode="scaleToFill" src="{{child.cover_pic}}"></image><text class="app-text-read data-v-7ced2606">{{child.read_count}}</text></view></app-jump-button></block><block wx:if="{{child.layout==2}}"><app-jump-button vue-id="{{('20b81bc0-8-'+sub)+','+('20b81bc0-5-'+sub)}}" form="{{true}}" url="{{'../topic/topic?id='+child.id}}" open_type="navigate" class="data-v-7ced2606" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-more-frame dir-top-nowrap data-v-7ced2606"><text class="app-text t-omit-two data-v-7ced2606">{{child.title}}</text><text class="app-text-read t-omit-two data-v-7ced2606">{{child.abstract}}</text><view class="dir-left-nowrap data-v-7ced2606"><block wx:for="{{child.pic_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-7ced2606"><image class="app-image box-grow-1 data-v-7ced2606" lazy-load="{{true}}" mode="scaleToFill" src="{{item.url}}"></image></block></block></view><text class="app-text-read data-v-7ced2606">{{child.read_count}}</text></view></app-jump-button></block></good-action></view></block></block><app-share-qr-code bind:input="__e" vue-id="{{('20b81bc0-9')+','+('20b81bc0-1')}}" url="{{shareItem.url}}" value="{{topicShow}}" data-event-opts="{{[['^input',[['__set_model',['','topicShow','$event',[]]]]]]}}" class="data-v-7ced2606" bind:__l="__l"></app-share-qr-code></view></block></view></app-layout>
|