index.wxml 4.8 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="bea98484-1" title="衣物录入" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="zhuti _div"><tm-sheet class="kuang" style="padding-bottom:70px !important;" vue-id="bea98484-2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{active==1}}"><image class="jindu" src="/static/img/49.png" mode="widthFix"></image></block><block wx:if="{{active==2}}"><image class="jindu" src="/static/img/50.png" mode="widthFix"></image></block><block wx:if="{{active==3}}"><image class="jindu" src="/static/img/51.png" mode="widthFix"></image></block><view class="wenzi flex-between flex-center" style="margin-top:10px;"><view><text class="text-white text-size-m">衣物拍照</text></view><view><text class="text-white text-size-m">确认衣物属性</text></view><view><text class="text-white text-size-m">入库成功</text></view></view><block wx:if="{{active==1}}"><view><view class="mt-20 ml-15"><text class="text-white text-size-m">*衣物拍照实例图</text></view><image class="zhanshi" block="{{true}}" mode="widthFix" src="/static/img/48.png"></image><tm-button class="mb-40" vue-id="{{('bea98484-3')+','+('bea98484-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['paizhao']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">拍照录入</tm-button></view></block><block wx:if="{{active==2}}"><view><block wx:if="{{alldata}}"><image class="nicheng" block="{{true}}" mode="widthFix" src="{{alldata.img}}"></image></block><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="{{('bea98484-4-'+index)+','+('bea98484-2')}}" default-value="{{item.m0}}" 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="{{('bea98484-5-'+index)+','+('bea98484-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',[]],[[['arrbig','',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="{{('bea98484-6-'+index)+','+('bea98484-2')}}" title="{{item.$orig.name}}" align="right" value="{{item.$orig.choosevalue}}" data-event-opts="{{[['^input',[['__set_model',['$0','choosevalue','$event',[]],[[['arrbig','',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="{{('bea98484-7-'+index)+','+('bea98484-2')}}" isShow="{{showPickerColor}}" bottom="{{bottomPickerColor}}" data-event-opts="{{[['^callback',[['getPickerColor']]]]}}" bind:callback="__e" bind:__l="__l"></picker-color></view></view></block></view></block></view><tm-button class="sao mb-40 mt-40" vue-id="{{('bea98484-8')+','+('bea98484-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['chuangjianFun']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</tm-button></view></block><block wx:if="{{active==3}}"><view><tm-translate class="vue-ref" vue-id="{{('bea98484-9')+','+('bea98484-2')}}" auto="{{true}}" animation-name="zoomIn" data-ref="a_1" bind:__l="__l" vue-slots="{{['default']}}"><image class="nicheng" block="{{true}}" mode="widthFix" src="/static/img/52.png"></image></tm-translate><view class="text-align-center mt-20"><text class="text-size-m text-white">衣物添加成功!</text></view><view class="text-align-center mb-40"><text class="text-size-m">您可以在我的衣柜中添加或删除衣物</text></view><view class="px-24"><tm-button class="mt-50 logincla" vue-id="{{('bea98484-10')+','+('bea98484-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['jixu']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">继续添加衣物</tm-button><tm-button class="mt-30 quindex" vue-id="{{('bea98484-11')+','+('bea98484-2')}}" theme="primary" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['quindex']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">进入衣柜</tm-button></view></view></block></tm-sheet></view><tm-message class="vue-ref" vue-id="bea98484-12" data-ref="toast" bind:__l="__l"></tm-message></view>