@@ -91,7 +60,40 @@
payment: ["银联支付"],
money: 5000,
showQrcode: false,
- billQRCode: ''
+ billQRCode: '',
+ gradeIndex: 1,
+ gradeList: [
+ {
+ id: 1,
+ name: '黄金VIP',
+ price: '699元/年'
+ },
+ {
+ id: 2,
+ name: '铂金VIP',
+ price: '1999元/年'
+ },
+ {
+ id: 3,
+ name: '钻石VIP',
+ price: '2999元/年'
+ },
+ {
+ id: 4,
+ name: '实力厂家',
+ price: '20000元/年+交易保证金'
+ },
+ {
+ id: 5,
+ name: '实力加工厂',
+ price: '20000元/年+交易保证金'
+ },
+ {
+ id: 6,
+ name: '实力采购商',
+ price: '20000元/年+交易保证金'
+ }
+ ]
}
},
created() {},
@@ -108,8 +110,8 @@
});
},
- onChange(money) {
- this.money = money
+ onChange(index) {
+ this.gradeIndex = index
},
onPay() {
const date = new Date()
@@ -182,6 +184,7 @@
.grade-list {
display: flex;
+ flex-direction: column;
justify-content: space-between;
.item {
@@ -193,10 +196,9 @@
.title {
padding: 10px;
- border-right: 1px solid #eee;
display: flex;
align-items: center;
- width: 40px;
+ flex: 1;
justify-content: center;
text-align: center;
}
@@ -229,7 +231,6 @@
.item-box {
.title {
- border-right: 2px solid #bf2b28 !important;
color: #bf2b28;
}
diff --git a/pages/user/components/payment.vue b/pages/user/components/payment.vue
new file mode 100644
index 0000000..1a473ca
--- /dev/null
+++ b/pages/user/components/payment.vue
@@ -0,0 +1,303 @@
+
+
+
+ 交易保证金缴纳
+
+
+
+
+
保证金
+
+ ¥5000
+ 文字信息后台编辑
+
+
+
+
+
+
+
保证金
+
+ ¥10000
+ 文字信息后台编辑
+
+
+
+
+
+
+
保证金
+
+ ¥20000
+ 文字信息后台编辑
+
+
+
+
+
+
+
保证金说明
+
+ 保证金说明内容...
+
+
+
+
支付方式
+
+
+ {{ item }}
+
+
+
+
+
+
+
请打开手机微信,扫一扫完成支付
+
已完成支付
+
+ 立即支付
+
+
+
+
+
+
diff --git a/pages/user/user.vue b/pages/user/user.vue
index b9aab05..fb83011 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -24,23 +24,24 @@
平台权益
-
-
- 会员等级(临时)
-
-
-
- 购买增值服务(临时)
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
@@ -55,9 +56,10 @@ import Seal from './components/seal'
import Equity from './components/equity'
import Grade from './components/grade'
import Added from './components/added'
+import Payment from './components/payment'
export default {
- components: {Personal, BusinessCard, Seal, Equity, Grade, Added},
+ components: {Personal, BusinessCard, Seal, Equity, Grade, Added, Payment},
data() {
return {
currMenu: 'fadada',
@@ -71,6 +73,9 @@ export default {
methods: {
menuSelect(e) {
this.currMenu = e
+ },
+ onDone(index){
+ this.currMenu = index
}
}
}