Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
million
Commits
091a57e7
Commit
091a57e7
authored
Sep 28, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物说明,签证
parent
738398f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
5 deletions
+108
-5
detailsNew.vue
src/pages/detailsNew.vue
+108
-5
No files found.
src/pages/detailsNew.vue
View file @
091a57e7
...
...
@@ -590,7 +590,55 @@
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
購買須知
購買說明
</div>
<div
class=
"q-mt-lg trip-text q-pa-md rounded-borders q-mb-xl"
style=
"border: 1px dashed var(--q-color-warning)"
:class=
"{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
<div
v-html=
"
dataList.feature.shopRemark
? dataList.feature.shopRemark
: '暫無購買說明'
"
></div>
<div
class=
"q-mb-lg text-weight-bold fz18"
>
购物安排
</div>
<q-table
:data=
"dataList.shopList"
:columns=
"columns"
bordered
class=
"my-sticky-header-table no-shadow"
:hide-bottom=
"true"
>
<
template
v-slot:header
>
<q-tr
class=
"bg-orange-1"
>
<q-th
v-for=
"(item, i) in columns"
:key=
"i"
class=
"text-left"
>
<span
class=
"fz14 text-weight-bold"
>
{{
item
.
label
}}
</span>
</q-th>
</q-tr>
</
template
>
<
template
v-slot:body=
"props"
>
<q-tr
:props=
"props"
>
<q-td
key=
"cityName"
:props=
"props"
>
<span>
{{
props
.
row
.
cityName
}}
</span>
</q-td>
<q-td
key=
"shopName"
:props=
"props"
>
<span>
{{
props
.
row
.
shopName
}}
</span>
</q-td>
<q-td
key=
"visitTime"
:props=
"props"
>
<span>
{{
props
.
row
.
visitTime
}}
</span>
</q-td>
</q-tr>
</
template
>
</q-table>
</div>
<div
class=
"text-h5 text-weight-bold text-left q-mt-xl"
ref=
"order"
:class=
"{
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
訂單須知
</div>
<div
class=
"q-mt-lg trip-text bg-orange-1 q-pa-md rounded-borders q-mb-xl"
...
...
@@ -598,12 +646,35 @@
v-html=
"
dataList.feature.importantTip
? dataList.feature.importantTip
: '
暂无购买须
知'
: '
暫無訂單須
知'
"
:class=
"{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
></div>
<div
class=
"text-h5 text-weight-bold text-left q-mt-xl"
ref=
"visa"
:class=
"{
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
簽證
</div>
<div
class=
"q-mt-lg trip-text q-pa-md rounded-borders q-mb-xl"
style=
"border: 1px dashed var(--q-color-warning)"
:class=
"{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
<div
class=
"text-weight-bold fz18 q-mb-md"
>
簽字須知
</div>
<div
v-html=
"
dataList.feature.visaRemark
? dataList.feature.visaRemark
: '暫無簽字須知'
"
></div>
</div>
<div
class=
"text-h5 text-weight-bold text-left q-mt-xl"
ref=
"tips"
...
...
@@ -624,7 +695,8 @@
:class=
"{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
></div>
>
</div>
<!-- <div
class="text-h5 text-weight-bold text-left q-mt-xl"
ref="cancelTips"
...
...
@@ -723,6 +795,25 @@ export default {
props
:
[],
data
()
{
return
{
columns
:
[{
name
:
"cityName"
,
required
:
true
,
label
:
"城市"
,
align
:
"left"
,
},
{
name
:
"shopName"
,
required
:
true
,
label
:
"購物店名稱"
,
align
:
"left"
,
},
{
name
:
"visitTime"
,
required
:
true
,
label
:
"預計停留時間"
,
align
:
"left"
,
},
],
tab
:
""
,
searchDate
:
""
,
clickDate
:
""
,
...
...
@@ -801,7 +892,19 @@ export default {
val
:
"warning"
,
top
:
0
,
isActive
:
false
,
display
:
"購買須知"
,
display
:
"購買說明"
,
},
{
val
:
"order"
,
top
:
0
,
isActive
:
false
,
display
:
"訂單須知"
,
},
{
val
:
"visa"
,
top
:
0
,
isActive
:
false
,
display
:
"簽證"
,
},
{
val
:
"tips"
,
...
...
@@ -1093,6 +1196,7 @@ export default {
(
r
)
=>
{
try
{
if
(
r
.
data
.
resultCode
==
1
&&
r
.
data
.
data
.
id
>
0
)
{
console
.
log
(
r
.
data
.
data
,
'shopRemark----------'
)
this
.
tripImages
=
[]
this
.
detailsImageList
=
[]
let
header
=
r
.
data
.
data
.
feature
.
headerImage
...
...
@@ -1119,7 +1223,6 @@ export default {
this
.
detailsImageList
.
push
(
obj
)
})
}
console
.
log
(
r
.
data
.
data
.
feature
.
detailsImageList
,
'=---'
)
// tripImageList detailsImageList headerImage footerImage
// this.getTripFeatureImageHandler(r.data.data.id)
this
.
dataList
=
r
.
data
.
data
;
...
...
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