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
d8dc5dd7
Commit
d8dc5dd7
authored
Apr 20, 2021
by
Morson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
aaa6d7dc
3f7ff4bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
62 deletions
+78
-62
pages.json
src/pages.json
+1
-2
index.vue
src/pages/index/index.vue
+77
-60
No files found.
src/pages.json
View file @
d8dc5dd7
...
@@ -7,8 +7,7 @@
...
@@ -7,8 +7,7 @@
"path"
:
"pages/index/index"
,
"path"
:
"pages/index/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"首页"
,
"navigationBarTitleText"
:
"首页"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
"disableScroll"
:
true
}
}
},
},
{
{
...
...
src/pages/index/index.vue
View file @
d8dc5dd7
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"content"
>
<scroll-view
class=
"scroll-view"
scroll-y
style=
"height: 100%; width: 100%"
@
scrolltolower=
"reachBottom"
<!--
<scroll-view
class=
"scroll-view"
scroll-y
style=
"height: 100%; width: 100%"
@
scrolltolower=
"reachBottom"
@
scroll=
"handleScroll"
refresher-enabled
:refresher-triggered=
"triggered"
@
refresherrefresh=
"onRefresh"
@
scroll=
"handleScroll"
refresher-enabled
:refresher-triggered=
"triggered"
@
refresherrefresh=
"onRefresh"
scroll-anchoring
@
refresherrestore=
"onRestore"
@
refresherpulling=
"triggered = true"
:show-scrollbar=
"false"
scroll-anchoring
@
refresherrestore=
"onRestore"
@
refresherpulling=
"triggered = true"
:show-scrollbar=
"false"
enable-back-to-top
>
enable-back-to-top
>
-->
<view
style=
"width: 700rpx; height: 800rpx;"
>
<!--
<view
class=
"title-view"
>
充电桩自营平台
</view>
-->
<!--
<view
class=
"title-view"
>
充电桩自营平台
</view>
-->
<u-navbar
:is-back=
"false"
background=
"
{background: transparent}" :border-bottom="false" :is-fixed="false">
<u-navbar
:is-back=
"false"
background=
"
{background: transparent}" :border-bottom="false"
:is-fixed="false">
<text
class=
"title-view"
>
充电桩自营平台
</text>
<text
class=
"title-view"
>
充电桩自营平台
</text>
</u-navbar>
</u-navbar>
<u-swiper
:height=
"240"
:list=
"list"
:indicator-pos=
"indicatorPos"
:mode=
"mode"
:interval=
"3000"
<u-swiper
:height=
"240"
:list=
"list"
:indicator-pos=
"indicatorPos"
:mode=
"mode"
:interval=
"3000"
...
@@ -26,13 +28,14 @@
...
@@ -26,13 +28,14 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"order-view"
>
<!-- 订单推荐吸顶 -->
<!-- 订单推荐吸顶 -->
<u-sticky>
<u-sticky>
<view
class=
"sticky"
>
<view
class=
"sticky"
>
<text>
订单推荐
</text>
<text>
订单推荐
</text>
</view>
</view>
</u-sticky>
</u-sticky>
<view
class=
"order-view"
>
<!-- 入驻成功之后显示推荐订单列表 -->
<!-- 入驻成功之后显示推荐订单列表 -->
<view
class=
"order-list-view"
>
<view
class=
"order-list-view"
>
<view
v-if=
"status == 7 && orderList.length > 0"
class=
"order-item-view"
>
<view
v-if=
"status == 7 && orderList.length > 0"
class=
"order-item-view"
>
...
@@ -57,7 +60,8 @@
...
@@ -57,7 +60,8 @@
</view>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<!--
</scroll-view>
-->
</view>
</view>
</
template
>
</
template
>
...
@@ -127,6 +131,8 @@
...
@@ -127,6 +131,8 @@
return
{
return
{
'width'
:
'400rpx'
,
'width'
:
'400rpx'
,
'height'
:
'104rpx'
,
'height'
:
'104rpx'
,
'font-size'
:
'32rpx'
,
'font-weight'
:
'bold'
};
};
},
},
msgStyle
()
{
msgStyle
()
{
...
@@ -227,7 +233,8 @@
...
@@ -227,7 +233,8 @@
padding
:
0rpx
30rpx
0
30rpx
;
padding
:
0rpx
30rpx
0
30rpx
;
.scroll-view
{
.scroll-view
{
::-webkit-scrollbar
{
/*隐藏滚轮*/
::-webkit-scrollbar
{
/*隐藏滚轮*/
display
:
none
;
display
:
none
;
}
}
}
}
...
@@ -305,8 +312,14 @@
...
@@ -305,8 +312,14 @@
color
:
#8f8f94
;
color
:
#8f8f94
;
}
}
.order-view
{
// .sticky-view {
text-align
:
center
;
// position: sticky;
// position: -webkit-sticky;
// top: 0rpx;
// width: 100%;
// height: 200rpx;
// background-color: black;
// }
.sticky
{
.sticky
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
...
@@ -319,6 +332,10 @@
...
@@ -319,6 +332,10 @@
padding
:
46rpx
0
28rpx
0
;
padding
:
46rpx
0
28rpx
0
;
}
}
.order-view
{
text-align
:
center
;
.order-list-view
{
.order-list-view
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
...
@@ -350,7 +367,7 @@
...
@@ -350,7 +367,7 @@
.tip-other
{
.tip-other
{
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#333333
;
color
:
#333333
;
margin-bottom
:
5
0
rpx
;
margin-bottom
:
5
6
rpx
;
}
}
}
}
}
}
...
...
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