1 |
- <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="6c45e18b-1" title="衣物信息" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="C1b1b1b"><view style="width:90%;margin:0 auto;"><tm-tabs bind:input="__e" class="qiehuan1" vue-id="6c45e18b-2" align="left" list="{{list}}" range-key="title" value="{{activeIndex}}" data-event-opts="{{[['^input',[['__set_model',['','activeIndex','$event',[]]]]]]}}" bind:__l="__l"></tm-tabs></view><block wx:if="{{activeIndex==0&&alldata!=0}}"><image class="touxiang" src="{{alldata.detail.image}}" mode="widthFix"></image></block></view><block wx:if="{{activeIndex==0}}"><view class="zhuti _div" style="padding-bottom:60px !important;"><block wx:if="{{alldata!=0}}"><view class="text-align-center text-size-lg">{{alldata.detail.brand+alldata.detail.color+alldata.detail.goods_name}}</view></block><block wx:if="{{alldata!=0}}"><view class="text-align-center text-size-s mt-10 text-gray">{{alldata.detail.description}}</view></block><tm-sheet class="kuang" style="padding-bottom:30px !important;" vue-id="6c45e18b-3" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:98%;margin:0 auto;margin-top:20px !important;position:relative;"><view class="text-white text-align-center pt-20">衣物参数</view><view data-event-opts="{{[['tap',[['xiugaiFun']]]]}}" class="fr mr-20 xiugai" bindtap="__e"><image src="/static/img/64.png" mode="widthFix"></image><text>{{xianshi?'修改':'保存'}}</text></view><block wx:if="{{alldata!=0}}"><view class="you black mt-30"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view><block wx:if="{{item.$orig.type=='select'}}"><tm-pickers class="tan" vue-id="{{('6c45e18b-4-'+index)+','+('6c45e18b-3')}}" default-value="{{item.m0}}" disabled="{{xianshi}}" indexfu="{{item.$orig.name}}" list="{{item.$orig.value}}" data-event-opts="{{[['^confirm',[['xuanze']]]]}}" bind:confirm="__e" bind:__l="__l" vue-slots="{{['default']}}"><tm-input bind:input="__e" vue-id="{{('6c45e18b-5-'+index)+','+('6c45e18b-4-'+index)}}" title="{{item.$orig.name}}" align="right" placeholder="{{'请选择'+item.$orig.name}}" disabled="{{true}}" right-icon="icon-angle-right" value="{{item.$orig.choosevalue}}" data-event-opts="{{[['^input',[['__set_model',['$0','choosevalue','$event',[]],[[['alldata.detail.parameter','',index]]]]]]]}}" bind:__l="__l"></tm-input></tm-pickers></block><block wx:if="{{item.$orig.type=='text'&&item.$orig.name!='颜色'}}"><tm-input bind:input="__e" vue-id="{{('6c45e18b-6-'+index)+','+('6c45e18b-3')}}" disabled="{{xianshi}}" title="{{item.$orig.name}}" align="right" value="{{item.$orig.choosevalue}}" data-event-opts="{{[['^input',[['__set_model',['$0','choosevalue','$event',[]],[[['alldata.detail.parameter','',index]]]]]]]}}" bind:__l="__l"></tm-input></block><block wx:if="{{item.$orig.name=='颜色'}}"><view class="border-b-0 border-grey-darken-4-b-1 py-24 flex-between"><text class="text-size-n ">{{item.$orig.name}}</text><view><view data-event-opts="{{[['tap',[['showPickerColorPop',['$event']]]]]}}" class="seka" style="{{'background-color:'+(item.$orig.choosevalue)+';'}}" bindtap="__e"></view><picker-color vue-id="{{('6c45e18b-7-'+index)+','+('6c45e18b-3')}}" isShow="{{showPickerColor}}" bottom="{{bottomPickerColor}}" data-event-opts="{{[['^callback',[['getPickerColor']]]]}}" bind:callback="__e" bind:__l="__l"></picker-color></view></view></block></view></block></view></block></view></tm-sheet><block wx:if="{{alldata!=0&&alldata.data.length!=0}}"><tm-sheet class="kuang" vue-id="6c45e18b-8" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:98%;margin:0 auto;margin-top:20px !important;"><view class="text-white text-align-center pt-20">类似衣物</view><block wx:for="{{alldata.data}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['yifu',['$0'],[[['alldata.data','',__i0__,'id']]]]]]]}}" class="yiguicla black pa-6 ma-4 fl mb-20" bindtap="__e"><image src="{{item.image}}" mode="widthFix"></image><view class="text-align-center text-size-m mt-8">{{item.brand+item.color}}</view><view class="text-align-center text-size-m mt-6 mb-6">{{item.goods_name}}</view></view></block><view style="clear:both;"></view></view></tm-sheet></block><block wx:if="{{alldata!=0&&alldata.detail.is_have!=0}}"><tm-button class="sao mb-40" vue-id="6c45e18b-9" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['chuku']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">出库</tm-button></block></view></block><block wx:if="{{activeIndex==1}}"><tm-sheet class="yichu" style="margin-bottom:40px !important;" vue-id="6c45e18b-10" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{quanbuList1}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['yuyue',['$0'],[[['quanbuList1','',index,'id']]]]]]]}}" class="yiguicla1 black pa-6 ma-4 fl" bindtap="__e"><image src="{{item.image}}" mode="widthFix"></image><view class="text-size-m mt-20 mb-20 ml-10">{{item.title}}</view></view></block><block wx:if="{{quanbuList1.length==0}}"><tm-empty vue-id="{{('6c45e18b-11')+','+('6c45e18b-10')}}" label="暂无数据" color="white" icon="icon-paperplane-fill" bind:__l="__l"></tm-empty></block><view style="clear:both;"></view></tm-sheet></block><tm-poup bind:input="__e" class="tcc" vue-id="6c45e18b-12" position="{{pos}}" value="{{show_1}}" data-event-opts="{{[['^input',[['__set_model',['','show_1','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{chukudata.length!=0}}"><view style="position:relative !important;"><image class="close" src="/static/img/close.png" mode="widthFix" data-event-opts="{{[['tap',[['quxiao']]]]}}" bindtap="__e"></image><view style="clear:both;"></view><tm-swiper class="lunbohhh" vue-id="{{('6c45e18b-13')+','+('6c45e18b-12')}}" current="{{0}}" indicator-dots="{{false}}" round="{{6}}" ani3d="{{190}}" autoplay="{{false}}" list="{{list1}}" bind:__l="__l"></tm-swiper><view class="text-white text-align-center mt-15">{{chukudata[0].brand+chukudata[0].color+chukudata[0].goods_name}}</view><view class="text-white text-align-center mt-10 text-size-s">{{chukudata[0].description}}</view><image class="guayi" src="{{chukudata[0].ygimage}}" mode="widthFix"></image><view class="text-white text-align-center mt-15">{{"衣物位于 "+chukudata[0].ygposition+" "+chukudata[0].is_have+"号衣柜"}}</view><view class="text-white text-align-center mt-15"><image class="aniOn deng" src="/static/img/101.png" mode="widthFix"></image><text style="vertical-align:middle;">指示灯已亮,请取出衣柜</text></view><view class="daojishi"><text>倒计时:</text><tm-countdown scoped-slots-compiler="augmented" class="vue-ref" vue-id="{{('6c45e18b-14')+','+('6c45e18b-12')}}" format="HH时MM分数SS秒哈" time="{{2*60*60*1000}}" data-ref="testCountdown" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center" wx:if="{{$root.m1}}"><block wx:for="{{$root.m2.data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="{{['pa-10','primary','','mr-10','round-2',$root.g1.tmVuetify.black?'bk':'']}}">{{''+item+''}}</view></block></view></tm-countdown><text>结束后若衣服仍未取出,出库将自动取消</text></view><view class="anniu"><tm-button vue-id="{{('6c45e18b-15')+','+('6c45e18b-12')}}" theme="primary" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['quxchuFun']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消出库</tm-button></view></view></block></tm-poup><tm-message class="vue-ref" vue-id="6c45e18b-16" data-ref="toast" bind:__l="__l"></tm-message></view>
|