Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
get-up-early
Overview
Overview
Details
Activity
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
baihong
get-up-early
Commits
07f95c0e
Commit
07f95c0e
authored
Apr 21, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:评论详情
parent
1d4e4590
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
178 additions
and
5 deletions
+178
-5
pages.json
pages.json
+9
-0
commentDetail.vue
pages/commentDetail/commentDetail.vue
+114
-0
home.vue
pages/home/home.vue
+55
-5
ic_good_02@2x.png
static/imgs/ic_good_02@2x.png
+0
-0
No files found.
pages.json
View file @
07f95c0e
...
@@ -74,6 +74,15 @@
...
@@ -74,6 +74,15 @@
}
}
}
}
,{
"path"
:
"pages/commentDetail/commentDetail"
,
"style"
:
{
"navigationBarTitleText"
:
"评论详情"
,
"enablePullDownRefresh"
:
false
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
...
...
pages/commentDetail/commentDetail.vue
0 → 100644
View file @
07f95c0e
<
template
>
<view
class=
"app"
>
<view
class=
"list"
>
<p>
大家起床时的样子?
</p>
<u-image
width=
"626rpx"
height=
"638rpx"
:src=
"src"
></u-image>
<view
class=
"smile"
>
<view
class=
"smile-item"
>
<image
style=
"width: 30rpx;height: 30rpx;"
src=
"../../static/imgs/ic_edit@2x.png"
mode=
""
></image>
233
</view>
<view
class=
"smile-item"
style=
"margin-right: 0;"
>
<image
style=
"width: 30rpx;height: 30rpx;"
src=
"../../static/imgs/ic_good_02@2x.png"
mode=
""
></image>
233
</view>
</view>
<view
class=
"msg"
>
realme: 哈哈,太有趣了,太有趣了
</view>
<view
class=
"msg"
>
realme: 哈哈,太有趣了,太有趣了
</view>
<view
class=
"zwb"
v-if=
"false"
>
+200(真我币)
<image
style=
"width: 26rpx;height: 26rpx;"
src=
"../../static/imgs/ic_dollar@2x.png"
mode=
""
></image>
</view>
<view
class=
"line"
></view>
<p
style=
'font-size: 28rpx;margin-bottom: 15rpx;'
>
收益详情
</p>
<view
class=
"sytext"
>
每天500/1000 每七天 500/1000
</view>
<view
style=
"margin-top: 30rpx;"
>
<view
class=
"sytext"
style=
"color: #555555;margin-bottom: 10rpx;"
>
realme: 点赞了你
</view>
<view
class=
"sytext"
>
帮您获得了100
</view>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
};
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app
{
padding-top
:
2
rpx
;
.sytext
{
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#999999
;
line-height
:
33
rpx
;
}
.list
{
width
:
690
rpx
;
background
:
#FFFFFF
;
border-radius
:
7
rpx
;
margin
:
20
rpx
auto
20
rpx
auto
;
padding
:
30
rpx
;
box-sizing
:
border-box
;
.line
{
width
:
626
rpx
;
border
:
1px
dashed
#DCDCDC
;
margin
:
40
rpx
0
;
}
.zwb
{
font-size
:
24
rpx
;
font-family
:
OpenSans-Bold
,
OpenSans
;
font-weight
:
bold
;
color
:
#FFC915
;
line-height
:
33
rpx
;
display
:
flex
;
align-items
:
center
;
}
.msg
{
font-size
:
24
rpx
;
font-family
:
OpenSans
;
color
:
#333333
;
line-height
:
33
rpx
;
margin
:
20
rpx
0
;
}
.smile
{
display
:
flex
;
justify-content
:
flex-end
;
margin-top
:
25
rpx
;
&-item{
display
:
flex
;
align-items
:
center
;
margin-right
:
65
rpx
;
font-size
:
24
rpx
;
font-family
:
OpenSans
;
font-weight
:
400
;
color
:
#555555
;
line-height
:
33
rpx
;
image{
width
:
40
rpx
;
height
:
40
rpx
;
margin-right
:
10
rpx
;
}
}
}
p
{
font-size
:
32
rpx
;
font-family
:
OpenSans
;
color
:
#000000
;
line-height
:
43
rpx
;
margin-bottom
:
30
rpx
;
}
}
}
</
style
>
pages/home/home.vue
View file @
07f95c0e
...
@@ -13,11 +13,11 @@
...
@@ -13,11 +13,11 @@
<text>
(真我币)
</text>
<text>
(真我币)
</text>
</view>
</view>
<view
class=
"header-right"
>
<view
class=
"header-right"
>
<view
class=
"tag"
>
<view
class=
"tag"
@
click=
"goMyRecord"
>
我的战绩
我的战绩
<image
src=
"../../static/imgs/ic_record@2x.png"
mode=
""
></image>
<image
src=
"../../static/imgs/ic_record@2x.png"
mode=
""
></image>
</view>
</view>
<view
class=
"user"
>
<view
class=
"user"
@
click=
"goUser"
>
个人中心
个人中心
<u-icon
name=
"arrow-right"
color=
"#000000"
size=
"28"
></u-icon>
<u-icon
name=
"arrow-right"
color=
"#000000"
size=
"28"
></u-icon>
</view>
</view>
...
@@ -146,6 +146,18 @@
...
@@ -146,6 +146,18 @@
</view>
</view>
</u-popup>
</u-popup>
<lottery
:show=
"showLottery"
/>
<lottery
:show=
"showLottery"
/>
<u-popup
:closeable=
'true'
v-model=
"showPay"
mode=
"center"
width=
"673rpx"
>
<view
class=
"popup"
>
<view
class=
"title"
>
立即支付
</view>
<view
class=
"pay"
>
<p>
1000
</p>
<text>
(真我币)
</text>
</view>
<view
class=
"pay-btn"
>
立即支付
</view>
</view>
</u-popup>
</view>
</view>
</
template
>
</
template
>
...
@@ -159,7 +171,8 @@
...
@@ -159,7 +171,8 @@
},
},
data
()
{
data
()
{
return
{
return
{
showLottery
:
true
,
showPay
:
true
,
showLottery
:
false
,
show
:
false
,
show
:
false
,
showUpload
:
false
,
showUpload
:
false
,
showSuccess
:
false
,
showSuccess
:
false
,
...
@@ -174,9 +187,14 @@
...
@@ -174,9 +187,14 @@
},
},
methods
:
{
methods
:
{
goSalesInquiry
()
{
goMyRecord
()
{
uni
.
navigateTo
({
url
:
'../myRecord/myRecord'
});
},
goUser
()
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'../
salesInquiry/salesInquiry
'
url
:
'../
user/user
'
});
});
},
},
chooseImage
()
{
chooseImage
()
{
...
@@ -309,6 +327,38 @@
...
@@ -309,6 +327,38 @@
}
}
}
}
.popup
{
.popup
{
padding-bottom
:
80
rpx
;
.pay-btn
{
width
:
590
rpx
;
height
:
74
rpx
;
background
:
#FFC915
;
border-radius
:
8
rpx
;
font-size
:
28
rpx
;
font-family
:
OpenSans-Bold
,
OpenSans
;
font-weight
:
bold
;
color
:
#000000
;
line-height
:
38
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
0
auto
;
}
.pay
{
margin-top
:
54
rpx
;
margin-bottom
:
65
rpx
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
p{
font-size
:
70
rpx
;
font-family
:
OpenSans
;
color
:
#333333
;
line-height
:
96
rpx
;
}
text
{
font-size
:
26
rpx
;
}
}
.title
{
.title
{
padding
:
30
rpx
35
rpx
;
padding
:
30
rpx
35
rpx
;
border-bottom
:
1
rpx
solid
#DCDCDC
;
border-bottom
:
1
rpx
solid
#DCDCDC
;
...
...
static/imgs/ic_good_02@2x.png
0 → 100644
View file @
07f95c0e
1.74 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