<!--pages/detail/detail.wxml-->
|
<import src="../template/cart-input/cart-input-template.wxml" />
|
<import src="../../src/wxParse/wxParse.wxml" />
|
|
<view class="detail-container" style="height:{{clientHeight}};overflow:{{overflow}};">
|
|
<swiper vertical="{{false}}" indicator-dots="true" autoplay="true" interval="5000" indicator-active-color="#229BC9">
|
<block wx:for="{{goodsItem}}" wx:for-item="listItem" wx:for-index="listIndex" wx:key="index">
|
<swiper-item>
|
<image src="{{listItem.imgUrl}}" bindtap="onSwiperTap" data-istab="{{listItem.isTabBarButton}}" data-pathurl="{{listItem.pathurl}}" mode="widthFix"></image>
|
</swiper-item>
|
</block>
|
</swiper>
|
<view class="des">
|
<view class="des-title">{{Title}}</view>
|
<view>
|
<text class="des-price">{{amount}}</text>
|
<text class="des-sale-price" wx:if="{{orgAmount}}">{{orgAmount}}</text>
|
</view>
|
</view>
|
|
|
<view class="details-img has-footer">
|
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
|
</view>
|
<!--下单-->
|
<view class="buy-nav">
|
<view class="to-cart " bindtap="buyTap" data-name="cart">
|
成为会员
|
</view>
|
</view>
|
|
<official-account></official-account>
|
|
</view>
|