| | |
| | | <template> |
| | | <view class="pays"> |
| | | <view class="addr" @tap="chooseAddr"> |
| | | <image class="addrImg" src="/static/imgs/my-s-4.png" ></image> |
| | | <image class="addrImg" src="/static/imgs/my-s-4.png" mode=""></image> |
| | | <view class="addrView"> |
| | | <template v-if="addrData"> |
| | | <view class=""> |
| | |
| | | <view class="" style="margin-top: 20upx;">请选择收货地址</view> |
| | | </template> |
| | | </view> |
| | | <image class="rgt" src="/static/imgs/right.png" ></image> |
| | | <image class="rgt" src="/static/imgs/right.png" mode=""></image> |
| | | </view> |
| | | <view class="goods"> |
| | | <view class="goodsMain" v-for="(item, index) in cartsData"> |
| | | <image class="goods-icon" :src="item.icon" ></image> |
| | | <image class="goods-icon" :src="item.icon" mode=""></image> |
| | | <view class="goods-info"> |
| | | <view class="goods-title">{{item.title}}</view> |
| | | <view class=""></view> |
| | |
| | | </view> |
| | | <view class="carts-nums"> |
| | | <view class="" @tap="setCartsNums(item, 1)"> |
| | | <image src="/static/imgs/minus.png" ></image> |
| | | <image src="/static/imgs/minus.png" mode=""></image> |
| | | </view> |
| | | <view class=""> |
| | | <text>{{item.nums}}</text> |
| | | </view> |
| | | <view class="" @tap="setCartsNums(item, 2)"> |
| | | <image src="/static/imgs/add.png" ></image> |
| | | <image src="/static/imgs/add.png" mode=""></image> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="pay-li"> |
| | | <view class="pay-item" @tap="choosePayment(1)" v-if="Config && Config.edu_open == 1 && isFenqi == 1"> |
| | | <image class="pay-icon" src="/static/imgs/edupay.png" ></image> |
| | | <image class="pay-icon" src="/static/imgs/edupay.png" mode=""></image> |
| | | <text v-if="userInfo">余额支付(可用余额:{{userInfo.const}})</text> |
| | | <image class="rgt" :src="payment == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" ></image> |
| | | <image class="rgt" :src="payment == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> |
| | | <view class="pay-item" @tap="choosePayment(2)"> |
| | | <image class="pay-icon" src="/static/imgs/wxpay.png" ></image> |
| | | <image class="pay-icon" src="/static/imgs/wxpay.png" mode=""></image> |
| | | <text>微信支付</text> |
| | | <image class="rgt" :src="payment == 2 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" ></image> |
| | | <image class="rgt" :src="payment == 2 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> |
| | | <view class="pay-item"> |
| | | <image class="pay-icon" src="/static/imgs/bankpay.png" ></image> |
| | | <image class="pay-icon" src="/static/imgs/bankpay.png" mode=""></image> |
| | | <view @tap="chooseBank"> |
| | | <text>银行卡支付</text> |
| | | <text v-if="bankData">({{bankData.bankno}}切换)</text> |
| | | <text v-else>(请选择银行卡 》》)</text> |
| | | </view> |
| | | <image class="rgt" :src="payment == 3 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" @tap="choosePayment(3)"></image> |
| | | <image class="rgt" :src="payment == 3 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode="" @tap="choosePayment(3)"></image> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="authBtn-desc" v-if="userInfo && payment == 1 && userInfo.edu_auth == 1"> |
| | | <image @tap="agreeFlag = !agreeFlag" class="authBtn-icon" :src="!agreeFlag ? '/static/imgs/check.png' : '/static/imgs/checked.png'" ></image> |
| | | <image @tap="agreeFlag = !agreeFlag" class="authBtn-icon" :src="!agreeFlag ? '/static/imgs/check.png' : '/static/imgs/checked.png'" mode=""></image> |
| | | <text>我已阅读并同意</text> |
| | | <text class="blue" @tap="eSignAgree">《赊销购货协议》(点击签署)</text> |
| | | </view> |