Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c504387e
authored
Feb 15, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
a45d3639
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
33 deletions
linkwe-mobile/src/router/index.js
linkwe-mobile/src/views/redPacket/index.vue
linkwe-mobile/src/router/index.js
View file @
c504387
...
@@ -10,8 +10,8 @@ const routes = [
...
@@ -10,8 +10,8 @@ const routes = [
name
:
'Home'
,
name
:
'Home'
,
component
:
Home
,
component
:
Home
,
meta
:
{
meta
:
{
title
:
'首页'
title
:
'首页'
,
}
}
,
},
},
// 聊天素材
// 聊天素材
{
{
...
@@ -19,8 +19,8 @@ const routes = [
...
@@ -19,8 +19,8 @@ const routes = [
name
:
'chat'
,
name
:
'chat'
,
component
:
()
=>
import
(
'../views/chat'
),
component
:
()
=>
import
(
'../views/chat'
),
meta
:
{
meta
:
{
title
:
'chat'
title
:
'chat'
,
}
}
,
},
},
// 用户画像
// 用户画像
{
{
...
@@ -28,8 +28,8 @@ const routes = [
...
@@ -28,8 +28,8 @@ const routes = [
name
:
'portrait'
,
name
:
'portrait'
,
component
:
()
=>
import
(
'../views/portrait/index'
),
component
:
()
=>
import
(
'../views/portrait/index'
),
meta
:
{
meta
:
{
title
:
'portrait'
title
:
'portrait'
,
}
}
,
},
},
// 用户画像详情
// 用户画像详情
{
{
...
@@ -39,8 +39,8 @@ const routes = [
...
@@ -39,8 +39,8 @@ const routes = [
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
,
title
:
''
,
noAuth
:
true
noAuth
:
true
,
}
}
,
},
},
// 社群关系
// 社群关系
{
{
...
@@ -49,8 +49,8 @@ const routes = [
...
@@ -49,8 +49,8 @@ const routes = [
component
:
()
=>
import
(
'../views/portrait/community.vue'
),
component
:
()
=>
import
(
'../views/portrait/community.vue'
),
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
title
:
''
,
}
}
,
},
},
// 群活码扫描跳转页面
// 群活码扫描跳转页面
{
{
...
@@ -60,8 +60,8 @@ const routes = [
...
@@ -60,8 +60,8 @@ const routes = [
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
,
title
:
''
,
noAuth
:
true
noAuth
:
true
,
}
}
,
},
},
// 标签建群+群sop
// 标签建群+群sop
{
{
...
@@ -74,9 +74,9 @@ const routes = [
...
@@ -74,9 +74,9 @@ const routes = [
component
:
()
=>
import
(
'../views/communityOperating/task/list'
),
component
:
()
=>
import
(
'../views/communityOperating/task/list'
),
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
title
:
''
,
// noAuth: true
// noAuth: true
}
}
,
},
},
{
{
path
:
'state'
,
path
:
'state'
,
...
@@ -85,15 +85,15 @@ const routes = [
...
@@ -85,15 +85,15 @@ const routes = [
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
,
title
:
''
,
noAuth
:
true
noAuth
:
true
,
}
}
,
}
}
,
],
],
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
,
title
:
''
,
noAuth
:
true
noAuth
:
true
,
}
}
,
},
},
// 关键词群
// 关键词群
{
{
...
@@ -102,8 +102,8 @@ const routes = [
...
@@ -102,8 +102,8 @@ const routes = [
component
:
()
=>
import
(
'../views/communityOperating/keywords/index'
),
component
:
()
=>
import
(
'../views/communityOperating/keywords/index'
),
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
title
:
''
,
}
}
,
},
},
// 客户公海
// 客户公海
{
{
...
@@ -111,22 +111,22 @@ const routes = [
...
@@ -111,22 +111,22 @@ const routes = [
name
:
'highSeas'
,
name
:
'highSeas'
,
component
:
()
=>
import
(
'../views/highSeas/index'
),
component
:
()
=>
import
(
'../views/highSeas/index'
),
meta
:
{
meta
:
{
title
:
'公海分配'
title
:
'公海分配'
,
}
}
,
},
},
//
客户公海
//
红包
{
{
path
:
'/redPacket'
,
path
:
'/redPacket'
,
name
:
'redPacket'
,
name
:
'redPacket'
,
component
:
()
=>
import
(
'../views/redPacket/index'
),
component
:
()
=>
import
(
'../views/redPacket/index'
),
meta
:
{
meta
:
{
title
:
'红包'
title
:
'红包'
,
}
}
,
}
}
,
]
]
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
routes
routes
,
})
})
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
/* 路由发生变化修改页面title */
/* 路由发生变化修改页面title */
...
...
linkwe-mobile/src/views/redPacket/index.vue
View file @
c504387
...
@@ -8,7 +8,7 @@ export default {
...
@@ -8,7 +8,7 @@ export default {
loading
:
false
,
loading
:
false
,
visible
:
false
,
visible
:
false
,
finished
:
false
,
finished
:
false
,
type
:
'personal'
type
:
'personal'
,
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -32,15 +32,21 @@ export default {
...
@@ -32,15 +32,21 @@ export default {
this
.
finished
=
true
this
.
finished
=
true
}
}
},
1000
)
},
1000
)
}
},
}
showDialog
(
type
)
{
this
.
type
=
type
this
.
visible
=
true
},
},
}
}
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"red-packet"
>
<div
class=
"red-packet"
>
<div
class=
"personal"
>
<div
class=
"personal"
>
<van-button
type=
"info"
size=
"mini"
>
+ 发送个人红包
</van-button>
<van-button
type=
"info"
size=
"mini"
@
click=
"showDialog('personal')"
>
+ 发送个人红包
</van-button
>
</div>
</div>
<div>
<div>
<div
class=
"title"
>
企业红包
</div>
<div
class=
"title"
>
企业红包
</div>
...
@@ -49,7 +55,7 @@ export default {
...
@@ -49,7 +55,7 @@ export default {
<div
class=
"red-packet-message"
>
红包名称
</div>
<div
class=
"red-packet-message"
>
红包名称
</div>
<div
class=
"ar red-packet-list--right"
>
<div
class=
"ar red-packet-list--right"
>
<div
class=
"money"
>
¥50.00
</div>
<div
class=
"money"
>
¥50.00
</div>
<van-button
type=
"info"
size=
"small"
>
发送
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"showDialog('enterprise')"
>
发送
</van-button>
</div>
</div>
</div>
</div>
</van-list>
</van-list>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment