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
87838937
Commit
87838937
authored
Apr 21, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页
parent
ecfb6d4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
34 deletions
+49
-34
index.vue
src/pages/index/index.vue
+46
-31
prompt.vue
src/pages/settle/prompt.vue
+3
-3
No files found.
src/pages/index/index.vue
View file @
87838937
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
>
>
<text
class=
"title-view"
>
充电桩自营平台
</text>
<text
class=
"title-view"
>
充电桩自营平台
</text>
</u-navbar>
</u-navbar>
<u-swiper
<!--
<u-swiper
:height=
"240"
:height=
"240"
:list=
"list"
:list=
"list"
:indicator-pos=
"indicatorPos"
:indicator-pos=
"indicatorPos"
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
:interval=
"3000"
:interval=
"3000"
@
click=
"clickSwiper"
@
click=
"clickSwiper"
>
>
</u-swiper>
</u-swiper>
-->
<image
class=
"banner-image"
:src=
"bannerImage"
></image>
<view
class=
"msg-view"
>
<view
class=
"msg-view"
>
<view
class=
"msg-title"
>
最新消息
</view>
<view
class=
"msg-title"
>
最新消息
</view>
<view
class=
"msg-list-view"
>
<view
class=
"msg-list-view"
>
...
@@ -33,14 +35,14 @@
...
@@ -33,14 +35,14 @@
>
>
<view
class=
"msg-content-view"
>
<view
class=
"msg-content-view"
>
<view
class=
"left-view"
>
<view
class=
"left-view"
>
<image
class=
"msg-icon"
></image>
<image
class=
"msg-icon"
:src=
"msgStyleImage[item.content_type]"
></image>
<text>
{{
item
.
body
}}
</text>
<text>
{{
item
.
title
}}
</text>
</view>
</view>
<image
class=
"right-icon"
></image>
<image
class=
"right-icon"
:src=
"shouyeyouImage"
></image>
</view>
</view>
<view
<view
class=
"line-view"
class=
"line-view"
v-if=
"
messageList.length > index + 1
"
v-if=
"
index != 2
"
></view>
></view>
</view>
</view>
</view>
</view>
...
@@ -109,20 +111,20 @@ export default {
...
@@ -109,20 +111,20 @@ export default {
return
{
return
{
status
:
0
,
// 入驻状态:0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试',9=>'待提交'
status
:
0
,
// 入驻状态:0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试',9=>'待提交'
triggered
:
false
,
triggered
:
false
,
list
:
[
//
list: [
{
//
{
image
:
"https://cdn.uviewui.com/uview/swiper/1.jpg"
,
//
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/2.jpg",
},
//
},
{
//
{
image
:
"https://cdn.uviewui.com/uview/swiper/3.jpg"
,
//
image: "https://cdn.uviewui.com/uview/swiper/3.jpg",
},
//
},
],
//
],
title
:
false
,
title
:
false
,
mode
:
"round"
,
//
mode: "round",
indicatorPos
:
"bottomCenter"
,
//
indicatorPos: "bottomCenter",
title
:
"Hello"
,
title
:
"Hello"
,
loaded
:
false
,
loaded
:
false
,
needSettled
:
true
,
needSettled
:
true
,
...
@@ -149,13 +151,19 @@ export default {
...
@@ -149,13 +151,19 @@ export default {
"font-weight"
:
"bold"
,
"font-weight"
:
"bold"
,
};
};
},
},
msgStyle
()
{
msgStyle
Image
()
{
return
{
return
{
1
:
""
,
// 置顶
'1'
:
process
.
uniEnv
.
qn_base_url
+
"zhiding.png"
,
// 置顶
2
:
""
,
// 通知
'2'
:
process
.
uniEnv
.
qn_base_url
+
"tongzhi.png"
,
// 通知
3
:
""
,
// 消息
'3'
:
process
.
uniEnv
.
qn_base_url
+
"xiaoxi.png"
,
// 消息
};
}
},
},
bannerImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'banner.png'
},
shouyeyouImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'shouyeyou.png'
}
},
},
onLoad
()
{
onLoad
()
{
this
.
_freshing
=
false
;
this
.
_freshing
=
false
;
...
@@ -259,7 +267,7 @@ export default {
...
@@ -259,7 +267,7 @@ export default {
});
});
},
1000
);
},
1000
);
},
},
clickSwiper
(
index
)
{},
//
clickSwiper(index) {},
handleScroll
()
{
handleScroll
()
{
console
.
log
(
"-----scroll-------"
);
console
.
log
(
"-----scroll-------"
);
},
},
...
@@ -322,6 +330,12 @@ export default {
...
@@ -322,6 +330,12 @@ export default {
color
:
#333333
;
color
:
#333333
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
40rpx
;
font-size
:
40rpx
;
}
.banner-image
{
width
:
730rpx
;
height
:
280rpx
;
margin-left
:
-14rpx
;
}
}
.msg-view
{
.msg-view
{
...
@@ -329,14 +343,14 @@ export default {
...
@@ -329,14 +343,14 @@ export default {
color
:
#333333
;
color
:
#333333
;
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
padding
:
50
rpx
0rpx
30rpx
0rpx
;
padding
:
1
rpx
0rpx
30rpx
0rpx
;
}
}
.msg-list-view
{
.msg-list-view
{
border-radius
:
12rpx
;
border-radius
:
12rpx
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
6
rpx
30rpx
;
padding
:
12
rpx
30rpx
;
height
:
2
68
rpx
;
height
:
2
52
rpx
;
}
}
.msg-content
{
.msg-content
{
...
@@ -356,13 +370,14 @@ export default {
...
@@ -356,13 +370,14 @@ export default {
.msg-icon
{
.msg-icon
{
width
:
80rpx
;
width
:
80rpx
;
height
:
36rpx
;
height
:
36rpx
;
margin-right
:
20rpx
;
}
}
}
}
.right-icon
{
.right-icon
{
width
:
14rpx
;
width
:
14rpx
;
height
:
24px
;
height
:
24
r
px
;
}
}
}
}
...
...
src/pages/settle/prompt.vue
View file @
87838937
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
return
process
.
uniEnv
.
qn_base_url
+
'erweima-bg.png'
return
process
.
uniEnv
.
qn_base_url
+
'erweima-bg.png'
},
},
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
if
(
e
)
{
if
(
e
)
{
if
(
e
.
pageIndex
)
{
if
(
e
.
pageIndex
)
{
this
.
pageIndex
=
e
.
pageIndex
;
this
.
pageIndex
=
e
.
pageIndex
;
...
@@ -114,8 +114,8 @@
...
@@ -114,8 +114,8 @@
// }
// }
},
},
onShow
()
{
onShow
()
{
if
(
!
this
.
settledInfo
)
{
if
(
!
this
.
settledInfo
)
{
this
.
getBaseInfo
()
this
.
getBaseInfo
()
}
}
},
},
...
...
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