Commit 7b73d3a8 authored by 黄奎's avatar 黄奎

页面修改

parent 3b4f5a8d
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
总金额:<span style="color:red;">{{item.TotalPrice}}</span> 总金额:<span style="color:red;">{{item.TotalPrice}}</span>
</div> </div>
<p style="margin: 25px 0;"> <p style="margin: 25px 0;">
<el-radio v-model="payWay" label="3">支付宝</el-radio>
<el-radio v-model="payWay" label="1">微信</el-radio> <el-radio v-model="payWay" label="1">微信</el-radio>
<el-radio v-model="payWay" label="3">支付宝</el-radio>
</p> </p>
<p> <p>
<input type="button" @click="getPayPic(item)" style="width:100%;margin-left:0;" class="normalBtn" <input type="button" @click="getPayPic(item)" style="width:100%;margin-left:0;" class="normalBtn"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
</template> </template>
<template v-if="isShowPic"> <template v-if="isShowPic">
<div> <div style="margin: 15px 0;">
<img :src="payPic" <img :src="payPic"
style="float: left; margin-right: 15px; width: 150px; height: 150px; border: 1px solid #ccc;" /> style="float: left; margin-right: 15px; width: 150px; height: 150px; border: 1px solid #ccc;" />
<p style="padding-right: 10px; font-size: 12px; line-height: 20px; margin-bottom: 10px;"> <p style="padding-right: 10px; font-size: 12px; line-height: 20px; margin-bottom: 10px;">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
props: ["item"], props: ["item"],
data() { data() {
return { return {
payWay: '3', payWay: '1',
payType: 211, payType: 211,
lastTime: '', lastTime: '',
isShowPic: false, isShowPic: false,
...@@ -133,7 +133,12 @@ ...@@ -133,7 +133,12 @@
if (hr > 0) { if (hr > 0) {
this.descHour = hr; this.descHour = hr;
} }
this.descMin = min + this.descHour * 60; if (Number(min + this.descHour * 60) > 9) {
this.descMin = Number(min + this.descHour * 60);
} else {
this.descMin = "0" + Number(min + this.descHour * 60);
}
this.descSecond = sec; this.descSecond = sec;
} else { } else {
this.isShowPic = false this.isShowPic = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment