Commit 363bb646 authored by 李俊赕's avatar 李俊赕
parents 072a9fee 93c30daf
......@@ -5,6 +5,10 @@
<image :src="url" style="width: 100%;" mode="widthFix"></image>
<view class="introduction">
<slot></slot>
<view class="settle-bottom">
<slot name="bottom"></slot>
</view>
</view>
</view>
</template>
......@@ -41,5 +45,10 @@
background-color: #F4F5F7;
overflow: auto;
height: calc(100vh - 368rpx);
}
.settle-bottom {
position: fixed;
width: calc(100vw - 60rpx);
bottom: 44rpx;
}
</style>
<template>
<view class="back_view">
<Settle :index="1">
<Settle :index="1">
<view class="content-view">
<view class="item">
<view class="item-label">
<text>招募要求</text>
</view>
<view class="item-content">
<text>
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
</text>
</view>
</view>
<view class="item">
<view class="item-label">
<text>结算价格</text>
</view>
<view class="item-content">
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
</view>
</view>
<view class="item">
<view class="item-label">
<text>入驻资料</text>
<view class="item">
<view class="item-label">
<text>招募要求</text>
</view>
<view class="item-content">
<text>
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
</text>
</view>
</view>
<view class="item-content">
<text>
1.身份证正反面照片
2.高/低压电工证正反面照片
3.车辆照片
</text>
<view class="item">
<view class="item-label">
<text>结算价格</text>
</view>
<view class="item-content">
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
</view>
</view>
</view>
<view class="item">
<view class="item-label">
<text>注意事项:</text>
</view>
<view class="item">
<view class="item-label">
<text>入驻资料</text>
</view>
<view class="item-content">
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
2.充电桩材料按要求自行准备。
</text>
<text>
1.身份证正反面照片
2.高/低压电工证正反面照片
3.车辆照片
</text>
</view>
</view>
</view>
<button class="bottom_btn apply_color" style="margin-bottom: 88rpx;" @click="handleClick">
<text class="bottom_title">申请入驻</text>
</button>
</view>
<view class="item">
<view class="item-label">
<text>注意事项:</text>
</view>
<view class="item-content">
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
2.充电桩材料按要求自行准备。
</text>
</view>
</view>
</view>
<template v-slot:bottom>
<button :class="['bottom_btn', {'active': isStop}]" @click="$u.debounce(applyClick, 500)">
<text class="bottom_title" v-if="!isStop">浏览 {{count}} 秒后可申请入驻</text>
<text class="bottom_title" v-if="isStop">申请入驻</text>
</button>
</template>
</Settle>
</view>
</template>
......@@ -65,16 +68,24 @@
Settle
},
data() {
return {
clicked: false,
theme_url: 'https://qn-static.banshouhui.com/settle_theme.png?v=' + new Date().getTime(),
count: 9,
isStop: false,
settledInfo: null,
status: ''
status: '',
saving: true
}
},
onLoad(e) {
this.clicked = false
onLoad(e) {
this.initpageData(e)
this.startCounting()
},
onShow() {
// if(!this.settledInfo){
// this.getBaseInfo()
// }
uni.hideLoading()
},
methods: {
initpageData(option) {
......@@ -118,21 +129,39 @@
this.settledInfo = settledInfo
this.status = settledInfo.record.status
},
handleClick() {
if (this.clicked) return
this.clicked = true
this.applyClick()
startCounting: function() {
if (this.isStop) {
return
}
this.count = this.count - 1
if (this.count > 0) {
setTimeout(this.startCounting, 1000);
} else {
this.isStop = true
}
},
applyClick: async function() {
if (!this.isStop) {
return
}
this.saving = true
if (!this.settledInfo) {
await this.getBaseInfo()
this.jumpJudge()
this.saving = false
return
}
this.jumpJudge()
},
jumpJudge() {
this.clicked = false
if (this.status > 0) {
uni.navigateTo({
url: '/pages/settle/prompt'
......@@ -140,9 +169,7 @@
return
}
uni.navigateTo({
url: '/pages/settle/base',
"animationType": "fade-in",
"animationDuration": 300
url: '/pages/settle/base'
})
}
......@@ -159,28 +186,29 @@
width: 100%;
display: flex;
flex-direction: column;
}
.content {
background-color: #FFFFFF;
margin: 30rpx 0 30rpx 30rpx;
}
.item-label {
color: #333333;
font-weight: bold;
font-size: 32rpx;
margin-top: 36rpx;
margin-left: 30rpx;
}
.item-content {
color: #333333;
font-size: 26rpx;
margin-top: 30rpx;
margin-left: 30rpx;
line-height: 50rpx;
}
.bottom_btn {
.content-view {
background-color: #FFFFFF;
}
.item-label {
color: #333333;
font-weight: bold;
font-size: 32rpx;
padding-top: 36rpx;
margin-left: 30rpx;
}
.item-content {
color: #333333;
font-size: 26rpx;
margin-top: 30rpx;
margin-left: 30rpx;
line-height: 50rpx;
}
.bottom_btn {
width: 600rpx;
height: 104rpx;
line-height: 96rpx;
......@@ -189,27 +217,35 @@
display: flex;
align-items: center;
justify-content: center;
background-color: #D1D4D4;
&.active {
background-color: #2272FF;
&.apply_color {
// border: 4rpx solid #2272FF;
.bottom_title {
color: #fff;
}
}
.bottom_title {
color: #fff;
}
}
.bottom_title {
font-weight: bold;
font-size: 32rpx;
color: #2272FF;
color: #FFFFFF;
}
.default_color {
background-color: #fff;
background-color: #D1D4D4;
}
.apply_color {
background-color: #2272FF;
}
.bottom_view {
position: fixed;
bottom: 0;
height: 192rpx;
display: flex;
align-items: center;
}
</style>
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