1.修改充值金额的值

2.修改其他问题
yj-dev
杨杰 3 years ago
parent 8f606ffd1c
commit 3e4e4f78b7
  1. 27
      pages/order/confirmation.vue
  2. 8
      pages/tabBar/user/user.vue
  3. 36
      pages/user/deposit/deposit.vue
  4. 15
      pages/user/mineCouponsDestails/mineCouponsDestails.vue
  5. 12
      pages/user/minePromotion/minePromotion.vue
  6. 33
      subPages/unionComfirmation/unionComfirmation.vue

@ -90,8 +90,8 @@
<view class="width94 comorder mart10">
<view class="height50 width100 backcorfff">
<view class="width50 flleft fcor333 fontwig6 font16" style="padding-left: 4%;">
支付方式
<view class="width100 flleft fcor333 fontwig6 font16" style="padding-left: 4%;">
支付方式 <text class="jfrecharge" @click="jumpdeposits" v-if="couponList.payType == 2 || couponList.payType==3">积分充值</text>
</view>
</view>
<view class="width94 line1 mart5 marb5"></view>
@ -228,7 +228,7 @@
tongCardPrice: 0,
storeId: '',
isDiscont: false,
coupondiscountid:''
coupondiscountid: ''
};
},
@ -732,6 +732,12 @@
});
});
},
//
jumpdeposits(){
uni.navigateTo({
url:'../user/deposit/deposit'
})
}
}
}
@ -917,7 +923,7 @@
align-items: center;
.sum {
width: 50%;
width: 68%;
font-size: 18px;
margin-right: 10upx;
display: flex;
@ -930,7 +936,7 @@
}
.btn {
padding: 0 50rpx;
padding: 0 45rpx;
height: 80rpx;
background-color: #0083f5;
color: #fff;
@ -943,6 +949,17 @@
}
}
.jfrecharge {
background-color: #0083f5;
padding: 5px 20rpx;
color: #fff;
margin-left: 50%;
justify-content: center;
align-items: center;
font-size: 30rpx;
border-radius: 40rpx;
}
.goods-list {
width: 100%;
padding: 0;

@ -24,18 +24,18 @@
<!-- #ifdef MP -->
<button class="erweima fotct aliitem font14" v-if="user == null" open-type="getPhoneNumber"
@getphonenumber="loginByPhone">
<image src="../../../static/img/jingbi.png"></image> 充值金额
<image src="../../../static/img/jingbi.png"></image> 充值积分
</button>
<button class="erweima fotct aliitem font14" v-else @click="toDeposit">
<image src="../../../static/img/jingbi.png"></image> 充值金额
<image src="../../../static/img/jingbi.png"></image> 充值积分
</button>
<!-- #endif -->
<!-- #ifdef H5 -->
<button class="erweima fotct aliitem font14" v-if="user.phone == null" @click="jumpH5Bding">
<image src="../../../static/img/jingbi.png"></image> 充值金额
<image src="../../../static/img/jingbi.png"></image> 充值积分
</button>
<button class="erweima fotct aliitem font14" v-else @click="toDeposit">
<image src="../../../static/img/jingbi.png"></image> 充值金额
<image src="../../../static/img/jingbi.png"></image> 充值积分
</button>
<!-- #endif -->
</view>

@ -36,17 +36,6 @@
</view>
<view class="content">
<view class="pay-list">
<!-- <view class="row" @tap="paytype='alipay'">
<view class="left">
<image src="/static/img/alipay.png"></image>
</view>
<view class="center">
支付宝支付
</view>
<view class="right">
<radio :checked="paytype=='alipay'" color="#0083f5" />
</view>
</view> -->
<view class="row" @tap="paytype='wxpay'">
<view class="left">
<image :src="imagewxUrl+imgadres"></image>
@ -85,11 +74,11 @@
data() {
return {
inputAmount: '', //
amountList: [10, 50, 100], //3
amountList: [100, 200, 300, 500, 800, 1000], //3
paytype: 'wxpay', //
user: "",
imagewxUrl: app.globalData.imageWxImg,
imgadres:'wxpay.png'
imgadres: 'wxpay.png'
};
},
onLoad() {
@ -126,7 +115,7 @@
title: '正在提交订单...'
})
let goods = {
"identificationCode":app.globalData.identificationCode,
"identificationCode": app.globalData.identificationCode,
"highChildOrderList": [{
"goodsType": 2,
"goodsId": app.globalData.userInfo.id,
@ -271,19 +260,22 @@
width: 100%;
.list {
display: flex;
display: flow-root;
justify-content: space-between;
padding: 20upx 0;
.box {
width: 30%;
height: 120upx;
height: 120rpx;
float: left;
margin-left: 3.333%;
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10upx;
box-shadow: 0upx 5upx 20upx rgba(0, 0, 0, 0.05);
font-size: 36upx;
border-radius: 10rpx;
box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.05);
font-size: 36rpx;
background-color: #f1f1f1;
color: 333;
@ -295,14 +287,14 @@
}
.num {
margin-top: 10upx;
margin-top: 20upx;
display: flex;
justify-content: flex-end;
align-items: center;
.text {
padding-right: 10upx;
font-size: 30upx;
font-size: 40upx;
}
.input {
@ -315,7 +307,7 @@
input {
margin: 0 20upx;
height: 60upx;
font-size: 30upx;
font-size: 40upx;
color: #0083f5;
justify-content: flex-end;
align-items: center;

@ -43,13 +43,16 @@
</view>
</view>
</view>
<view class="width90 mart40 fcor666" v-if="videourl != ''">视频教程</view>
<!-- <view class="width90 mart40 fcor666" v-if="videourl != ''">视频教程</view>
<view class="btnplay" @click="playvideo" v-if="videourl != ''">播放视频教学</view>
<view class="width80 mart20 marb30" v-if="isplayvideo">
<yy-video-player :auto-play="false" :url="imageUrl+imagedess1" :poster="poster" :show-back-btn="true">
</yy-video-player>
</view> -->
<view class="width90 mart40 fcor666" v-if="videourl != ''">临时通知</view>
<view class="alijus mart20 marb30" v-if="videourl != ''">
<image mode="widthFix" :src="imageUrl+imagedess2"></image>
</view>
</view>
</template>
@ -72,13 +75,14 @@
imagewxUrl: app.globalData.imageWxImg,
imgadres: 'noorder.png',
imagedess1: '/CMS/html/11641540903873.mp4',
imagedess2: '/CMS/html/notice1.png',
pageNum: 1,
pageSize: 10,
isNoMoreData: false,
couponsDetails: '',
salesEndTime: '',
couponId: '',
videourl: '' ,//
videourl: '', //
isplayvideo: false //
}
},
@ -152,7 +156,7 @@
// });
},
//
playvideo(){
playvideo() {
this.isplayvideo = true;
}
}
@ -227,7 +231,8 @@
color: #FFFFFF;
border-radius: 0px;
}
.btnplay{
.btnplay {
width: 120px;
text-align: center;
height: 40px;

@ -18,12 +18,12 @@
<view class="width50 flright font15 fcor666 fontwig6 fotrt">今日流水</view>
</view>
</view>
<view class="mart70">
<!-- <view class="mart70">
<QSTabs ref="tabs" :tabs="tabs" animationMode="line2" :current="current" @change="change"
activeColor="#089bf5" lineColor="#089bf5" minWidth="374">
</QSTabs>
<view class="line1"></view>
</view>
</view> -->
<!-- // -->
<view class="width100" v-if="current == 0">
@ -100,7 +100,7 @@
</view>
</view>
<!-- 兑换码库存 -->
<view class="width100" v-if="current == 1">
<view class="width100 mart80" v-if="current == 1">
<view class="width100 mart20">
<view class="width90 mart10 fcor333 font14 fontwig6 height22">
<view class="promotion_xg flleft"></view>
@ -267,10 +267,14 @@
couponList:[], //
couponCont:[], //
tabs: ["销售码", "兑换码"], //
current: 0, //
current: 1, //
}
},
onLoad() {
// this.getAgentCount(1);
// this.getAgentConvertCodeCount();
},
onShow() {
this.getAgentCount(1);
this.getAgentConvertCodeCount();
},

@ -182,7 +182,7 @@
agentKey: '',
objectId: '',
OrderPreList: [],
reType:'' //
reType: '' //
};
},
@ -269,7 +269,7 @@
if (item.discountType == 1) {
//
this.deductionPrice = item.discountPrice;
this.payPrice = this.paytheprice- this.deductionPrice;
this.payPrice = this.paytheprice - this.deductionPrice;
} else if (item.discountType == 2) {
//
@ -320,7 +320,8 @@
});
},
toPay() {
if (this.paytype == '') {
let that = this;
if (that.paytype == '') {
uni.showToast({
title: '请选择支付方式',
icon: 'none',
@ -328,28 +329,31 @@
})
return;
}
uni.requestSubscribeMessage({
tmplIds: ['ZO6kC3oJv0zj9QzL0htsF-mM9vAElcgPZEcUGglxsoU'],
success(res) {
uni.showLoading({
title: '提交订单中...'
})
let params = {
"memDiscountId": this.memDiscountId,
"orderPrice": this.orderPrice,
"payPrice": this.payPrice,
"rechargeContent": this.rechargeContent,
"rechargeModel": this.rechargeModel,
"agentKey": this.agentKey,
"objectId": this.objectId,
"memDiscountId": that.memDiscountId,
"orderPrice": that.orderPrice,
"payPrice": that.payPrice,
"rechargeContent": that.rechargeContent,
"rechargeModel": that.rechargeModel,
"agentKey": that.agentKey,
"objectId": that.objectId,
"identificationCode": app.globalData.identificationCode
}
addOrderPay(params).then(res => {
if (res.return_code == '000000') {
uni.hideLoading();
this.orderId = res.return_data.id;
that.orderId = res.return_data.id;
let params = {
"orderId": res.return_data.id,
"openId": app.globalData.openId
}
this.orderToUNionPay(params);
that.orderToUNionPay(params);
} else {
uni.hideLoading();
uni.showToast({
@ -360,6 +364,9 @@
}
})
},
fail(res) {},
})
},
//
changeRiado() {
if (!this.user.isSetHltCard) {
@ -563,7 +570,7 @@
uni.showToast({
title: res.return_msg,
icon: 'none',
duration:2000
duration: 2000
})
})

Loading…
Cancel
Save