Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
01a3ecb6
Commit
01a3ecb6
authored
Apr 14, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入驻高保真
parent
d9b1fb93
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
323 additions
and
206 deletions
+323
-206
index.vue
src/components/settle/index.vue
+41
-0
pages.json
src/pages.json
+9
-3
index.vue
src/pages/index/index.vue
+3
-2
base.vue
src/pages/settle/base.vue
+10
-8
file.vue
src/pages/settle/file.vue
+7
-1
index.vue
src/pages/settle/index.vue
+252
-191
prompt.vue
src/pages/settle/prompt.vue
+1
-1
bachground1@3x.png
src/static/settle/bachground1@3x.png
+0
-0
bachground2@3x.png
src/static/settle/bachground2@3x.png
+0
-0
bachground3@3x.png
src/static/settle/bachground3@3x.png
+0
-0
bachground4@3x.png
src/static/settle/bachground4@3x.png
+0
-0
bachground5@3x.png
src/static/settle/bachground5@3x.png
+0
-0
No files found.
src/components/settle/index.vue
0 → 100644
View file @
01a3ecb6
<
template
>
<view>
<u-navbar
style=
"position: absolute;"
title=
"入驻"
background=
"
{background: transparent}" :border-bottom="false"
back-icon-color="#ffffff" title-color="#ffffff">
</u-navbar>
<image
:src=
"url"
style=
"width: 100%;"
mode=
"widthFix"
></image>
<view
class=
"introduction"
>
<slot></slot>
</view>
</view>
</
template
>
<
script
>
export
default
{
props
:
{
index
:
{
type
:
Number
,
default
:
1
}
},
data
()
{
return
{}
},
computed
:
{
url
()
{
return
'../../static/settle/bachground'
+
this
.
index
+
'@3x.png'
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.introduction
{
border-radius
:
12rpx
;
margin-left
:
30rpx
;
margin-right
:
30rpx
;
margin-top
:
-112rpx
;
background-color
:
#FFFFFF
;
overflow
:
auto
;
height
:
calc
(
100vh
-
368rpx
);
}
</
style
>
src/pages.json
View file @
01a3ecb6
...
...
@@ -36,13 +36,17 @@
{
"path"
:
"pages/settle/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻"
"navigationBarTitleText"
:
"入驻"
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
}
},
{
"path"
:
"pages/settle/base"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻"
"navigationBarTitleText"
:
"入驻"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
}
},
{
...
...
@@ -125,7 +129,9 @@
{
"path"
:
"pages/settle/file"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻资料"
"navigationBarTitleText"
:
"入驻资料"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
}
},{
"path"
:
"pages/exam/start"
,
...
...
src/pages/index/index.vue
View file @
01a3ecb6
...
...
@@ -57,7 +57,7 @@
},
data
()
{
return
{
status
:
0
,
// 入驻状态:
1=>'待审核', 2=>'已通过', 3=>'备选', 4=>'已驳回', 5=>'已签约', 6=>'未支付保证金', 7=>'已支付保证金',
status
:
0
,
// 入驻状态:
0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试',9=>'待提交'
triggered
:
false
,
list
:
[{
image
:
'https://cdn.uviewui.com/uview/swiper/1.jpg'
,
...
...
@@ -126,7 +126,8 @@
const
callBack
=
(
vm
,
result
)
=>
{
// 后台自动判断入驻流程是否完成,前台通过status确定状态
if
(
result
&&
result
.
record
)
{
vm
.
status
=
result
.
record
.
status
// vm.status = result.record.status
vm
.
status
=
0
}
}
await
app
.
getBaseInfo
(
this
,
callBack
)
...
...
src/pages/settle/base.vue
View file @
01a3ecb6
<
template
>
<view
class=
"content"
>
<Settle
:index=
"2"
>
<view
class=
"title"
>
入驻基本信息
</view>
<view
class=
"base-list"
>
<!--view class="item item-input flex-yc">
...
...
@@ -48,11 +49,6 @@
placeholder-style=
'color:#CCCCCC;font-size:32rpx;'
/>
</view>
<view
class=
"tips bottom_padding_80"
>
(选填项)输入可投入交付服务的人员数量
</view>
<view
class=
"newAddressView"
>
<view
class=
"newAddressTitleView"
@
click=
"locationClick()"
>
<view
class=
"address"
>
...
...
@@ -82,23 +78,27 @@
<view
class=
"btn-wrap flex-xc"
>
<button
class=
"btn-submit"
:disabled=
"!submitStatus"
@
click=
"$u.debounce(submitBaseInfo, 500)"
>
<!--view class="">submitBaseInfo
</view-->
<!--button class="btn-submit" :disabled="!submitStatus" @click="submitBaseInfo()"-->
确定
</button>
</view>
</Settle>
</view>
</
template
>
<
script
>
import
Settle
from
'@/components/settle/index.vue'
let
r
=
require
(
"../../libs/bmap-wx.min.js"
);
let
h
=
new
r
.
BMapWX
({
// ak: "rpVq5d3yxaRCoKzVwmFMo0o4iC524CAG",
ak
:
"lF1HoyXdiv4uZx6TrGQEZs48F5y8kEHI"
});
export
default
{
components
:
{
Settle
},
data
()
{
return
{
baseInfo
:
{
...
...
@@ -345,7 +345,9 @@
let
timer
=
setTimeout
(()
=>
{
clearTimeout
(
timer
)
uni
.
navigateTo
({
url
:
'/pages/settle/file'
url
:
'/pages/settle/file'
,
"animationType"
:
"fade-in"
,
"animationDuration"
:
300
})
},
2000
)
},
...
...
src/pages/settle/file.vue
View file @
01a3ecb6
<
template
>
<view
class=
"page-content"
>
<Settle
:index=
"2"
>
<view
class=
"title"
>
入驻充电安装业务所需资料
</view>
<view
class=
"base-list"
>
<template
v-for=
"(fileItem, index) in formShowList"
>
...
...
@@ -41,11 +42,16 @@
}}
</button>
</view>
</Settle>
</view>
</template>
<
script
>
export
default
{
import
Settle
from
'@/components/settle/index.vue'
export
default
{
components
:
{
Settle
},
data
()
{
return
{
fileInfo
:
{
...
...
src/pages/settle/index.vue
View file @
01a3ecb6
This diff is collapsed.
Click to expand it.
src/pages/settle/prompt.vue
View file @
01a3ecb6
...
...
@@ -65,7 +65,7 @@
btnTxt
:
'去接单广场逛逛'
,
url
:
'/pages/take/index'
}],
// 入驻状态:0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试'
// 入驻状态:0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试'
,9=>'待提交'
status
:
''
,
info
:
null
,
...
...
src/static/settle/bachground1@3x.png
0 → 100644
View file @
01a3ecb6
72.7 KB
src/static/settle/bachground2@3x.png
0 → 100644
View file @
01a3ecb6
85.3 KB
src/static/settle/bachground3@3x.png
0 → 100644
View file @
01a3ecb6
68.8 KB
src/static/settle/bachground4@3x.png
0 → 100644
View file @
01a3ecb6
77.3 KB
src/static/settle/bachground5@3x.png
0 → 100644
View file @
01a3ecb6
75.8 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment