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 line
7.8 KiB

<view class="page1"><view class="type-popup" style="margin-bottom:0;border-radius:0;padding:15rpx;"><view style="height:80rpx;font-size:36rpx;font-weight:bold;line-height:80rpx;text-align:center;"><uni-easyinput bind:input="__e" vue-id="0b9e3e44-1" 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:20rpx;background:#fff;border-radius:10px;padding:20rpx;"><view style="display:flex;"><view style="color:#333;width:40%;"><uni-easyinput bind:input="__e" vue-id="{{'0b9e3e44-2-'+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:60rpx;width:5%;text-align:center;line-height:60rpx;">:</view><view style="color:#333;width:50%;margin:0 auto 20rpx;"><uni-easyinput bind:input="__e" vue-id="{{'0b9e3e44-3-'+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:20rpx;margin-top:10rpx;" bindtap="__e"><uni-icons vue-id="{{'0b9e3e44-4-'+index}}" color="red" type="minus" size="26" bind:__l="__l"></uni-icons></view></view><view style="display:flex;"><view data-event-opts="{{[['tap',[['addIcon',[index,'left']]]]]}}" style="margin-top:10rpx;width:30%;height:60rpx;line-height:60rpx;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:60rpx;height:60rpx;margin:10rpx 0 0 10rpx;" src="{{item1}}" alt class="_img"></image></view></block></view><view style="display:flex;"><view data-event-opts="{{[['tap',[['addIcon',[index,'right']]]]]}}" style="margin-top:10rpx;width:30%;height:60rpx;line-height:60rpx;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:60rpx;height:60rpx;margin:10rpx 0 0 10rpx;" src="{{item1}}" alt class="_img"></image></view></block></view><view style="display:flex;margin-top:20rpx;"><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:100rpx;">{{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:100rpx;">{{item2.name}}</view></label></block></radio-group></view></view></block><view data-event-opts="{{[['tap',[['addShippList',['$event']]]]]}}" style="text-align:right;height:80rpx;line-height:80rpx;padding-right:20rpx;color:#088FEB;font-size:30rpx;" bindtap="__e">新增一条</view><uqrcode class="vue-ref" vue-id="0b9e3e44-5" canvas-id="qrcode" hide="true" value="{{QrUrl}}" data-ref="u