goodsCard.wxml 1.4 KB

1
  1. <view data-event-opts="{{[['tap',[['$emit',['toDetail','$0'],['itemInfo']]]]]}}" class="card data-v-c698a5ca" bindtap="__e"><image class="goods-img data-v-c698a5ca" src="{{itemInfo.goods.image}}" mode></image><block wx:if="{{language=='zh-CN'}}"><view class="describe data-v-c698a5ca">{{''+itemInfo.goods.name_cn+''}}</view></block><block wx:else><block wx:if="{{language=='en-US'}}"><view class="describe data-v-c698a5ca">{{''+itemInfo.goods.name_cn+''}}</view></block><block wx:else><block wx:if="{{language=='es-ES'}}"><view class="describe data-v-c698a5ca">{{''+itemInfo.goods.name_cn+''}}</view></block><block wx:else><view class="describe data-v-c698a5ca">{{''+itemInfo.goods.name_cn+''}}</view></block></block></block><view class="price-sale data-v-c698a5ca"><view class="price data-v-c698a5ca"><text style="font-size:20rpx;" class="data-v-c698a5ca">¥</text><text class="data-v-c698a5ca">{{$root.g0[0]}}</text>.<text style="font-size:20rpx;" class="data-v-c698a5ca">{{$root.g1[1]}}</text></view><view class="sale data-v-c698a5ca">{{''+i18n.salesVolume+" "+itemInfo.goods.sale_num+''}}</view></view><view class="evaluate data-v-c698a5ca"><view style="margin-right:12rpx;" class="data-v-c698a5ca">{{''+itemInfo.goods.comment_num+i18n.evaluate+''}}</view><view class="data-v-c698a5ca">{{''+itemInfo.goods.comment_good_rapporto+"%"+i18n.favorableComment+''}}</view></view></view>