detailsGoods.wxml
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!--pages/detailsGoods/detailsGoods.wxml-->
<import src="/wxParse/wxParse.wxml" />
<view class="list">
<swiper indicator-dots="{{indicatorDots}}" indicator-color="#fff" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color="#FBC247">
<block wx:for="{{allData.banner}}" wx:key="">
<swiper-item>
<image src="{{item}}" class="slide-image" width="355" height="150" />
</swiper-item>
</block>
</swiper>
<view class="mes">
<view class="left">
<view class="name">
<text style="font-size:36rpx;color:#111111;">{{allData.goods_name}}</text>
<text style="font-size:26rpx;color:#666666;margin-left:26rpx;">{{allData.goods_description}}</text>
</view>
<view class="price">
<text style="font-size:30rpx;color:#C90103;">¥ </text>
<text style="font-size:40rpx;color:#C90103;">{{allData.goods_price}}</text>
<text style="font-size:26rpx;color:#999999;margin-left:20rpx;">已售 {{allData.month_sales}} 件</text>
</view>
</view>
<view class="right" bindtap='allEvaluate'>
<text class="icon icon-pingjia"></text>
<view class="allSp">全部评价</view>
</view>
</view>
<!-- 商品详情 -->
<view class="shopDetails">
<view class="title">- 商品详情 -</view>
<view>
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
</view>
<view style="height:100rpx;"></view>
</view>
</view>
<view class="navBottom">
<view class="left" bindtap='shopCart'>
<text class="icon icon-icon--1"></text>
<view class="num">{{num == null?'0':num}}</view>
</view>
<view class="right" bindtap='openShopCar'>
加入购物车
</view>
</view>