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 6cbec3f7
authored
Jan 12, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
d33e4009
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
91 additions
and
8 deletions
linkwe-pc/src/components/PhoneTemplate.vue
linkwe-pc/src/views/intelligentShortLink/addEdit.vue
linkwe-pc/src/views/intelligentShortLink/detail.vue
linkwe-pc/src/components/PhoneTemplate.vue
View file @
6cbec3f
...
@@ -29,30 +29,27 @@ export default {
...
@@ -29,30 +29,27 @@ export default {
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
0
10px
;
padding
:
0
10px
;
position
:
relative
;
position
:
relative
;
width
:
3
00
px
;
width
:
3
75
px
;
height
:
64
0px
;
height
:
80
0px
;
background
:
url(../assets/drainageCode/preview-bg.png)
;
background
:
url(../assets/drainageCode/preview-bg.png)
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
.preview-title
{
.preview-title
{
position
:
absolute
;
position
:
absolute
;
top
:
37
px
;
top
:
55
px
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
}
}
.preview-content
{
.preview-content
{
position
:
relative
;
position
:
relative
;
height
:
545px
;
height
:
calc
(
100%
-
120px
)
;
overflow-y
:
auto
;
overflow-y
:
auto
;
top
:
70px
;
top
:
88px
;
//
left
:
50%
;
//
transform
:
translateX
(
-50%
);
border-bottom-left-radius
:
20px
;
border-bottom-left-radius
:
20px
;
border-bottom-right-radius
:
20px
;
border-bottom-right-radius
:
20px
;
}
}
...
...
linkwe-pc/src/views/intelligentShortLink/addEdit.vue
View file @
6cbec3f
This diff is collapsed.
Click to expand it.
linkwe-pc/src/views/intelligentShortLink/detail.vue
0 → 100644
View file @
6cbec3f
<
script
>
export
default
{
name
:
''
,
components
:
{},
data
()
{
return
{}
},
computed
:
{},
watch
:
{},
created
()
{},
mounted
()
{},
methods
:
{
getAnalysis
()
{
this
.
loading
=
true
getAnalysis
()
.
then
(({
data
})
=>
{
this
.
cardData
=
[
{
title
:
'访问总数(pv)'
,
tips
:
'短链页面访问的总次数'
,
value
:
data
.
pvTotalCount
,
},
{
title
:
'访问总人数(uv)'
,
tips
:
'短链页面访问的独立IP数'
,
value
:
data
.
uvTotalCount
,
},
{
title
:
'小程序打开数'
,
tips
:
'小程序成功打开的总次数'
,
value
:
data
.
openTotalCount
,
},
{
title
:
'今日访问总数(pv)'
,
tips
:
'今日短链页面访问的总次数'
,
value
:
data
.
pvTodayCount
,
title1
:
'较昨日'
,
value1
:
data
.
pvDiff
,
},
{
title
:
'今日访问总人数(uv)'
,
tips
:
'今日短链页面访问的独立IP数'
,
value
:
data
.
uvTodayCount
,
title1
:
'较昨日'
,
value1
:
data
.
uvDiff
,
},
{
title
:
'今日小程序打开数'
,
tips
:
'今日小程序成功打开的总次数'
,
value
:
data
.
openTodayCount
,
title1
:
'较昨日'
,
value1
:
data
.
openDiff
,
},
]
})
.
catch
((
e
)
=>
{
console
.
log
(
e
)
})
.
finally
(()
=>
{
this
.
loading
=
false
})
},
},
}
</
script
>
<
template
>
<div>
<div
class=
"fxbw"
>
<div
style=
"width: 40%"
>
<div
class=
"g-card g-pad20"
>
<div
class=
"title"
>
短链内容
</div>
</div>
</div>
<div
class=
"g-card g-pad20"
style=
"width: 40%; margin-top: 0"
>
<PhoneTemplate
:title=
"dictDesc[form.touchType].previewMobileTitle"
></PhoneTemplate>
</div>
</div>
<div
class=
"g-card g-pad20"
>
<div
class=
"title"
>
数据趋势
</div>
<CardGroupIndex
:data=
"cardData"
></CardGroupIndex>
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
></
style
>
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