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 d5d57322
authored
Jan 31, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
804c484d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/views/intelligentShortLink/addEdit.vue
linkwe-uniapp/pages/index/index.vue
linkwe-pc/src/styles/element-ui.scss
View file @
d5d5732
...
...
@@ -206,6 +206,7 @@
.el-form-item
{
margin
:
0
!
important
;
padding
:
10px
;
transition
:
all
0
.2s
;
&
:hover
{
background
:
#e5f1fc
;
border-radius
:
10px
;
...
...
linkwe-pc/src/views/intelligentShortLink/addEdit.vue
View file @
d5d5732
...
...
@@ -49,6 +49,10 @@ export default {
this
.
loading
=
false
})
},
extensionTypeChange
(
val
)
{
let
touchTypeList
=
this
.
typeDict
[
val
].
touchType
this
.
form
.
type
=
Object
.
keys
(
touchTypeList
)[
0
]
},
goStep
(
type
)
{
this
.
$refs
.
add
.
$refs
.
form
.
clearValidate
()
},
...
...
@@ -127,7 +131,7 @@ export default {
</el-tooltip>
-->
</el-form-item>
<el-form-item
label=
"推广类型"
>
<el-radio-group
v-model=
"form.extensionType"
>
<el-radio-group
v-model=
"form.extensionType"
@
change=
"extensionTypeChange"
>
<el-radio-button
v-for=
"(item, key) in typeDict"
:key=
"key"
:label=
"+key"
>
{{
item
.
name
}}
</el-radio-button>
...
...
linkwe-uniapp/pages/index/index.vue
View file @
d5d5732
...
...
@@ -11,7 +11,7 @@
<div
class=
"mt20 mb20"
>
<image
style=
"width: 120px; height: 120px"
:src=
"data.avatar"
error=
"头像"
fit=
"fit"
></image>
</div>
<button
type=
"primary"
>
点击打开小程序
</button>
<button
type=
"primary"
@
tap=
"open()"
>
点击打开小程序
</button>
</div>
</
template
>
<
template
v-else
>
...
...
@@ -47,13 +47,13 @@
onLoad
(
options
)
{
const
query
=
options
.
query
;
// 这个就是你的参数,是个json对象
console
.
log
(
'onLoad options'
,
options
);
// 场景值为 1065
this
.
getDetail
(
query
.
route
)
},
created
()
{
// let id = this.$route.query.id
var
pages
=
getCurrentPages
()
var
page
=
pages
[
pages
.
length
-
1
]
console
.
log
(
'当前页面路由地址数据信息'
,
page
)
this
.
getDetail
(
page
.
route
)
// var pages = getCurrentPages()
// var page = pages[pages.length - 1]
// console.log('当前页面路由地址数据信息', page)
},
methods
:
{
getDetail
(
path
)
{
...
...
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