This commit is contained in:
2019-12-24 14:47:52 +08:00
parent bb92c57227
commit 843ba1f20e
13 changed files with 41 additions and 23 deletions

View File

@@ -1,3 +1,4 @@
<import src="../../utils/wxParse/wxParse.wxml"/>
<view class="box">
<swiper indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="{{2000}}" class="swiper">
<block wx:for="{{info.gallery}}">
@@ -18,7 +19,8 @@
</swiper>
<text class="title">{{info.goods.goods_name}}</text>
<text class="menery">$ {{info.goods.shop_price}}</text>
<picker bindchange="bindPickerChange" range="{{info.goods.goods_spec_list?info.goods.goods_spec_list[0]:specs}}" range-key="item">
<template is="wxParse" data="{{wxParseData:article.nodes}}"/>
<picker bindchange="bindPickerChange" range="{{info.goods.goods_spec_list != null?info.goods.goods_spec_list[0]:specs}}" range-key="item">
<view class="add">加入购物车</view>
</picker>
</view>