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
730a2e54
Commit
730a2e54
authored
Dec 28, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复放映 更新重新请求数据bug 修复 初始化 行程路线
parent
52d6355e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
App.vue
src/App.vue
+2
-2
index.vue
src/views/Editor/Thumbnails/index.vue
+4
-2
index.vue
src/views/Editor/index.vue
+3
-2
No files found.
src/App.vue
View file @
730a2e54
<
template
>
<div
v-if=
"isFinish"
style=
"height: 100vh;background: rgb(243, 246, 251);"
>
<
Screen
v-if=
"screening"
/
>
<Market
v-
else-
if=
"(market&&model!=2)||(market&&SalesEditor>0)"
></Market>
<
!--
<Screen
v-if=
"screening"
/>
--
>
<Market
v-if=
"(market&&model!=2)||(market&&SalesEditor>0)"
></Market>
<SellTemplate
v-else-if=
"model==2&&SalesEditor==0"
/>
<Editor
v-else-if=
"_isPC"
/>
<Mobile
v-else
/>
...
...
src/views/Editor/Thumbnails/index.vue
View file @
730a2e54
...
...
@@ -323,10 +323,12 @@ const ResolveTripDaysHandler = (items)=>{
let
elements
=
[]
if
(
items
.
length
>
0
){
let
topList
=
items
.
map
(
item
=>
{
return
item
.
top
})
let
heightList
=
items
.
map
(
item
=>
{
return
item
.
height
})
let
max
=
Math
.
max
.
apply
(
null
,
topList
);
let
min
=
Math
.
min
.
apply
(
null
,
topList
);
let
elementsHeight
=
max
-
min
let
maxh
=
Math
.
max
.
apply
(
null
,
heightList
)
let
mutils
=
max
-
min
let
elementsHeight
=
maxh
>
mutils
?
maxh
:
mutils
;
let
value
=
datas
.
DataSource
.
TravelAatas
.
simpleTripInfo
;
for
(
let
i
=
0
;
i
<
value
.
length
;
i
++
){
...
...
src/views/Editor/index.vue
View file @
730a2e54
<
template
>
<Screen
v-if=
"screening"
/>
<div
class=
"pptist-editor"
v-show=
"model!=3"
>
<EditorHeader
class=
"layout-header"
/>
<div
class=
"layout-content"
>
...
...
@@ -74,12 +74,13 @@ import ConfigService from '@/services/ConfigService'
import
{
VIEWPORT_SIZE
,
VIEWPORT_VER_SIZE
}
from
'@/configs/canvas'
import
ThumbnailSlide
from
'@/views/components/ThumbnailSlide/index.vue'
import
Screen
from
'@/views/Screen/index.vue'
const
slidesStore
=
useSlidesStore
()
const
TemplateTypeStore
=
useScreenStore
()
const
TempDataSourceStore
=
useScreenStore
()
const
{
slides
,
slideIndex
,
viewportRatio
}
=
storeToRefs
(
slidesStore
)
const
{
model
,
TemplateType
,
ConfigId
,
TempId
}
=
storeToRefs
(
TemplateTypeStore
)
const
{
screening
,
model
,
TemplateType
,
ConfigId
,
TempId
}
=
storeToRefs
(
TemplateTypeStore
)
const
pageTypesList
=
ref
([]
as
any
)
const
searchData
=
ref
({}
as
any
)
searchData
.
value
=
inject
(
injectKeyTemplate
)
...
...
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