diff --git a/pages.json b/pages.json index cdc9f21..80c1151 100644 --- a/pages.json +++ b/pages.json @@ -64,12 +64,21 @@ "enablePullDownRefresh": true } }, - - - + { + "path": "mine/memberCenter" + }, { "path": "mine/partner" }, + { + "path": "mine/withdraw" + }, + { + "path": "mine/verifyRecord" + }, + + + { "path": "mine/purse" }, @@ -106,9 +115,6 @@ { "path": "mine/commission" }, - { - "path": "mine/withdraw" - }, { "path": "mine/recharge" }, @@ -124,9 +130,6 @@ { "path": "home/addEnterprise" }, - { - "path": "mine/memberCenter" - }, { "path": "mine/recruit" }, diff --git a/pages_order/mine/partner.vue b/pages_order/mine/partner.vue index 2d6d702..a1e8c09 100644 --- a/pages_order/mine/partner.vue +++ b/pages_order/mine/partner.vue @@ -50,40 +50,6 @@ - - @@ -286,188 +252,4 @@ } } } - - .partner { - - // 合伙人信息 - .partner-info-bg { - background: $uni-color; - padding: 60rpx 0rpx; - - .partner-info { - display: flex; - align-items: center; - background: white; - border-radius: 20rpx; - box-sizing: border-box; - padding: 20rpx; - width: calc(100% - 40rpx); - margin: 0rpx auto; - - .profile-photo { - display: flex; - justify-content: center; - align-items: center; - width: 25%; - - .pro-img { - width: 170rpx; - height: 170rpx; - border-radius: 50%; - } - } - - .performance-information { - width: 75%; - padding: 0rpx 20rpx; - box-sizing: border-box; - - .user-info-base { - display: flex; - flex-wrap: wrap; - align-items: center; - border-bottom: 2px dashed $uni-color; - padding: 20rpx 0rpx; - - .username { - font-size: 36rpx; - } - - .user-tag { - background: black; - color: white; - margin-left: 20rpx; - border-radius: 20rpx; - padding: 3rpx 20rpx; - font-size: 28rpx; - } - } - - .live-performance { - display: flex; - flex-wrap: wrap; - padding: 20rpx 0rpx; - box-sizing: border-box; - - .live-performance-money { - width: 50%; - - .live-tag { - display: flex; - align-items: center; - justify-content: center; - background: #F99F9F; - color: #DC2828; - border-radius: 40rpx; - font-weight: bold; - font-size: 28rpx; - padding: 10rpx 0rpx; - } - - .money { - font-size: 45rpx; - color: $uni-color; - font-weight: bold; - - .unit { - font-size: 32rpx; - } - } - } - - .withdraw { - display: flex; - flex-direction: column; - justify-content: center; - align-items: flex-end; - width: 50%; - - .btn { - width: 90%; - display: flex; - align-items: center; - justify-content: center; - background: #DC2828; - color: white; - border-radius: 40rpx; - padding: 20rpx 0rpx; - font-weight: bold; - font-size: 32rpx; - } - } - } - } - } - } - - .tabs { - background: white; - } - - // 佣金列表 - .brokerage-list { - padding: 0rpx 20rpx; - - .brokerage-item { - display: flex; - align-items: center; - flex-wrap: wrap; - background: white; - margin: 20rpx 0rpx; - border-radius: 20rpx; - padding: 20rpx; - box-sizing: border-box; - - .brokerage-user { - width: 50%; - display: flex; - align-items: center; - flex-wrap: wrap; - - .pro-img { - width: 100rpx; - height: 100rpx; - } - - .name-time { - width: calc(100% - 100rpx); - padding: 0rpx 20rpx; - box-sizing: border-box; - - .name { - font-size: 32rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - - .time { - color: #999999; - font-size: 26rpx; - } - } - } - - .brokerage-money { - width: 50%; - display: flex; - flex-wrap: wrap; - justify-content: space-between; - - .order-money { - text { - margin-left: 10rpx; - } - } - - .money { - text { - color: #FEB814; - margin-left: 10rpx; - } - } - } - } - } - } \ No newline at end of file diff --git a/pages_order/mine/withdraw.vue b/pages_order/mine/withdraw.vue index 020dcc9..f5601b3 100644 --- a/pages_order/mine/withdraw.vue +++ b/pages_order/mine/withdraw.vue @@ -1,53 +1,68 @@ @@ -64,8 +79,19 @@ data() { return { form: { - money: '' + money: '', + name: '', }, + placeholderStyle: { + color: '#999999', + fontSize: '28rpx', + }, + customStyle: { + backgroundColor: '#F5F5F5', + border: 'none', + borderRadius: '16rpx', + padding: '28rpx 35rpx' + } } }, onShow() { @@ -74,6 +100,16 @@ }, methods: { withdraw() { //立即提现 + if (!this.form.name) { + uni.showToast({ + title: '请输入真实姓名', + icon: 'none' + }) + + return + } + + // todo if (this.form.money < 300) { return uni.showToast({ title: '未满300元不可提现哦!', @@ -126,131 +162,116 @@ \ No newline at end of file diff --git a/pages_order/static/withdraw/bg.png b/pages_order/static/withdraw/bg.png new file mode 100644 index 0000000..449b79f Binary files /dev/null and b/pages_order/static/withdraw/bg.png differ