Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-app
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-app
Commits
b992107c
Commit
b992107c
authored
Mar 15, 2023
by
honghong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情
parent
0b2dd4d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
19 deletions
+59
-19
api/system/index.js
+1
-1
home/index/index.vue
+9
-4
my/invite/index.vue
+49
-14
No files found.
api/system/index.js
View file @
b992107c
...
...
@@ -8,7 +8,7 @@ const userNeedSquare = (params) => {
}
// 获取订单详细信息
const
orderDetailMsg
=
(
params
)
=>
{
return
ApiHttp
(
'/xinrenli/
article
'
,
params
,
'GET'
)
return
ApiHttp
(
'/xinrenli/
order/
'
,
params
,
'GET'
)
}
export
{
...
...
home/index/index.vue
View file @
b992107c
...
...
@@ -5,7 +5,7 @@
标题
</view>
<view
class=
""
>
灯泡坏了
{{
orderDetail
.
title
}}
</view>
</view>
<view
class=
"content-textarea"
>
...
...
@@ -13,7 +13,7 @@
成交金额
</view>
<view
class=
""
>
270
{{
orderDetail
.
actualAmount
}}
</view>
</view>
<view
class=
"content-photograph"
>
...
...
@@ -64,7 +64,8 @@
return
{
imgBgUrl
:
apiBaseConfig
.
imgBgUrl
,
globalData
:
getApp
().
globalData
,
scrollTopHeader
:
0
scrollTopHeader
:
0
,
orderDetail
:{}
};
},
onLoad
(
option
)
{
...
...
@@ -92,8 +93,12 @@
},
methods
:
{
getDetailData
(
id
){
let
that
=
this
orderDetailMsg
({
id
:
id
}).
then
(
res
=>
{
console
.
log
(
res
,
'详情'
)
console
.
log
(
res
.
data
,
'详情'
)
if
(
res
.
code
==
200
){
that
.
orderDetail
=
res
.
data
}
})
},
// 播放
...
...
my/invite/index.vue
View file @
b992107c
<
template
>
<view>
<view
class=
"index"
>
<view
class=
"index-content"
>
<view
class=
"index-content-item"
>
...
...
@@ -20,10 +22,7 @@
</view>
</view>
</view>
<u-button
text=
"继续邀请新用户"
color=
"#2C66FF"
:customStyle=
"
{
<u-button
text=
"继续邀请新用户"
color=
"#2C66FF"
:customStyle=
"
{
width: '710rpx',
height: '80rpx',
borderRadius: '10rpx',
...
...
@@ -31,14 +30,18 @@
position: 'absolute',
left: '20rpx',
bottom: '142rpx'
}"
>
</u-button>
}">
</u-button>
</view>
<!--
<view>
<button
class=
"invite-btn"
data-name=
"shareBtn"
open-type=
"share"
>
继续邀请新用户
</button>
</view>
-->
</view>
</
template
>
<
script
>
import
apiBaseConfig
from
'@/config/index.js'
;
export
default
{
import
apiBaseConfig
from
'@/config/index.js'
;
export
default
{
data
()
{
return
{
imgBgUrl
:
apiBaseConfig
.
imgBgUrl
,
...
...
@@ -46,21 +49,30 @@ export default {
scrollTopHeader
:
0
};
},
//分享
onShareAppMessage
()
{
return
{
title
:
'分享的标题'
}
},
onLoad
()
{},
methods
:
{}
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.index
{
.index
{
&-content
{
margin
:
24
rpx
20
rpx
;
width
:
calc
(
100%
-
20
rpx
*
2
);
&-item
{
margin-bottom
:
30
rpx
;
&-nav
{
margin-bottom
:
20
rpx
;
>
text
{
>text
{
display
:
inline-block
;
width
:
6
rpx
;
height
:
36
rpx
;
...
...
@@ -68,19 +80,23 @@ export default {
border-radius
:
3
rpx
;
margin-right
:
10
rpx
;
}
>
view
{
>
view
{
font-size
:
28
rpx
;
font-family
:
AlibabaPuHuiTi-Medium
,
AlibabaPuHuiTi
;
font-weight
:
500
;
color
:
#333333
;
>
text
{
>text
{
color
:
#2c66ff
;
}
}
}
&
-nav
:last-child
{
margin-bottom
:
0
rpx
;
}
&
-li
{
font-size
:
24
rpx
;
font-family
:
AlibabaPuHuiTi-Regular
,
AlibabaPuHuiTi
;
...
...
@@ -89,10 +105,29 @@ export default {
margin-bottom
:
10
rpx
;
padding-left
:
14
rpx
;
}
&
-li
:last-child
{
margin-bottom
:
0
rpx
;
}
}
}
}
}
.invite-btn
{
width
:
710
rpx
;
height
:
80
rpx
;
border-radius
:
10
rpx
;
//
padding
:
0
rpx
;
//
position
:
absolute
;
//
left
:
20
rpx
;
bottom
:
142
rpx
;
color
:
#FFFFFF
;
font-size
:
18px
;
text-align
:
center
;
line-height
:
80
rpx
;
background
:
#3476ff
;
//
transform
:
translate
(
50%
,
0
);
//
left
:
50%
;
//
margin-left
:
-350
rpx
;
}
</
style
>
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