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
7.9 KiB
1 lines
7.9 KiB
<view class="page1"><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="0b9e3e44-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view style="padding:0 20px 0;margin-top:80px;"><view style="height:40px;font-weight:bold;line-height:40px;text-align:center;"><uni-easyinput bind:input="__e" vue-id="0b9e3e44-2" placeholder="请输入模板名称" value="{{printName}}" data-event-opts="{{[['^input',[['__set_model',['','printName','$event',[]]]]]]}}" bind:__l="__l"></uni-easyinput></view><block wx:for="{{shippList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="display:flex;flex-direction:column;margin-top:10px;background:#fff;border-radius:10px;padding:20px;"><view style="display:flex;"><view style="color:#333;width:40%;height:40px;"><uni-easyinput bind:input="__e" vue-id="{{'0b9e3e44-3-'+index}}" trim="none" placeholder="请输入标签名称" value="{{item.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],[[['shippList','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></view><view style="height:40px;width:5%;text-align:center;line-height:40px;">:</view><view style="color:#333;width:50%;"><uni-easyinput bind:input="__e" vue-id="{{'0b9e3e44-4-'+index}}" placeholder="请输入标签值" value="{{item.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],[[['shippList','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></view><view data-event-opts="{{[['tap',[['delItem',[index]]]]]}}" style="width:12%;margin-left:20px;margin-top:10px;" bindtap="__e"><uni-icons vue-id="{{'0b9e3e44-5-'+index}}" color="red" type="minus" size="11" bind:__l="__l"></uni-icons></view></view><view style="display:flex;"><view data-event-opts="{{[['tap',[['addIcon',[index,'left']]]]]}}" style="margin-top:10px;width:30%;height:40px;line-height:40px;background:#088FEB;text-align:center;color:#fff;border-radius:5px;" bindtap="__e">左侧添加图标</view><block wx:for="{{item.leftIcon}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['longpress',[['delIcon',[index,index1,'left']]]]]}}" bindlongpress="__e"><image style="width:40px;height:40px;margin:10px 0 0 10px;" src="{{item1}}" alt class="_img"></image></view></block></view><view style="display:flex;"><view data-event-opts="{{[['tap',[['addIcon',[index,'right']]]]]}}" style="margin-top:10px;width:30%;height:40px;line-height:40px;background:#088FEB;text-align:center;color:#fff;border-radius:5px;" bindtap="__e">右侧添加图标</view><block wx:for="{{item.rightIcon}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['longpress',[['delIcon',[index,index1,'right']]]]]}}" bindlongpress="__e"><image style="width:40px;height:40px;margin:10px 0 0 10px;" src="{{item1}}" alt class="_img"></image></view></block></view><view style="display:flex;margin-top:20px;"><radio-group data-event-opts="{{[['change',[['discountChange',[index,'$event']]]]]}}" style="display:flex;width:41%;" bindchange="__e"><block wx:for="{{items}}" wx:for-item="item1" wx:for-index="index1" wx:key="value"><label class="uni-list-cell uni-list-cell-pd" style="margin-right:0;"><view><radio value="{{item1.value}}" checked="{{item.modelLeft==item1.value}}"></radio></view><view style="width:100px;">{{item1.name}}</view></label></block></radio-group><radio-group data-event-opts="{{[['change',[['discountChange1',[index,'$event']]]]]}}" style="display:flex;" bindchange="__e"><block wx:for="{{items2}}" wx:for-item="item2" wx:for-index="index2" wx:key="value"><label class="uni-list-cell uni-list-cell-pd" style="margin-right:0;"><view><radio value="{{item2.value}}" checked="{{item.modelBlod==item2.value}}"></radio></view><view style="width:100px;">{{item2.name}}</view></label></block></radio-group></view></view></block><view data-event-opts="{{[['tap',[['addShippList',['$event']]]]]}}" style="text-align:right;height:40px;line-height:40px;padding-right:20px;color:#088FEB;" bindtap="__e">新增一条</view><uqrcode class="vue-ref" vue-id="0b9e3e44-6" canvas-id="qrcode" hide="true" value="{{QrUrl}}" data-ref="uqrcode" bind:__l="__l"></uqrcode><block wx:if="{{shopId=='1810179818189361152'||shopId=='1838094297858183168'}}"><view style="background:#fff;height:40px;display:flex;line-height:40px;"><input style="width:30%;display:block;height:40px;text-align:center;line-height:40px;" type="text" maxlength="50" placeholder="输入名称" data-event-opts="{{[['blur',[['addItemName',['$event']]]]]}}" value="{{QrList1.name}}" bindblur="__e"/><input style="width:58%;display:block;height:40px;border:1px solid #eee;padding-left:27px;" type="text" disabled="{{true}}" placeholder="点击扫描二维码" data-event-opts="{{[['tap',[['scanCodeAdd',['$event']]]]]}}" value="{{QrList1.path}}" bindtap="__e"/></view></block><view style="display:flex;"><view style="width:60px;height:100px;margin:10px;"><image style="width:60px;height:60px;background-size:100%;" src="{{QrList1.imgUrl}}"></image><block wx:if="{{QrList1.imgUrl!=''}}"><view>{{QrList1.name}}</view></block></view></view><view style="width:100%;height:50px;line-height:40px;text-align:center;border-radius:0;color:#fff;display:flex;"><view data-event-opts="{{[['tap',[['goAddClass',['$event']]]]]}}" style="background:linear-gradient(90deg, #60F3FF, #088FEB);height:40px;width:47%;border-radius:10px;margin-right:6%;" bindtap="__e">确认</view><block wx:if="{{shopId=='1810179818189361152'||shopId=='1838094297858183168'}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="background:linear-gradient(90deg, #60F3FF, #088FEB);height:40px;width:47%;border-radius:10px;" bindtap="__e">打印</view></block></view></view><uni-popup class="vue-ref" vue-id="0b9e3e44-7" background-color="#fff" data-ref="showIconPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><view class="popup-pay-title"><text>选择洗涤图标</text><uni-icons style="height:40px;line-height:40px;position:absolute !important;bottom:0;right:30px;" vue-id="{{('0b9e3e44-8')+','+('0b9e3e44-7')}}" type="closeempty" color="red" size="11" data-event-opts="{{[['^tap',[['e1']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view><block wx:for="{{iconList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkIcon',['$0'],[[['iconList','',index]]]]]]]}}" style="display:flex;flex-direction:column;text-align:center;width:10%;float:left;height:100px;" bindtap="__e"><image style="width:40px;height:40px;background-size:100%display: inline-block;margin:0 auto;" src="{{item.value}}" alt class="_img"></image><text>{{item.text}}</text></view></block></view></view></uni-popup><uni-popup class="vue-ref" vue-id="0b9e3e44-9" background-color="#fff" data-ref="printPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content" style="width:600px;height:400px;"><view class="popup-pay-title"><text>请输入打印数量</text><uni-icons style="height:40px;line-height:40px;position:absolute !important;bottom:0;right:30px;" vue-id="{{('0b9e3e44-10')+','+('0b9e3e44-9')}}" type="closeempty" color="red" size="11" data-event-opts="{{[['^tap',[['e2']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view style="margin-top:40px;"><uni-easyinput bind:input="__e" vue-id="{{('0b9e3e44-11')+','+('0b9e3e44-9')}}" type="text" placeholder="请输入打印数量" value="{{number}}" data-event-opts="{{[['^input',[['__set_model',['','number','$event',[]]]]]]}}" bind:__l="__l"></uni-easyinput><view class="popup-pay-container"><kk-printer class="vue-ref" vue-id="{{('0b9e3e44-12')+','+('0b9e3e44-9')}}" bufferData="{{bufferData}}" printNum="{{printNum}}" defaultText="打印" data-ref="kkprinter" data-event-opts="{{[['^onPrint',[['onPrint1']]]]}}" bind:onPrint="__e" bind:__l="__l"></kk-printer></view></view></view></uni-popup><canvas style="width:200px;height:200px;top:-10000px;" canvas-id="qrcode1"></canvas></view>
|