Files
decode-mini-app-new/wx214944c362629fc7/pages/flow/index.wxml
2024-08-22 12:53:28 +08:00

59 lines
3.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="container p-bottom">
<view class="notice-wrap" hidden="{{hideNotice}}" wx:if="{{storeInfo.cart_notice.length>0}}">
<view class="tongzhitext">
<text class="tongzhi-text">{{storeInfo.cart_notice}}</text>
</view>   <view bindtap="switchNotice" class="closeView">x</view>
</view>
<view class="flow-list">
<view wx:if="{{goods_list.length}}">
<view wx:for="{{goods_list}}" wx:key="this">
<view class="dish-item" data-index="{{index}}" style="{{item.txtStyle}}">
<view class="dish-item-wrp">
<navigator hoverClass="none" url="../goods/index?goods_id={{item.goods_id}}">
<view class="dish-item-pic">
<image class="image" src="{{item.image[0].file_path}}"></image>
</view>
</navigator>
<view class="dish-item-info">
<navigator hoverClass="none" url="../goods/index?goods_id={{item.goods_id}}">
<view class="goods-name">
<text class="twolist-hidden f-30 col-3">
<text class="colour-box f-20" wx:if="{{item.colour>0}}">{{colourList[item.colour]}}</text>{{item.goods_name}}</text>
<view class="f-26" style="color: #555;"> {{item.goods_title.length>0?item.goods_title:' '}} </view>
</view>
<view class="goods-attr">
<text class="col-7 f-24">{{item.goods_sku.goods_attr}}</text>
</view>
<view class="price f-30 col-m" wx:if="{{utype==1}}"> ¥{{item.goods_price}} <text class="del f-22" wx:if="{{item.goods_sku.line_price>0}}">{{item.goods_sku.line_price}}</text>
</view>
<view class="price f-30 col-m" wx:elif="{{utype==2}}"> ¥{{item.l_a}} <text class="del f-22" wx:if="{{item.goods_sku.line_price>0}}">{{item.goods_sku.line_price}}</text>
</view>
<view class="price f-30 col-m" wx:elif="{{utype==3}}"> ¥{{item.l_b}} <text class="del f-22" wx:if="{{item.goods_sku.line_price>0}}">{{item.goods_sku.line_price}}</text>
</view>
</navigator>
<view catchtap="del" class="flow-dete" data-goods-id="{{item.goods_id}}" data-sku-id="{{item.goods_sku_id}}">
<text class="iconfont icon-lajixiang"></text>
</view>
</view>
</view>
</view>
</view>
<view class="cart-tab-wrp">
<view class="cart-item-total cart-tab-item">
<text class="cart-item-total-price h4">合计:¥{{order_total_price}}</text>
</view>
<view class="cart-tab-item">
<view bindtap="submit" class="cart-tab-item-btn h4">去结算</view>
</view>
</view>
</view>
<view wx:else>
<view class="yoshop-notcont">
<text class="iconfont icon-ziyuan"></text>
<text class="cont">亲,购物车还没有商品哦</text>
<view bindtap="goShopping" class="flow-btn-min">去逛逛</view>
</view>
</view>
</view>
</view>