Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
9ef64b2f
Commit
9ef64b2f
authored
May 27, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 查看 排序
parent
e52c8f3d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
App.vue
src/App.vue
+6
-0
temDetails.vue
src/components/home/temDetails.vue
+6
-1
Index.vue
src/views/Market/Index.vue
+1
-1
Index.vue
src/views/TemplateCenter/Index.vue
+2
-2
No files found.
src/App.vue
View file @
9ef64b2f
...
...
@@ -50,6 +50,12 @@ const healthCheckHandler = async ()=>{
setInterval
(()
=>
{
healthCheckHandler
()
},
1000
*
60
)
onMounted
(
()
=>
{
window
.
onbeforeunload
=
function
(
event
)
{
event
.
preventDefault
();
};
})
</
script
>
<
style
lang=
"scss"
>
...
...
src/components/home/temDetails.vue
View file @
9ef64b2f
...
...
@@ -36,7 +36,12 @@
<div>
尺寸
</div>
<div
class=
"q-pt-lg"
>
<div
class=
"addTemplateBoxRec addTemplateBoxRecw136 rounded6 color0 text-center"
>
{{showCurrentTemplate.Width?showCurrentTemplate.Width:0}} * {{showCurrentTemplate.Height?showCurrentTemplate.Height:0}} px
<
template
v-if=
"!showCurrentTemplate.Width"
>
{{
showCurrentTemplate
.
TempType
==
1
?
'横版'
:
'竖版'
}}
</
template
>
<
template
v-else
>
{{
showCurrentTemplate
.
Width
?
showCurrentTemplate
.
Width
:
0
}}
*
{{
showCurrentTemplate
.
Height
?
showCurrentTemplate
.
Height
:
0
}}
px
</
template
>
</div>
</div>
</div>
...
...
src/views/Market/Index.vue
View file @
9ef64b2f
...
...
@@ -289,7 +289,7 @@ const queryObj = reactive({
TempType
:
0
,
TemplateType
:
TemplateType
,
//0 不限 1模版 2广告
type
:
0
,
OrderByType
:
0
,
//排序方式
OrderByType
:
1
,
//排序方式
})
const
queryColor
=
ref
({
DictKey
:
'Trip_Template_Color'
,
...
...
src/views/TemplateCenter/Index.vue
View file @
9ef64b2f
...
...
@@ -272,7 +272,7 @@ const queryObj = reactive({
TempType
:
0
,
TemplateType
:
TemplateType
,
//0 不限 1模版 2广告
type
:
0
,
sort
:
0
,
//排序方式
OrderByType
:
0
,
//排序方式
})
const
queryColor
=
ref
({
DictKey
:
'Trip_Template_Color'
,
...
...
@@ -548,7 +548,7 @@ const onSeasonNameChangeHandler = (row: Object) => {
//类型切换
const
onTypeChangeHandler
=
(
Type
:
string
,
num
:
Number
)
=>
{
if
(
num
==
1
){
queryObj
.
sort
=
Type
;
queryObj
.
OrderByType
=
Type
;
}
else
if
(
num
==
2
){
setTemplateType
.
value
=
Type
}
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