1 line
4.4 KiB
Plaintext
1 line
4.4 KiB
Plaintext
<view><view class="bacb disba padding20 posi-bzy" style="border-top:1rpx solid #eeeeee;"><view class="disba" style="width:24%;"><view data-event-opts="{{[['tap',[['goHome',['$event']]]]]}}" class="discc margin-z20" bindtap="__e"><image class="bottosimg" src="/static/img/public/home.png" mode></image><view class="fon24 bottoc">首页</view></view><view data-event-opts="{{[['tap',[['goKef',['$event']]]]]}}" class="discc posir" bindtap="__e"><image class="bottokimg" src="/static/img/public/xkef.png" mode></image><view class="fon24 bottoc">客服</view><block wx:if="{{showKf}}"><button class="fon24 bottoc posia" style="opacity:0;" open-type="contact" bindcontact="huik">客服</button></block></view></view><block wx:if="{{user_type!='personal'}}"><view class="disac"><view data-event-opts="{{[['tap',[['diaoq',['$event']]]]]}}" class="margin-y20 textc bottoj" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['diaoq',['$event']]]]]}}" class="textc bottol" bindtap="__e">立即购买</view></view></block><block wx:if="{{user_type=='personal'}}"><view class="disac"><view data-event-opts="{{[['tap',[['diaoq',['$event']]]]]}}" class="textc bottol" bindtap="__e">点击查看</view></view></block></view><block wx:if="{{isBtn}}"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="posiall zIn5" style="background-color:rgba(0,0,0,.6);" catchtouchmove="__e"><view class="posi-bzy padding20" style="border-top-left-radius:30rpx;border-top-right-radius:30rpx;background-color:#FFFFFF;z-index:6;"><view class="margin-s20 dis"><image class="flexs" style="width:201rpx;height:201rpx;border-radius:10rpx;" src="{{srcImg}}"></image><view class="margin-z20 width100"><view class="colorf6 fon24 bold">¥<text class="fon28">{{detail.sku_list[sku_index].cur_price/100}}</text>.0</view><view class="fon28 color33">{{detail.name}}</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="flex-shrink:0;width:38rpx;height:38rpx;border-radius:100%;background-color:rgba(0,0,0,.15);position:relative;display:flex;justify-content:center;align-items:center;top:-10rpx;" bindtap="__e"><view style="width:2rpx;height:20rpx;background-color:#666666;position:absolute;transform:rotate(45deg);"></view><view style="width:2rpx;height:20rpx;background-color:#666666;position:absolute;transform:rotate(-45deg);"></view></view></view><view class="bold color33 margin-s30" style="font-size:30rpx;">规格选择</view><view class="disac flw"><block wx:for="{{guigArr}}" wx:for-item="item" wx:for-index="indexg" wx:key="indexg"><view data-event-opts="{{[['tap',[['chooseguig',['$0',indexg],[[['guigArr','',indexg,'id']]]]]]]}}" class="{{['fon24','margin-s20','margin-y10','padding-sx10','padding-zy30',guigCurrent==indexg?'guigactive':'guigmo']}}" style="background-color:#f3f3f3;border-radius:30rpx;min-width:60rpx;text-align:center;max-width:100%;" bindtap="__e"><view class="clips1">{{item.title}}</view></view></block></view><view class="borbot margin-x20 margin-s30"></view><block wx:if="{{user_type!='personal'}}"><view class="disba"><view class="width100">数量</view><view class="disac" style="justify-content:flex-end;"><view data-event-opts="{{[['tap',[['delEvent',[0]]]]]}}" class="disbcac padding-sx30" bindtap="__e"><image class="margin-y20" style="width:18rpx;height:4rpx;" src="../static/img/product/del.png"></image></view><input style="width:40%;background-color:#F5F5F5;text-align:center;padding:4rpx 0;border-radius:4rpx;" type="text" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','num','$event',[]]]]]]}}" value="{{num}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['addEvent',[1]]]]]}}" class="disbcac padding-sx30" bindtap="__e"><image class="margin-zy20" style="width:18rpx;height:18rpx;" src="../static/img/product/add.png"></image></view></view></view></block><block wx:if="{{user_type!='personal'}}"><view class="disbcac padding-sx40"><view data-event-opts="{{[['tap',[['addGowc',['$event']]]]]}}" class="bold padding-sx20 padding-zy40 colorf78 margin-y10" style="font-size:30rpx;border:1rpx solid #FF7800;border-radius:60rpx;width:30%;text-align:center;" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" class="bold padding-sx20 padding-zy40 colorb margin-z20" style="font-size:30rpx;background-color:#ff7800;border-radius:60rpx;width:30%;text-align:center;" bindtap="__e">立即购买</view></view></block></view></view></block></view> |