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
1.2 KiB

<view class="menu-div"><block wx:if="{{template.imageBg}}"><view class="workspace" style="{{('width:'+template.scaleWidth+'upx;height:'+template.scaleHeight+'upx;background: url('+baseUrl+'/'+template.imageBg+');backgroundSize:'+template.scaleWidth+'upx '+template.scaleHeight+'upx;')}}"><block wx:for="{{items}}" wx:for-item="citem" wx:for-index="index" wx:key="index"><view style="{{('position: absolute;top:'+citem.y+'upx;left:'+citem.x+'upx;z-index:'+index+';width:'+citem.width+'upx;height:'+citem.height+'upx')}}"><view class="template-item" style="{{(citem.style)}}"><text style="{{(citem.itemType=='qrcode'?'background: #FFFFFF;position:absolute;width:100%;top:'+citem.height+'upx;text-align:'+citem.align+';font-size:'+citem.fontSize+'upx;letter-spacing:'+citem.wordSpace+'upx;font-family:'+citem.fontFamily:'')}}">{{citem.style.itemText}}</text></view></view></block><view class="qrimg"><block wx:if="{{ifShow}}"><tki-qrcode class="vue-ref" vue-id="1" val="{{val}}" size="{{size}}" unit="{{unit}}" onval="{{onval}}" loadMake="{{loadMake}}" usingComponents="{{true}}" data-ref="qrcode" data-event-opts="{{[['^result',[['qrR']]]]}}" bind:result="__e" bind:__l="__l"></tki-qrcode></block></view></view></block></view>