微信小程序 商品详情页弹窗

< view class= "goods-detail-chooseCategory-title" catchtap= "normal" data-statu= "open" >
<!-- { {clickShowAlertState}} -->
< view class= "goods-detail-chooseCategory-titleLeft" >{ {chooseCategoryTemp == null || currentChooseCategoryIndexTemp == -1 ?"选择"+goodsInfo.category:"已选:"+chooseCategoryTemp.category+" "+currentCategoryNumTemp+"个"}} </ view >
< view class= "goods-detail-chooseCategory-titleRight" >> </ view >
</ view >

<!--button-->
<!-- <view class="btn" >button</view> -->
<!--mask-->
<!-- <view class="drawer_screen" catchtap="showOrHideCategory" data-statu="close" wx:if="{ {showModalStatus}}"></view> -->
<!--content-->
<!--使用animation属性指定需要执行的动画-->
< view animation= "{ {animationData}}" class= "category-box" wx:if= "{ {showModalStatus}}" >
< view class= 'category-box-inner' >
<!--drawer content-->
< view class= "category-box-top" >
< view class= 'category-box-top-left' >
< image class= 'category-box-top-icon' ></ image >
< view class= 'category-box-top-left-center' >
< text class= 'price' >¥{ {chooseCategoryTemp==null || currentChooseCategoryIndexTemp==-1?(goodsInfo.activesFlag == '0' ? goodsInfo.priceRange : goodsInfo.eventPriceRange):(goodsInfo.activesFlag == '0' ?chooseCategoryTemp.price:chooseCategoryTemp.eventPrice)}} </ text >
< text >库存:{ {chooseCategoryTemp == null || currentChooseCategoryIndexTemp == -1 ? goodsInfo.qty : chooseCategoryTemp.qty}} </ text >
< text >{ {chooseCategoryTemp==null || currentChooseCategoryIndexTemp==-1?"请选择"+goodsInfo.category:"已选:"+chooseCategoryTemp.category}} </ text >
</ view >
</ view >
< image class= 'category-box-top-close' catchtap= "showOrHideCategory" data-statu= "x-close" ></ image >
</ view >
< view class= "category-box-content" >
< view class= ' category-box-content-category ' >
< text class= 'category-box-content-category-text ' >选择{ {goodsInfo.category}} </ text >
< view class= 'category ' >
< block wx:for= "{ {goodsInfo.goodsc}}" wx:for-index= "index" wx:for-item= "item" wx:key= "id" >
< text class= "{ {index==currentChooseCategoryIndexTemp?'category-text-yes':'category-text-no'}}" catchtap= 'onCategoryItemChecked' data-category-index= '{ {index}}' data-category-item= '{ {item}}' >{ {item.category}} </ text >
</ block >
</ view >
</ view >
< view class= 'category-buy' >
< text >购买数量(起订量*{ {goodsInfo.start_qty}}) </ text >
< view class= 'category-number-view'
  • 2
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值