Commit 9d46be26 authored by Facius's avatar Facius

申请入驻高保真细节修改

parent 376b4247
...@@ -66,9 +66,10 @@ ...@@ -66,9 +66,10 @@
<view class="seat"></view> <view class="seat"></view>
<template v-slot:bottom> <template v-slot:bottom>
<view class="btn-wrap flex-xc"> <view class="btn-wrap flex-xc">
<button class="btn-submit" :disabled="!submitStatus" @click="$u.debounce(submitBaseInfo, 500)"> <u-button class="btn-submit" @click="$u.debounce(submitBaseInfo, 500)" :custom-style="buttonStyle"
确定 type="primary" shape="circle" :hover-class="submitStatus ? '' : 'none'">
</button> 下一步
</u-button>
</view> </view>
</template> </template>
</Settle> </Settle>
...@@ -123,15 +124,32 @@ ...@@ -123,15 +124,32 @@
}, },
cityText() { cityText() {
return this.areaTxts.join('、') return this.areaTxts.join('、')
}, },
anquanImage() { anquanImage() {
return qn_base_url + 'anquan.png' return qn_base_url + 'anquan.png'
}, },
mixingImage() { mixingImage() {
return qn_base_url + 'mixing.png' return qn_base_url + 'mixing.png'
}, },
dizhiImage() { dizhiImage() {
return qn_base_url + 'dizhi.png' return qn_base_url + 'dizhi.png'
},
buttonStyle() {
return this.submitStatus ? {
'color': '#FFFFFF',
'background-color': '#2272FF;',
'width': '600rpx',
'height': '104rpx',
'font-size': '32rpx',
'font-weight': 'bold'
} : {
'color': '#FFFFFF',
'background-color': '#D1D4D4;',
'width': '600rpx',
'height': '104rpx',
'font-size': '32rpx',
'font-weight': 'bold'
}
} }
}, },
components: { components: {
...@@ -572,20 +590,7 @@ ...@@ -572,20 +590,7 @@
.btn-wrap { .btn-wrap {
width: 100%; width: 100%;
.btn-submit { .btn-submit {}
width: 600rpx;
height: 104rpx;
line-height: 104rpx;
border-radius: 52rpx;
background: #2272FF;
font-size: 32rpx;
color: #fff;
&[disabled] {
background-color: #D1D4D4;
color: #FFFFFF;
}
}
} }
.itemView { .itemView {
...@@ -696,8 +701,10 @@ ...@@ -696,8 +701,10 @@
} }
.tip-image { .tip-image {
width: 34rpx; width: 30rpx;
height: 32rpx;
flex-shrink: 0;
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 2rpx; margin-top: 2rpx;
} }
</style> </style>
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<view class="back_view"> <view class="back_view">
<Settle :index="1"> <Settle :index="1">
<view class="content-view"> <view class="content-view">
<view v-for="(item, index) in contentTexts" :key="index" :class="['item-list', {last: contentTexts.length <= index + 1}]"> <view v-for="(item, index) in contentTexts" :key="index"
:class="['item-list', {last: contentTexts.length <= index + 1}]">
<view class="item"> <view class="item">
<view class="item-label"> <view class="item-label">
<text>{{item.title}}</text> <text>{{item.title}}</text>
...@@ -11,14 +12,15 @@ ...@@ -11,14 +12,15 @@
<text>{{item.content}}</text> <text>{{item.content}}</text>
</view> </view>
</view> </view>
<view class="line-view" v-if="contentTexts.length > index + 1"></view> <view class="line-view" v-if="contentTexts.length > index + 1"></view>
</view> </view>
</view> </view>
<template v-slot:bottom> <template v-slot:bottom>
<u-button class="bottom_btn" @click="$u.debounce(applyClick, 500)" :custom-style="buttonStyle" type="primary" shape="circle"> <u-button class="bottom_btn" @click="$u.debounce(applyClick, 500)" :custom-style="buttonStyle"
type="primary" shape="circle" :hover-class="isStop ? '' : 'none'">
<text class="bottom_title" v-if="!isStop">浏览 {{count}} 秒后可申请入驻</text> <text class="bottom_title" v-if="!isStop">浏览 {{count}} 秒后可申请入驻</text>
<text class="bottom_title" v-if="isStop">申请入驻</text> <text class="bottom_title" v-if="isStop">申请入驻</text>
</u-button> </u-button>
</template> </template>
</Settle> </Settle>
</view> </view>
...@@ -58,24 +60,24 @@ ...@@ -58,24 +60,24 @@
content: '1.身份证正反面照片\n\ content: '1.身份证正反面照片\n\
2.高/低压电工证正反面照片\n\ 2.高/低压电工证正反面照片\n\
3.车辆照片' 3.车辆照片'
}, { }, {
title: '注意事项', title: '注意事项',
content: '1.身份证,银行卡,签约人共有同一人,否则无法入驻。\n\ content: '1.身份证,银行卡,签约人共有同一人,否则无法入驻。\n\
2.充电桩材料按要求自行准备。' 2.充电桩材料按要求自行准备。'
}] }]
}, },
buttonStyle() { buttonStyle() {
return this.isStop ? { return this.isStop ? {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#2272FF;', 'background-color': '#2272FF;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx', 'height': '104rpx',
} : { } : {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#D1D4D4;', 'background-color': '#D1D4D4;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx' 'height': '104rpx'
} }
} }
}, },
onLoad(e) { onLoad(e) {
...@@ -201,13 +203,14 @@ ...@@ -201,13 +203,14 @@
height: 2rpx; height: 2rpx;
width: 100%; width: 100%;
margin-top: 30rpx; margin-top: 30rpx;
} }
.item-list { .item-list {
padding: 30rpx 30rpx 0rpx 30rpx; padding: 30rpx 30rpx 0rpx 30rpx;
&.last {
padding-bottom: 30rpx; &.last {
} padding-bottom: 30rpx;
}
} }
.item-label { .item-label {
...@@ -231,6 +234,7 @@ ...@@ -231,6 +234,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.bottom_title { .bottom_title {
color: #fff; color: #fff;
} }
......
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