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
d57dac6a
Commit
d57dac6a
authored
Apr 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去滚动条
parent
5b812f62
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
97 additions
and
53 deletions
+97
-53
index.scss
src/common/index.scss
+8
-0
pages.json
src/pages.json
+4
-3
index.vue
src/pages/exam/index.vue
+2
-1
index.vue
src/pages/index/index.vue
+59
-39
course-detail.vue
src/pages/learn/course-detail.vue
+2
-1
exam.vue
src/pages/learn/exam.vue
+2
-1
base.vue
src/pages/settle/base.vue
+4
-3
file.vue
src/pages/settle/file.vue
+2
-1
pay-ensure.vue
src/pages/settle/pay-ensure.vue
+2
-1
select.vue
src/pages/settle/select.vue
+10
-2
sign-contract.vue
src/pages/settle/sign-contract.vue
+2
-1
No files found.
src/common/index.scss
View file @
d57dac6a
page
{
background-color
:
#fafafa
;
}
::-webkit-scrollbar
{
width
:
0
;
height
:
0
;
color
:transparent
;
display
:none
;
}
.btn-share
{
background-color
:
transparent
;
...
...
src/pages.json
View file @
d57dac6a
...
...
@@ -7,7 +7,8 @@
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationBarTitleText"
:
"首页"
,
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
true
}
},
{
...
...
@@ -203,8 +204,8 @@
"tabBar"
:
{
"color"
:
"#7A7E83"
,
"selectedColor"
:
"#007AFF"
,
"borderStyle"
:
"
black
"
,
"backgroundColor"
:
"#F
8F8F8
"
,
"borderStyle"
:
"
white
"
,
"backgroundColor"
:
"#F
FFFFF
"
,
"list"
:
[
{
"pagePath"
:
"pages/index/index"
,
...
...
src/pages/exam/index.vue
View file @
d57dac6a
...
...
@@ -584,6 +584,7 @@
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.noticeView
{
...
...
src/pages/index/index.vue
View file @
d57dac6a
<
template
>
<view
class=
"content"
>
<
view
style=
"width: 700rpx; height: 800rpx"
>
<
!--
<view
style=
"width: 700rpx; height: 800rpx"
>
--
>
<!--
<view
class=
"title-view"
>
充电桩自营平台
</view>
-->
<u-navbar
:is-back=
"false"
...
...
@@ -51,7 +51,7 @@
</u-sticky>
<view
class=
"order-view"
>
<!-- 入驻成功之后显示推荐订单列表 -->
<view
class=
"order-list-view"
>
<view
class=
"order-list-view"
v-if=
"loaded"
>
<!-- 入驻前-->
<view
v-if=
"needSettled"
class=
"tip-view"
>
<view
class=
"tip-title"
>
当前订单(笔)
</view>
...
...
@@ -84,12 +84,18 @@
v-else-if=
"!needSettled && orderList.length
<
=
0
"
class=
"no-order-view"
>
暂无订单
<
/view
>
<image
class=
"no-order-image"
:src=
"wudingdanImage"
></image>
<
text>
当前暂无订单
</text
>
</view>
</view>
</view>
<!--
</view>
-->
<!--
</scroll-view>
-->
<view
class=
"bottom-view"
>
<view
class=
"bottom-line-view"
></view>
<view
class=
"bottom-text"
>
我也是有底线哒
</view>
<view
class=
"bottom-line-view"
></view>
</view>
</view>
</
template
>
...
...
@@ -106,22 +112,8 @@ export default {
data
()
{
return
{
status
:
0
,
// 入驻状态:0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试',9=>'待提交'
triggered
:
false
,
location
:
[
116.3896
,
39.91917
],
// 经纬度
// list: [
// {
// image: "https://cdn.uviewui.com/uview/swiper/1.jpg",
// },
// {
// image: "https://cdn.uviewui.com/uview/swiper/2.jpg",
// },
// {
// image: "https://cdn.uviewui.com/uview/swiper/3.jpg",
// },
// ],
title
:
false
,
// mode: "round",
// indicatorPos: "bottomCenter",
title
:
"Hello"
,
loaded
:
false
,
needSettled
:
true
,
...
...
@@ -129,7 +121,7 @@ export default {
messageList
:
[],
loadStatus
:
[
"more"
,
"loading"
,
"noMore"
],
currentLoadStatus
:
"loading"
,
orderList
:
[
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
],
orderList
:
[],
search
:
{
token
:
""
,
pageNumber
:
0
,
...
...
@@ -165,11 +157,12 @@ export default {
},
shouyeyouImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'shouyeyou.png'
},
wudingdanImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'wudingdan.png'
}
},
onLoad
()
{
this
.
_freshing
=
false
;
this
.
triggered
=
false
;
},
onShow
()
{
// 每次进入页面都刷新入驻状态
...
...
@@ -180,6 +173,12 @@ export default {
this
.
loadOrderList
();
}
},
onPullDownRefresh
()
{
// 下拉刷洗
uni
.
stopPullDownRefresh
()
// 结束下拉刷新
},
methods
:
{
handleClick
()
{
// 点击了cell
console
.
log
(
'点击了cell'
)
...
...
@@ -322,18 +321,12 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.content
{
height
:
100vh
;
background-color
:
#f4f5f7
;
padding
:
0rpx
30rpx
0
30rpx
;
.scroll-view
{
::-webkit-scrollbar
{
/*隐藏滚轮*/
display
:
none
;
}
}
overflow-y
:auto
;
.title-view
{
color
:
#333333
;
font-weight
:
bold
;
...
...
@@ -435,7 +428,7 @@ export default {
.order-view
{
text-align
:
center
;
min-height
:
460rpx
;
.order-list-view
{
background-color
:
#ffffff
;
border-radius
:
12rpx
;
...
...
@@ -447,6 +440,18 @@ export default {
}
.no-order-view
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
color
:
#666666
;
font-size
:
28rpx
;
.no-order-image
{
width
:
374rpx
;
height
:
218rpx
;
margin-top
:
100rpx
;
margin-bottom
:
20rpx
;
}
}
.tip-view
{
...
...
@@ -473,4 +478,19 @@ export default {
}
}
}
.bottom-view
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
20rpx
40rpx
50rpx
40rpx
;
.bottom-line-view
{
background-color
:
#D5D5D5
;
height
:
2rpx
;
width
:
30%
;
}
.bottom-text
{
color
:
#999999
;
font-size
:
24rpx
;
}
}
</
style
>
src/pages/learn/course-detail.vue
View file @
d57dac6a
...
...
@@ -164,6 +164,7 @@ export default {
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.course-video
{
...
...
src/pages/learn/exam.vue
View file @
d57dac6a
...
...
@@ -227,6 +227,7 @@
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.exam-head
{
...
...
src/pages/settle/base.vue
View file @
d57dac6a
...
...
@@ -28,7 +28,7 @@
<image
class=
"item-image"
:src=
"mixingImage"
></image>
<text
class=
"label"
>
电工工龄(年)
</text>
</view>
<p
:class=
"['u-flex-1 u-text-right area',
{before:
!baseInfo.working_age
}]">
<p
:class=
"['u-flex-1 u-text-right area',
{before:
baseInfo.working_age === ''
}]">
{{
baseInfo
.
working_age
!==
''
?
workingAgeTxt
:
'去选择'
}}
</p>
<u-icon
name=
"arrow-right"
color=
"#2272FF"
size=
"28"
></u-icon>
...
...
@@ -119,7 +119,7 @@
submitStatus
()
{
const
baseInfo
=
this
.
baseInfo
//baseInfo.name && baseInfo.mobile &&
const
flag
=
baseInfo
.
service_area
&&
baseInfo
.
working_age
!==
''
&&
baseInfo
.
address
const
flag
=
baseInfo
.
service_area
.
length
>
0
&&
baseInfo
.
working_age
!==
''
&&
baseInfo
.
address
!==
''
return
flag
&&
!
this
.
saving
},
cityText
()
{
...
...
@@ -387,6 +387,7 @@
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.base-list
{
...
...
src/pages/settle/file.vue
View file @
d57dac6a
...
...
@@ -529,6 +529,7 @@ export default {
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.base-list
{
...
...
src/pages/settle/pay-ensure.vue
View file @
d57dac6a
...
...
@@ -231,6 +231,7 @@
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.base-list
{
...
...
src/pages/settle/select.vue
View file @
d57dac6a
...
...
@@ -412,7 +412,15 @@
<
style
lang=
"scss"
scoped
>
.content
{
background-color
:
#F3F3F3
;
background-color
:
#F4F5F7
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.nav-item
,
.age-item
{
...
...
@@ -447,7 +455,7 @@
}
.nav-item.active
{
background-color
:
#
ededed
;
background-color
:
#
F4F5F7
;
}
}
...
...
src/pages/settle/sign-contract.vue
View file @
d57dac6a
...
...
@@ -425,6 +425,7 @@
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow-y
:auto
;
}
.content-txt
{
...
...
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