|
|
<view style='--color--:{{color}}'>
|
|
|
<view class="product_detail_container">
|
|
|
<block wx:if="{{detail.shopType==0}}">
|
|
|
<view class="product_detail_title_image">
|
|
|
<image src="{{productDetailLogUrl}}"></image>
|
|
|
</view>
|
|
|
<view class="product_detail_content">
|
|
|
<view class="product_detail_describe">
|
|
|
<view class="product_detail_name">
|
|
|
{{detail.couponDetail.title}}
|
|
|
</view>
|
|
|
<view class="product_detail_worth">
|
|
|
{{detail.couponDetail.worth}}
|
|
|
<text class="unit" decode="true"> 积分</text>
|
|
|
</view>
|
|
|
<view class="product_detail_name"></view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
有效期
|
|
|
</view>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> {{detail.couponDetail.startDate}}至{{detail.couponDetail.endDate}}
|
|
|
</view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
使用须知
|
|
|
</view>
|
|
|
|
|
|
<block wx:if="{{list.length>0}}">
|
|
|
<block wx:for="{{list}}" wx:key="">
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> {{item}}
|
|
|
</view>
|
|
|
</block>
|
|
|
</block>
|
|
|
<block wx:else>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> 无使用须知
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
|
|
|
<block wx:if="{{detail.shopType==1}}">
|
|
|
<view class="product_detail_title_image">
|
|
|
<image src="{{productDetail.imageUrl}}"></image>
|
|
|
</view>
|
|
|
<view class="product_detail_content">
|
|
|
<view class="product_detail_describe">
|
|
|
<view class="product_detail_name">
|
|
|
{{productDetail.productName}}
|
|
|
</view>
|
|
|
<view class="product_detail_worth">
|
|
|
<block wx:if="{{productDetail.type==0}}">
|
|
|
{{productDetail.pointWorth}}
|
|
|
<text class="unit" decode="true"> 积分</text>
|
|
|
</block>
|
|
|
<block wx:if="{{productDetail.type==1}}">
|
|
|
{{productDetail.pointWorth}}
|
|
|
<text class="unit" decode="true"> 积分</text> {{productDetail.amountWorth}}
|
|
|
<text class="unit" decode="true"> 元</text>
|
|
|
</block>
|
|
|
<block wx:if="{{productDetail.type==2}}">
|
|
|
{{productDetail.amountWorth}}
|
|
|
<text class="unit" decode="true"> 元</text>
|
|
|
</block>
|
|
|
</view>
|
|
|
<view class="product_detail_name"></view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
兑换规则
|
|
|
</view>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> 会员凭{{worth}}可兑换“{{productDetail.productName}}”,兑换后将会从会员积分中扣除对应价值
|
|
|
</view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
发货说明
|
|
|
</view>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view>积分商城仅支持中国大陆地区(不含粤港澳地区) 的兑换邮寄服务,兑换成功后将于3-7个工作日内 邮寄积分商品。
|
|
|
</view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
运费说明
|
|
|
</view>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> 本礼品兑换需自付运费,货到付款
|
|
|
</view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
售后服务
|
|
|
</view>
|
|
|
<view class="product_detail_value">
|
|
|
<view class="d"></view> 积分商品在兑换后不可退货
|
|
|
</view>
|
|
|
|
|
|
<view class="product_detail_key">
|
|
|
商品描述
|
|
|
</view>
|
|
|
|
|
|
|
|
|
</view>
|
|
|
<view class="product_detail_key">
|
|
|
<view class="d"></view>
|
|
|
<view class="wxParse" style='overflow:auto;'>
|
|
|
<import src="../../utils/wxParse/wxParse.wxml" />
|
|
|
<template is="wxParse" data="{{wxParseData:commodityAttr.nodes}}" />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
|
|
|
<view class="product_detail_bottom">
|
|
|
<view class="product_detail_exchange" bindtap="exchange">
|
|
|
立即兑换
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<dialog id="dialog" title="提示" confirmText="兑换" cancelText="取消" content="本次兑换将会扣除您" content2="{{worth}}" content3=" 是否确定继续兑换" bind:cancel="cancel" bind:confirm="goto">
|
|
|
</dialog>
|
|
|
</view>
|
|
|
</view> |