Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
a3f0bcc2
Commit
a3f0bcc2
authored
Apr 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7b3012e0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
30 deletions
+18
-30
v-sortingproblem.vue
src/components/questiontype/v-sortingproblem.vue
+0
-2
webkit-form.vue
src/components/system/webkit-form.vue
+5
-6
newsType.vue
src/pages/system/newsType.vue
+1
-1
webkitManage.vue
src/pages/system/webkitManage.vue
+12
-21
No files found.
src/components/questiontype/v-sortingproblem.vue
View file @
a3f0bcc2
...
...
@@ -91,8 +91,6 @@
},
created
()
{
this
.
initConfig
();
console
.
log
(
this
.
data
[
1
],
'data1'
);
console
.
log
(
this
.
data
[
0
],
'data0'
);
},
methods
:
{
initConfig
()
{
...
...
src/components/system/webkit-form.vue
View file @
a3f0bcc2
...
...
@@ -8,10 +8,10 @@
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
网站导航信息
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"50"
:dense=
"false"
v-model=
"objOption.NavTitle"
ref=
"NavTitle"
class=
"col-12 q-pb-lg"
label=
"导航
大标题"
:rules=
"[val => !!val || '请填写导航大
标题']"
/>
<q-input
v-model=
"objOption.SubTitle"
class=
"col-12 q-pb-lg"
filled
type=
"textarea"
placeholder=
"导航子标题"
maxlength=
"
15
0"
/>
class=
"col-12 q-pb-lg"
label=
"导航
主标题"
:rules=
"[val => !!val || '请填写导航主
标题']"
/>
<q-input
v-model=
"objOption.SubTitle"
class=
"col-12 q-pb-lg"
filled
type=
"textarea"
placeholder=
"导航子标题"
maxlength=
"
30
0"
/>
<q-input
stack-label
maxlength=
"200"
:dense=
"false"
v-model=
"objOption.LinkUrl"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"
导航
地址"
/>
label=
"
链接
地址"
/>
<q-select
class=
"col-6 q-pb-lg"
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.NavType"
:options=
"NavTypeList"
emit-value
map-options
label=
"导航类型"
/>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
...
...
@@ -56,10 +56,10 @@
persistent
:
true
,
objOption
:
{
Id
:
0
,
NavTitle
:
''
,
//导航
大
标题
NavTitle
:
''
,
//导航
主
标题
SubTitle
:
''
,
//导航子标题
BgImg
:
''
,
// 导航背景图
LinkUrl
:
''
,
//
导航
地址
LinkUrl
:
''
,
//
链接
地址
NavType
:
0
//导航类型
},
optionTitle
:
""
,
...
...
@@ -100,7 +100,6 @@
GetWebNav
({
Id
:
this
.
saveObj
.
Id
}).
then
(
res
=>
{
console
.
log
(
res
,
'数据'
);
this
.
objOption
.
Id
=
res
.
Data
.
Id
;
this
.
objOption
.
NavTitle
=
res
.
Data
.
NavTitle
;
this
.
objOption
.
SubTitle
=
res
.
Data
.
SubTitle
;
...
...
src/pages/system/newsType.vue
View file @
a3f0bcc2
...
...
@@ -108,7 +108,7 @@
pageSize
:
12
,
rowsPerPage
:
12
,
TypeName
:
''
,
Status
:
-
1
Status
:
0
},
pageCount
:
0
,
isShowNewsForm
:
false
,
...
...
src/pages/system/webkitManage.vue
View file @
a3f0bcc2
...
...
@@ -4,15 +4,12 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.NavTitle"
label=
"导航
大图标
"
maxlength=
"20"
@
clear=
"resetSearch"
/>
v-model=
"msg.NavTitle"
label=
"导航
标题
"
maxlength=
"20"
@
clear=
"resetSearch"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.SubTitle"
label=
"导航子标题"
maxlength=
"20"
@
clear=
"resetSearch"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
option-value=
"Id"
option-label=
"Name"
standout=
"bg-primary text-white"
v-model=
"msg.NavType"
class=
"col-6 q-pr-lg q-pr-lg"
:options=
"NavTypeList"
emit-value
map-options
label=
"导航类型"
/>
<q-select
@
input=
"resetSearch"
option-value=
"Id"
option-label=
"Name"
standout=
"bg-primary text-white"
v-model=
"msg.NavType"
class=
"col-6 q-pr-lg q-pr-lg"
:options=
"NavTypeList"
emit-value
map-options
label=
"导航类型"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
...
...
@@ -75,25 +72,19 @@
return
{
columns
:
[{
name
:
'NavTitle'
,
label
:
'导航
大
标题'
,
label
:
'导航标题'
,
field
:
'NavTitle'
,
align
:
'left'
},
// {
// name: 'SubTitle',
// label: '导航子标题',
// field: 'SubTitle',
// align: 'left'
// },
{
name
:
'BgImg'
,
label
:
'
导航
背景图'
,
label
:
'背景图'
,
field
:
'BgImg'
,
align
:
'left'
},
{
name
:
'LinkUrl'
,
label
:
'
导航
地址'
,
label
:
'
链接
地址'
,
field
:
'LinkUrl'
,
align
:
'left'
},
...
...
@@ -139,7 +130,7 @@
NavTitle
:
""
,
SubTitle
:
""
,
NavType
:
0
,
Status
:
-
1
,
Status
:
0
,
},
pageCount
:
0
,
isShowWebkitForm
:
false
,
...
...
@@ -157,8 +148,8 @@
if
(
res
.
Code
==
1
)
{
this
.
NavTypeList
=
res
.
Data
;
let
obj
=
{
Id
:
0
,
Name
:
'不限'
Id
:
0
,
Name
:
'不限'
}
this
.
NavTypeList
.
unshift
(
obj
);
}
else
{
...
...
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