You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.3 KiB
1 lines
2.3 KiB
<view class="page1" style="overflow:scroll;"><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="565ce819-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><uqrcode class="vue-ref" vue-id="565ce819-2" canvas-id="qrcode" hide="true" value="{{QrUrl}}" data-ref="uqrcode" bind:__l="__l"></uqrcode><view style="margin-top:80px;"><block wx:for="{{QrList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="background:#fff;height:40px;display:flex;line-height:30px;"><input style="width:30%;display:block;height:30px;text-align:center;margin-top:5px;" type="text" maxlength="50" placeholder="输入名称" data-event-opts="{{[['blur',[['addItemName',['$event',index]]]]]}}" value="{{item.name}}" bindblur="__e"/><input style="width:58%;display:block;height:30px;border:1px solid #eee;padding-left:20px;margin-top:5px;" type="text" disabled="{{true}}" placeholder="点击扫描二维码" data-event-opts="{{[['tap',[['scanCodeAdd',[index]]]]]}}" value="{{item.path}}" bindtap="__e"/><view data-event-opts="{{[['tap',[['delItem',[index]]]]]}}" style="width:12%;margin-left:20px;line-height:40px;" bindtap="__e"><uni-icons vue-id="{{'565ce819-3-'+index}}" color="red" type="minus" size="7" bind:__l="__l"></uni-icons></view></view></block><view style="display:flex;"><block wx:for="{{QrList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="width:60px;height:120px;margin:20px;"><image style="width:60px;height:60px;background-size:100%;" src="{{item.imgUrl}}"></image><block wx:if="{{item.imgUrl!=''}}"><view>{{item.name}}</view></block></view></block></view></view><view style="display:flex;height:50px;padding-top:5px;line-height:40px;color:#fff;position:fixed;bottom:0;background:#fff;width:100%;"><view data-event-opts="{{[['tap',[['addList',['$event']]]]]}}" style="width:45%;height:40px;background:#088FEB;border-radius:10px;text-align:center;margin:0 3.33%;" bindtap="__e">新增</view><view data-event-opts="{{[['tap',[['updateShopIcon']]]]}}" style="width:45%;height:40px;background:#088FEB;border-radius:10px;text-align:center;" bindtap="__e">提交</view></view><canvas style="width:200px;height:200px;top:-1000px;" canvas-id="qrcode1"></canvas></view>
|