index.wxml 7.4 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="3a37d63e-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="3a37d63e-2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{active==1||active==2}}"><image class="jindu" src="/static/img/49.png" mode="widthFix"></image></block><block wx:if="{{active==3}}"><image class="jindu" src="/static/img/50.png" mode="widthFix"></image></block><block wx:if="{{active==4}}"><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="sao mb-40" vue-id="{{('3a37d63e-3')+','+('3a37d63e-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['saoma']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">扫二维码</tm-button></view></block><block wx:if="{{active==2}}"><view><tm-translate class="vue-ref" vue-id="{{('3a37d63e-4')+','+('3a37d63e-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 mb-40"><text class="text-size-m">衣柜和手机关联成功</text></view><view class="black shuru pa-30"><tm-form vue-id="{{('3a37d63e-5')+','+('3a37d63e-2')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="text-size-m">请输入家庭名称</view><tm-input bind:input="__e" vue-id="{{('3a37d63e-6')+','+('3a37d63e-5')}}" name="title" clear="{{true}}" placeholder="相亲相爱一家人" value="{{reqData.familyname}}" data-event-opts="{{[['^input',[['__set_model',['$0','familyname','$event',[]],['reqData']]]]]}}" bind:__l="__l"></tm-input></tm-form></view><tm-button class="sao mb-40 mt-40" vue-id="{{('3a37d63e-7')+','+('3a37d63e-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><view><view class="fl zuo" style="width:70px;"><block wx:for="{{reqData.role}}" wx:for-item="item" wx:for-index="index"><view class="flex-center flex-col" style="position:relative;width:70px;height:70px;"><block wx:if="{{index==0}}"><image block="{{true}}" mode="widthFix" src="/static/img/53.png" data-event-opts="{{[['tap',[['qiehuanren',[index]]]]]}}" bindtap="__e"></image></block><block wx:else><image block="{{true}}" mode="widthFix" src="/static/img/61.png" data-event-opts="{{[['tap',[['qiehuanren',[index]]]]]}}" bindtap="__e"></image></block><block wx:if="{{show==index&&index!=0}}"><image class="error" src="/static/icon/error.png" data-event-opts="{{[['tap',[['shanchu',['$0'],[[['reqData.role','',index,'timestamp']]]]]]]}}" bindtap="__e"></image></block></view></block><block wx:if="{{reqData.role.length<4}}"><view class="flex-center flex-col" style="position:relative;margin-top:40px;"><image block="{{true}}" mode="widthFix" src="/static/img/54.png" data-event-opts="{{[['tap',[['add']]]]}}" bindtap="__e"></image></view></block></view><block wx:for="{{$root.l0}}" wx:for-item="item1" wx:for-index="index1"><block wx:if="{{show==index1}}"><view class="fr you black mt-30" style="width:calc(100% - 100px);"><tm-input bind:input="__e" vue-id="{{('3a37d63e-8-'+index1)+','+('3a37d63e-2')}}" required="{{true}}" title="用户名" placeholder="你想叫自己什么" align="right" value="{{item1.$orig.username}}" data-event-opts="{{[['^input',[['__set_model',['$0','username','$event',[]],[[['reqData.role','',index1]]]]]]]}}" bind:__l="__l"></tm-input><tm-input bind:input="__e" vue-id="{{('3a37d63e-9-'+index1)+','+('3a37d63e-2')}}" required="{{true}}" title="身高(cm)" align="right" value="{{item1.$orig.height}}" data-event-opts="{{[['^input',[['__set_model',['$0','height','$event',[]],[[['reqData.role','',index1]]]]]]]}}" bind:__l="__l"></tm-input><tm-input bind:input="__e" vue-id="{{('3a37d63e-10-'+index1)+','+('3a37d63e-2')}}" required="{{true}}" title="体重(kg)" align="right" value="{{item1.$orig.weight}}" data-event-opts="{{[['^input',[['__set_model',['$0','weight','$event',[]],[[['reqData.role','',index1]]]]]]]}}" bind:__l="__l"></tm-input><tm-pickers class="tan" vue-id="{{('3a37d63e-11-'+index1)+','+('3a37d63e-2')}}" default-value="{{item1.$orig.body_arr}}" rang-key="title" list="{{chelianglis}}" data-event-opts="{{[['^updateDefaultValue',[['__set_sync',['$0','body_arr','$event'],[[['reqData.role','',index1,'']]]]]],['^updateDefaultValue',[['__set_sync',['$0','body_arr','$event'],[[['reqData.role','',index1,'']]]]]]]}}" bind:updateDefaultValue="__e" bind:__l="__l" vue-slots="{{['default']}}"><tm-input vue-id="{{('3a37d63e-12-'+index1)+','+('3a37d63e-11-'+index1)}}" name="shencai" title="身材" placeholder="请选择身材" disabled="{{true}}" value="{{item1.m0}}" right-icon="icon-angle-right" bind:__l="__l"></tm-input></tm-pickers></view></block></block></view><view style="clear:both;"></view><tm-button class="sao mb-40" style="margin-top:50px;" vue-id="{{('3a37d63e-13')+','+('3a37d63e-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['tijiao']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">下一步</tm-button></view></block><block wx:if="{{active==4}}"><view><tm-translate class="vue-ref" vue-id="{{('3a37d63e-14')+','+('3a37d63e-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="{{('3a37d63e-15')+','+('3a37d63e-2')}}" theme="primary" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['quyifu']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">添加衣服</tm-button><tm-button class="mt-30 quindex" vue-id="{{('3a37d63e-16')+','+('3a37d63e-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><tm-dialog vue-id="3a37d63e-17" inputVala="{{inputVala}}" confirmText="确定" showCancel="{{false}}" model="confirm" content="请确认条码内容是否正确" theme="split" value="{{show3}}" data-event-opts="{{[['^confirm',[['querentm']]],['^input',[['__set_model',['','show3','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></tm-dialog></view><tm-message class="vue-ref" vue-id="3a37d63e-18" data-ref="toast" bind:__l="__l"></tm-message></view>