index.wxml 3.9 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="6842c8c0-1" title="地址管理" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="_div"><tm-sheet class="kuang" style="padding-bottom:40px !important;" vue-id="6842c8c0-2" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:94%;margin:0 auto;"><tm-input bind:input="__e" vue-id="{{('6842c8c0-3')+','+('6842c8c0-2')}}" title="收货人" placeholder="请填写收货人姓名" value="{{dizhi.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['dizhi']]]]]}}" bind:__l="__l"></tm-input><tm-input bind:input="__e" vue-id="{{('6842c8c0-4')+','+('6842c8c0-2')}}" title="手机号码" placeholder="填写收件人手机号码" value="{{dizhi.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['dizhi']]]]]}}" bind:__l="__l"></tm-input><tm-pickers-city style="margin:0 16px 0px;box-sizing:border-box;" vue-id="{{('6842c8c0-5')+','+('6842c8c0-2')}}" default-value="{{d_3}}" btn-color="bg-gradient-deep-purple-accent" data-event-opts="{{[['^confirm',[['dateSe_3']]]]}}" bind:confirm="__e" bind:__l="__l" vue-slots="{{['default']}}"><tm-input bind:input="__e" style="padding:0px 60px 0px 0px!important;margin-left:0!important;" vue-id="{{('6842c8c0-6')+','+('6842c8c0-5')}}" disabled="{{true}}" title="所在地区" placeholder="省市区县、乡镇等" value="{{dizhi.region}}" data-event-opts="{{[['^input',[['__set_model',['$0','region','$event',[]],['dizhi']]]]]}}" bind:__l="__l"></tm-input></tm-pickers-city><tm-input bind:input="__e" vue-id="{{('6842c8c0-7')+','+('6842c8c0-2')}}" title="详细地址" placeholder="街道、楼牌号等" value="{{dizhi.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['dizhi']]]]]}}" bind:__l="__l"></tm-input></view></tm-sheet><tm-sheet class="kuang" style="padding-bottom:20px !important;" vue-id="6842c8c0-8" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:94%;margin:0 auto;padding-top:15px;"><view class="fl text-white mt-10" style="width:15%;">标签</view><view class="fl" style="width:80%;"><block wx:for="{{tags}}" wx:for-item="item" wx:for-index="index"><tm-button class="ml-20" vue-id="{{('6842c8c0-9-'+index)+','+('6842c8c0-8')}}" round="{{10}}" theme="{{sel==index?'blue':'gray'}}" size="s" value="{{sel}}" data-event-opts="{{[['^click',[['selectTag',[index]]]],['^input',[['__set_model',['','sel','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}">{{item.name}}</tm-button></block></view><view style="clear:both;"></view><tm-listitem vue-id="{{('6842c8c0-10')+','+('6842c8c0-8')}}" title="设置为默认地址" data-event-opts="{{[['^click',[['btnClick']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['rightIcon']}}"><tm-switch bind:input="__e" vue-id="{{('6842c8c0-11')+','+('6842c8c0-10')}}" offBgcolor="yellow text-black" text="{{['','']}}" color="primary" value="{{on}}" data-event-opts="{{[['^input',[['__set_model',['','on','$event',[]]]]]]}}" slot="rightIcon" bind:__l="__l"></tm-switch></tm-listitem></view></tm-sheet><block wx:if="{{isSave}}"><view class="anniu1"><tm-button vue-id="6842c8c0-12" theme="gray" size="n" data-event-opts="{{[['^click',[['shanchu']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">删除</tm-button><tm-button class="fr" vue-id="6842c8c0-13" theme="primary" size="n" data-event-opts="{{[['^click',[['redact']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">保存</tm-button></view></block><block wx:else><tm-button class="sao mb-40 mt-40" vue-id="6842c8c0-14" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['saveAdd']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">保存</tm-button></block></view><tm-message class="vue-ref" vue-id="6842c8c0-15" data-ref="toast" bind:__l="__l"></tm-message></view>