1.修改充值积分不能自定义

master
杨杰 2 years ago
parent edac09be82
commit 5d42e1d33e
  1. 6
      high-unionPay/pages/login/resetpasswd.vue
  2. 86
      high-unionPay/pages/user/deposit/deposit.vue
  3. 8
      high-unionPay/pages/user/order_details/order_details.vue

@ -8,13 +8,13 @@
<view class="form re"> <view class="form re">
<view class="username"> <view class="username">
<!-- <view class="get-code" :style="{'color':getCodeBtnColor}" @click.stop="getCode()">{{getCodeText}}</view> --> <!-- <view class="get-code" :style="{'color':getCodeBtnColor}" @click.stop="getCode()">{{getCodeText}}</view> -->
<input placeholder="请输入旧密码" v-model="phoneNumber" placeholder-style="color: rgba(255,255,255,0.8);"/> <input placeholder="请输入旧密码" v-model="phoneNumber" placeholder-style="color: #333333;"/>
</view> </view>
<view class="code"> <view class="code">
<input placeholder="请输入新密码" v-model="code" password=true placeholder-style="color: rgba(255,255,255,0.8);"/> <input placeholder="请输入新密码" v-model="code" password=true placeholder-style="color: #333333;"/>
</view> </view>
<view class="password"> <view class="password">
<input placeholder="确认新密码" v-model="passwd" password=true placeholder-style="color: rgba(255,255,255,0.8);"/> <input placeholder="确认新密码" v-model="passwd" password=true placeholder-style="color: #333333;"/>
</view> </view>
<view class="btn" @click="sendUserPass">重置密码</view> <view class="btn" @click="sendUserPass">重置密码</view>

@ -13,19 +13,20 @@
</view> </view>
<view class="content"> <view class="content">
<view class="amount"> <view class="amount">
<view class="list"> <view class="list">
<view class="box" v-for="(amount,index) in amountList" :key="index" @tap="select(amount)" <view class="box" v-for="(amount,index) in amountList" :key="index" @tap="select(amount)"
:class="{'on':amount == inputAmount}"> :class="{'on':amount == inputAmount}">
{{amount}} <view class="heTitle">{{amount}}</view>
</view> <view class="font14">{{amount * 100}}</view>
</view> </view>
<view class="num"> </view>
<view class="text"> <view class="num">
自定义充值金额 <view class="text font13">
</view> 自定义充值金额(:{{inputAmount * 100}})
<view class="input"> </view>
<input type="number" v-model="inputAmount" /> <view class="input">
</view> <input type="number" v-model="inputAmount" />
</view>
</view> </view>
</view> </view>
</view> </view>
@ -205,31 +206,40 @@
.amount { .amount {
width: 100%; width: 100%;
.list { .list {
display: flow-root; width: 94%;
justify-content: space-between; margin-left: 3%;
padding: 20upx 0; display: flow-root;
justify-content: space-between;
.box { align-items: center;
width: 30%; padding: 20upx 0;
height: 120rpx;
float: left; .box {
margin-left: 3.333%; width: 30%;
margin-top: 20px; margin-left: 1%;
display: flex; margin-right: 2%;
justify-content: center; margin-top: 20upx;
align-items: center; float: left;
border-radius: 10rpx; height: 120upx;
box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.05); // line-height: 120upx;
font-size: 36rpx; display: inline-grid;
background-color: #f1f1f1; justify-content: center;
color: 333; align-items: center;
text-align: center;
&.on { box-shadow: 0upx 0upx 4upx #666666;
background-color: #0083f5; font-size: 36upx;
color: #fff; color: #089bf5;
} background-color: #f1f1f1;
} &.on {
background-color: #089bf5;
color: #ffffff;
}
}
.heTitle {
width: 100%;
font-size: 15px;
}
} }
.num { .num {

@ -110,6 +110,14 @@
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> <image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png">
</image>{{recinfo.deductionPrice*100}} </image>{{recinfo.deductionPrice*100}}
</view> </view>
</view>
<view class="row" v-if="recinfo.payGold">
<view class="left">
抵扣积分 :
</view>
<view class="right">
{{recinfo.payGold}}
</view>
</view> </view>
<view class="row"> <view class="row">
<view class="left"> <view class="left">

Loading…
Cancel
Save