158 lines
6.2 KiB
Plaintext
158 lines
6.2 KiB
Plaintext
<!-- 按钮 -->
|
|
<view class="rightsBtn" bindtap="ordinary">
|
|
<button disabled="{{disabled}}">立即购买</button>
|
|
</view>
|
|
|
|
|
|
<!-- 重要提示 -->
|
|
<view class="rightsPoint">
|
|
<view class="rightsPoint-cont">
|
|
<view class="rightsPoint-top">
|
|
<image src="/static/icon/Point_icon.png"></image>
|
|
<text>重要提示</text>
|
|
</view>
|
|
<view class="rightsPoint-text {{pointMoreShow ? 'active' : ''}}">
|
|
<rich-text nodes="{{remark}}"></rich-text>
|
|
</view>
|
|
<view class="pointMore" bindtap="pointMoreTap">
|
|
<text>{{pointMoreShow == true ? '收起' : '展开'}}</text>
|
|
<image src="{{pointMoreShow == true ? '/static/img/pointMore-up.png' : '/static/img/pointMore.png'}}">
|
|
</image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="padding-bottom: 220px">
|
|
|
|
<!-- 卡券权益 -->
|
|
<view class="welfare">
|
|
<view class="welfareCont">
|
|
<view class="welfareCont-top">
|
|
<image class="welfareCont-list-img" src="{{item}}" mode="aspectFill" wx:for="{{rightData.logos}}"
|
|
wx:key="logos"></image>
|
|
</view>
|
|
<view class="welfareCont-text">
|
|
<view class="nowrap welfareCont-title">{{rightData.title}}</view>
|
|
<view class="nowrap welfareCont-tips">{{rightData.subtitle}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="rightsList" style="padding: 0 0 2rpx">
|
|
<view class="rightsLabel">
|
|
<view class="rightsLabel-left">{{contData.attribute.form_price}}</view>
|
|
<view class="rightsLabel-right">¥{{contData.total}}</view>
|
|
</view>
|
|
<view class="rightsLabel uni-border-top">
|
|
<view class="rightsLabel-left">{{contData.attribute.form_qty}}</view>
|
|
<view class="rightsLabel-right">1张</view>
|
|
</view>
|
|
<view class="rightsLabel uni-border-top">
|
|
<view class="rightsLabel-left">{{contData.attribute.form_type}}</view>
|
|
<view class="rightsLabel-right rightsLabel-red">¥{{contData.score}}</view>
|
|
</view>
|
|
<block wx:if="{{rightData.type == 'physical'}}">
|
|
<view class="rightsLabel">
|
|
<view class="rightsLabel-left">请选择提交方式</view>
|
|
<view class="rightsLabel-right rightsLabel-range">
|
|
<picker range="{{platformCp}}" range-key="name" bindchange="platBind">
|
|
<view class="tabs-text">
|
|
{{platformCp[platIndex].name}}
|
|
</view>
|
|
</picker>
|
|
<image class="rightsLabel-row" src="/static/icon/rightsArrow.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="rightsLabel rightsLabel-address" wx:if="{{platformCp[platIndex].name == '快递'}}">
|
|
<view class="rightsLabel-left">收货地址</view>
|
|
<block wx:if="{{address != ''}}">
|
|
<view class="rightsLabel-right" bindtap="addressTap">
|
|
<text class="nowrap">{{address.all_address}}</text>
|
|
<image class="rightsLabel-row" src="/static/icon/rightsArrow.png"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<navigator class="rightsLabel-right" hover-class="none"
|
|
url="/pages/address_form/address_form?type=Add">
|
|
添加收货地址<image class="rightsLabel-row" src="/static/icon/rightsArrow.png"></image>
|
|
</navigator>
|
|
</block>
|
|
</view>
|
|
<view class="rightsLabel" wx:if="{{platformCp[platIndex].name == '快递'}}">
|
|
<view class="rightsLabel-left">快递运费</view>
|
|
<view class="rightsLabel-right">¥{{freight}}</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
|
|
<!-- 应付总金额 -->
|
|
<view class="rightsList">
|
|
<view class="rightsLabel-pay" style="font-weight: 600;">
|
|
<view class="rightsLabel-left">{{contData.attribute.form_pay}}</view>
|
|
<view class="rightsLabel-right">¥<text style="font-size: 36rpx;">{{amount}}</text></view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 支付方式 -->
|
|
<view class="rightsList">
|
|
<view class="rightsLabel">
|
|
<view class="rightsLabel-left">请选择支付方式</view>
|
|
<view class="rightsLabel-right rightsLabel-range">
|
|
<picker range="{{payWay}}" range-key="name" bindchange="payBind">
|
|
<view class="tabs-text">
|
|
{{payWay[payWayIndex].name}}
|
|
</view>
|
|
</picker>
|
|
<image class="rightsLabel-row" src="/static/icon/rightsArrow.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="rightsLabel-pay">
|
|
<view class="rightsLabel-left">支付方式</view>
|
|
<view class="rightsLabel-right">{{payWay[payWayIndex].name}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 购买须知 -->
|
|
<view class="notice">
|
|
<view class="noticeTitle" bindtap="noticeTap">
|
|
<view class="noticeTitle-flex">
|
|
<image class="noticeTitle-img" src="/static/icon/notice_icon.png"></image>
|
|
购买前请仔细阅读内容介绍
|
|
</view>
|
|
<image class="noticeTitle-row {{noticeShow ? 'active' : ''}}" src="/static/icon/rightsArrow.png"></image>
|
|
</view>
|
|
<view class="noticeText {{noticeShow ? 'active' : ''}}">
|
|
<!-- <view class="noticeText-top">内容介绍</view> -->
|
|
<view class="noticeText-cont">
|
|
<rich-text nodes="{{content}}"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 选择收货地址 -->
|
|
<view class="addressBack {{addressShow ? 'active':''}}" bindtap="addressTap"></view>
|
|
<view class="addressCont {{addressShow ? 'active':''}}">
|
|
<view class="addressCont-title uni-border-bottom">
|
|
<view class="addressCont-left">请选择收货地址</view>
|
|
<view class="addressCont-right" bindtap="addSelect">新增收货地址</view>
|
|
</view>
|
|
<scroll-view class="header-classify" scroll-y="true">
|
|
<view class="addressCont-list uni-border-bottom" wx:for="{{allAddress}}" wx:key="allAddress"
|
|
bindtap="selectAddress" data-id="{{item.id}}" data-index="{{item}}">
|
|
<view class="addressCont-top">
|
|
<view class="addressCont-name">{{item.name}}</view>
|
|
<view class="addressCont-tel">{{item.mobile}}</view>
|
|
</view>
|
|
<view class="addressCont-text">
|
|
{{item.all_address}}
|
|
</view>
|
|
<view class="address-tool-icon">选择地址</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
|
|
<!-- 订阅--临时舍去 -->
|
|
<!-- <view class="subscribe" bindtap="subscribeTap">
|
|
<image src="/static/img/subscribe.png"></image>
|
|
</view> --> |