Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
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
刘文虎
account-book
Commits
2e64e045
Commit
2e64e045
authored
Jul 27, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页分享页面替换
parent
758c4187
Pipeline
#2964
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
index.vue
pages/index/index.vue
+17
-9
create.vue
pages/maintain-bill/create.vue
+1
-1
No files found.
pages/index/index.vue
View file @
2e64e045
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
list
:
[],
list
:
[],
triggered
:
true
,
triggered
:
true
,
_freshing
:
false
,
_freshing
:
false
,
systemInfo
:
{}
systemInfo
:
{}
,
}
}
},
},
computed
:
{
computed
:
{
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
}
}
},
},
shareImage
()
{
shareImage
()
{
return
this
.
baseUrl
+
'
share_inde
x.png'
return
this
.
baseUrl
+
'
huiyuanfenxiangtu-red@3
x.png'
},
},
dingweidizhiImage
()
{
dingweidizhiImage
()
{
return
this
.
baseUrl
+
'dingweidizhi@3x.png'
return
this
.
baseUrl
+
'dingweidizhi@3x.png'
...
@@ -221,7 +221,10 @@ export default {
...
@@ -221,7 +221,10 @@ export default {
]
]
},
},
paddingTop
()
{
paddingTop
()
{
var
top
=
(
this
.
systemInfo
&&
this
.
systemInfo
.
safeAreaInsets
.
top
)
||
20
var
top
=
(
this
.
systemInfo
.
safeAreaInsets
&&
this
.
systemInfo
.
safeAreaInsets
.
top
)
||
20
// #ifdef APP-PLUS || H5
// #ifdef APP-PLUS || H5
return
44
+
top
return
44
+
top
// #endif
// #endif
...
@@ -392,15 +395,15 @@ export default {
...
@@ -392,15 +395,15 @@ export default {
if
(
checkVip
())
{
if
(
checkVip
())
{
return
true
return
true
}
else
{
}
else
{
if
(
userInfo
.
vip
.
code
==
'TEMPORARY'
)
{
if
(
this
.
userInfo
.
vip
.
code
==
'NO'
)
{
this
.
visible
=
true
}
else
{
this
.
$refs
.
uToast
.
show
({
this
.
$refs
.
uToast
.
show
({
duration
:
1500
,
duration
:
1500
,
title
:
'请先开通会员'
,
title
:
'请先开通会员'
,
type
:
'warning'
,
type
:
'warning'
,
callback
:
()
=>
{},
callback
:
()
=>
{},
})
})
}
else
{
this
.
visible
=
true
}
}
return
false
return
false
}
}
...
@@ -421,12 +424,16 @@ export default {
...
@@ -421,12 +424,16 @@ export default {
})
})
},
},
handleClickShare
()
{
handleClickShare
()
{
experienceVip
()
console
.
log
(
'-----handleClickShare----'
)
.
then
((
res
)
=>
{})
if
(
this
.
userInfo
.
vip
.
code
==
'NO'
)
{
.
catch
((
res
)
=>
{})
experienceVip
()
.
then
((
res
)
=>
{})
.
catch
((
res
)
=>
{})
}
},
},
// 朋友圈
// 朋友圈
onShareTimeline
(
res
)
{
onShareTimeline
(
res
)
{
this
.
handleClickShare
()
return
{
return
{
title
:
'扳手记账'
,
title
:
'扳手记账'
,
path
:
`/pages/index/index?shareUserId=
${
this
.
userInfo
.
id
}
`
,
path
:
`/pages/index/index?shareUserId=
${
this
.
userInfo
.
id
}
`
,
...
@@ -435,6 +442,7 @@ export default {
...
@@ -435,6 +442,7 @@ export default {
},
},
// 好友
// 好友
onShareAppMessage
(
res
)
{
onShareAppMessage
(
res
)
{
this
.
handleClickShare
()
return
{
return
{
title
:
'扳手记账'
,
title
:
'扳手记账'
,
path
:
`/pages/index/index?shareUserId=
${
this
.
userInfo
.
id
}
`
,
path
:
`/pages/index/index?shareUserId=
${
this
.
userInfo
.
id
}
`
,
...
...
pages/maintain-bill/create.vue
View file @
2e64e045
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
:custom-style=
"customAreaStyle"
:custom-style=
"customAreaStyle"
:placeholder-style=
"placeholderStyle"
:placeholder-style=
"placeholderStyle"
v-model=
"form.remark"
v-model=
"form.remark"
placeholder=
"
填写维修备注信息
"
placeholder=
"
举例:修一台格力空调,压缩机800元,工时200元,合计1000元,质保1年。
"
/>
/>
</view>
</view>
</view>
</view>
...
...
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