188 lines
7.1 KiB
Plaintext
188 lines
7.1 KiB
Plaintext
<!-- 下单状态 -->
|
||
<view class="state {{platformCp[platIndex].name == '快递' ? 'active' : ''}}">
|
||
<view class="state-title">
|
||
等待买家付款
|
||
<text>请您尽快下单购买</text>
|
||
</view>
|
||
<image class="state-img" src="/static/img/car_state.png"></image>
|
||
</view>
|
||
|
||
<!-- 默认地址 -->
|
||
<view class="content">
|
||
<view class="site" wx:if="{{platformCp[platIndex].name == '快递'}}">
|
||
<view class="siteCont" wx:if="{{address != ''}}" bindtap="addressTap">
|
||
<image class="siteCont-site" src="/static/img/car_site.png"></image>
|
||
<view class="siteCont-right">
|
||
<view class="site-text">
|
||
{{address.name}} <text>{{address.mobile}}</text>
|
||
</view>
|
||
<view class="site-all">{{address.all_address}}</view>
|
||
</view>
|
||
<image class="state-arrow" src="/static/icon/arrow_left.png"></image>
|
||
</view>
|
||
<navigator hover-class="none" url="/pages/address/address?type=selectAddress" class="siteTips" wx:else>
|
||
<view class="siteTips-tips"><image src="/static/img/carSite_add.png"></image> 暂无收货地址</view>
|
||
</navigator>
|
||
</view>
|
||
|
||
<view class="goods">
|
||
<view class="goods-content">
|
||
<view class="goods-cover">
|
||
<image class="goods-image" src="{{detail.cover}}"></image>
|
||
<view class="goods-type {{detail.type == 'virtual' ? 'active' : ''}}">
|
||
<text>{{detail.type == 'virtual' ? '券' : '实'}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="goods-cont">
|
||
<view class="nowrap goods-title">
|
||
{{detail.title}}
|
||
</view>
|
||
<view class="goods-qty">
|
||
数量:x{{num}}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 规格 -->
|
||
<view class="label">
|
||
<view class="labelList">
|
||
<view class="labelList-label">
|
||
{{detail.attribute.form_price}}
|
||
</view>
|
||
<view class="labelList-price">
|
||
¥{{moreAmount}}
|
||
</view>
|
||
</view>
|
||
<view class="labelList">
|
||
<view class="labelList-label">{{detail.attribute.form_type}}</view>
|
||
<view class="labelList-price rightsLabel-red">¥{{score}}</view>
|
||
</view>
|
||
<view class="labelList">
|
||
<view class="labelList-label">{{detail.attribute.form_pay}}</view>
|
||
<view class="labelList-price rightsLabel-red">¥{{amount}}</view>
|
||
</view>
|
||
<view class="labelList" wx:if="{{platformCp[platIndex].name == '快递'}}">
|
||
<view class="labelList-label">
|
||
运费
|
||
</view>
|
||
<view class="labelList-price">
|
||
¥{{freight}}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 购买数量 -->
|
||
<view class="label">
|
||
<view class="labelList">
|
||
<view class="labelList-label">
|
||
购买数量
|
||
</view>
|
||
<view class="rightsAdd">
|
||
<view class="rightsAdd-btn" bindtap="goodsNumber" data-type="remove">-</view>
|
||
<text class="rightsAdd-input">{{num}}</text>
|
||
<view class="rightsAdd-btn" bindtap="goodsNumber" data-type="plus">+</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 提交方式 -->
|
||
<view class="label">
|
||
<view class="labelList">
|
||
<view class="labelList-label">请选择提交方式</view>
|
||
<view class="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>
|
||
|
||
<!-- 支付方式 -->
|
||
<view class="label">
|
||
<view class="radioList">
|
||
<view class="radioList-label">请选择支付方式</view>
|
||
<!-- <view class="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> -->
|
||
<radio-group bindchange="payBind">
|
||
<view class="payContList-label">
|
||
<view class="payContList-label-name">
|
||
<image class="payContList-label-img" src="/static/img/wx.jpg"></image>
|
||
微信支付
|
||
</view>
|
||
<radio class="radio" value="0" checked></radio>
|
||
</view>
|
||
<view class="payContList-label" wx:if="{{unicomPay}}">
|
||
<view class="payContList-label-name">
|
||
<image class="payContList-label-img" src="/static/img/wqb.jpg"></image>
|
||
沃钱包支付
|
||
</view>
|
||
<radio class="radio" value="1"></radio>
|
||
</view>
|
||
</radio-group>
|
||
</view>
|
||
<!-- <view class="labelList">
|
||
<view class="labelList-label">支付方式</view>
|
||
<view class="labelList-price">{{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="{{remark}}"></rich-text>
|
||
</view>
|
||
|
||
<view class="noticeText-top">内容介绍</view>
|
||
<view class="noticeText-cont">
|
||
<rich-text nodes="{{content}}"></rich-text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 立即购买 -->
|
||
<view class="buy">
|
||
<view class="buy-price">实际付款<text>¥{{amount}}</text></view>
|
||
<view class="buy-btn" bindtap="submitOrder">立即购买</view>
|
||
</view>
|
||
|
||
<!-- 选择收货地址 -->
|
||
<view class="addressBack {{addressShow ? 'active':''}}"></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> |