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
32559472
Commit
32559472
authored
Apr 08, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cb596063
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
news-form.vue
src/components/system/news-form.vue
+4
-5
newstype-form.vue
src/components/system/newstype-form.vue
+1
-1
webkit-form.vue
src/components/system/webkit-form.vue
+1
-1
No files found.
src/components/system/news-form.vue
View file @
32559472
...
...
@@ -7,16 +7,15 @@
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
网站新闻
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
style=
"float:left;"
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.Title"
ref=
"Title"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"标题"
:rules=
"[val => !!val || '请填写新闻标题']"
/>
<q-input
filled
stack-label
style=
"float:left;"
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.Content"
ref=
"Content"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"内容"
/>
<q-input
filled
stack-label
style=
"float:left;"
maxlength=
"200"
:dense=
"false"
v-model=
"objOption.Title"
ref=
"Title"
class=
"col-12 q-pb-lg"
label=
"标题"
:rules=
"[val => !!val || '请填写新闻标题']"
/>
<q-input
v-model=
"objOption.Content"
class=
"col-12 q-pb-lg"
filled
type=
"textarea"
placeholder=
"内容"
/>
</div>
<div
class=
"row wrap"
style=
"align-items:end;"
>
<q-select
option-value=
"Id"
option-label=
"TypeName"
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"objOption.TypeId"
:options=
"TypeList"
emit-value
map-options
label=
"类型"
/>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Img + ')' }" style="width:auto;height:200px" flat
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Img + ')' }" style="width:auto;height:200px
;background-repeat:no-repeat;background-size:cover;
" flat
hide-upload-btn max-files="1" label="类型图片" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
...
...
src/components/system/newstype-form.vue
View file @
32559472
...
...
@@ -10,7 +10,7 @@
<q-input
filled
stack-label
style=
"float:left;"
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.TypeName"
ref=
"TypeName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"新闻类型"
:rules=
"[val => !!val || '请填写类型名称']"
/>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Image + ')' }" style="width:auto;height:200px" flat
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Image + ')' }" style="width:auto;height:200px
;background-repeat:no-repeat;background-size:cover;
" flat
hide-upload-btn max-files="1" label="类型图片" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
...
...
src/components/system/webkit-form.vue
View file @
32559472
...
...
@@ -15,7 +15,7 @@
<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"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.BgImg + ')' }" style="width:auto;height:200px"
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.BgImg + ')' }" style="width:auto;height:200px
;background-repeat:no-repeat;background-size:cover;
"
flat hide-upload-btn max-files="1" label="导航背景图" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
...
...
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