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
cbd1d523
Commit
cbd1d523
authored
Mar 17, 2023
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
1b005a83
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
412 additions
and
303 deletions
+412
-303
style1.vue
src/components/goods/style1.vue
+6
-1
style2.vue
src/components/goods/style2.vue
+6
-9
details.vue
src/pages/ScenicSpotTicket/details.vue
+370
-277
detailsNew.vue
src/pages/detailsNew.vue
+30
-16
No files found.
src/components/goods/style1.vue
View file @
cbd1d523
<
template
>
<div
class=
"rounded-borders overflow-hidden q-pb-md"
:style=
"
{'width':width,'background-color':bgColor}" v-if="product">
<q-img
:src=
"product.ImgCover"
spinner-color=
"white"
:ratio=
"16/9"
fit=
"cover"
>
<q-img
:src=
"product.ImgCover
==''?'http://www.oytour.com':product.ImgCover
"
spinner-color=
"white"
:ratio=
"16/9"
fit=
"cover"
>
<div
class=
"absolute-top text-shadow"
style=
"background: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0));"
>
{{
formatEnum
(
product
.
ProductType
)
}}
</div>
<template
v-slot:error
>
<div
class=
"absolute-full flex flex-center bg-grey-3 text-white"
>
暫無圖片
</div>
</
template
>
</q-img>
<div
class=
"ellipsis-2-lines text-body1 q-ma-md cursor-pointer"
style=
"height: 74px;"
@
click=
"CommonJump(product,{},'blank')"
>
{{ product.Title }}
</div>
<div
class=
"text-subtitle2 text-weight-bolder text-dark q-mx-md"
>
...
...
src/components/goods/style2.vue
View file @
cbd1d523
<
template
>
<!--
<div
class=
"rounded-borders overflow-hidden q-pb-md"
:style=
"
{'width':width,'background-color':bgColor}" v-if="product">
<q-img
:src=
"product.ImgCover"
spinner-color=
"white"
:ratio=
"16/9"
fit=
"cover"
/>
<div
class=
"ellipsis-2-lines text-body1 q-ma-md cursor-pointer"
>
{{
product
.
Title
}}{{
product
.
Title
}}{{
product
.
Title
}}{{
product
.
Title
}}{{
product
.
Title
}}
</div>
<div
class=
"text-subtitle2 text-weight-bolder text-dark q-mx-md"
>
<span>
CNY
{{
moneyFormat
(
product
.
B2CPrice
,
2
)
}}
</span>
<span
class=
"f12 q-ml-sm"
>
起
</span>
</div>
</div>
-->
<div
class=
"rounded-borders overflow-hidden"
v-if=
"product"
>
<div
class=
"row"
:style=
"
{'background-color':bgColor}" >
<q-img
:src=
"product.ImgCover"
spinner-color=
"dark"
:ratio=
"4/3"
fit=
"cover"
class=
" col-5"
>
<q-img
:src=
"product.ImgCover
==''?'http://www.oytour.com':product.ImgCover
"
spinner-color=
"dark"
:ratio=
"4/3"
fit=
"cover"
class=
" col-5"
>
<div
class=
"absolute-top text-shadow"
style=
"background: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0));"
>
{{
formatEnum
(
product
.
ProductType
)
}}
</div>
<template
v-slot:error
>
<div
class=
"absolute-full flex flex-center bg-grey-3 text-white"
>
暫無圖片
</div>
</
template
>
</q-img>
<div
class=
"q-px-md col"
>
<div
class=
"ellipsis-2-lines text-body1 q-ma-md cursor-pointer"
style=
"height:50px;"
@
click=
"CommonJump(product,{},'blank')"
>
{{ product.Title }}
</div>
...
...
src/pages/ScenicSpotTicket/details.vue
View file @
cbd1d523
This diff is collapsed.
Click to expand it.
src/pages/detailsNew.vue
View file @
cbd1d523
...
...
@@ -146,12 +146,14 @@
<span
>
{{
dataList
.
aimPlaceName
}}
<span
class=
"q-mx-sm"
>
途徑:
</span>
<template
v-if=
"citys.length>0"
>
<span
class=
"q-mx-sm"
>
途徑:
</span>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
<span
v-if=
"i + 1 != citys.length"
class=
"q-mr-sm"
>
,
</span>
</span>
<span
v-for=
"(x, i) in citys"
:key=
"i"
>
<span
class=
"cursor-pointer"
>
{{
x
}}
</span>
<span
v-if=
"i + 1 != citys.length"
class=
"q-mr-sm"
>
,
</span>
</span>
</
template
>
</span>
</div>
<div
class=
"q-mt-md row"
>
...
...
@@ -580,7 +582,7 @@
'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"
:class="{
...
...
@@ -588,8 +590,17 @@
}"
>
取消政策
</div> -->
<div
class=
"q-mt-lg f12 text-grey-6"
>
<q-icon
name=
"iconfont icontishi"
class=
"q-mr-sm"
/>
<span
>
注意:由于站内商品来自全球各地,订单取消时间将依该供应商所在时区判定。供应商需
2-5
个工作天进行取消流程,依照您购买的商品取消政策收取手续费,并于取消流程完成后14
个工作天内退款。
</span
>
</div>
<div
<
!-- <
div
class="q-mt-lg trip-text q-mb-xl"
:class="{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
...
...
@@ -615,7 +626,7 @@
个工作天内退款。</span
>
</div>
</div>
</div>
-->
</div>
<
template
v-if=
"$q.platform.is.desktop"
>
...
...
@@ -703,9 +714,9 @@ export default {
loop
:
true
,
},
warnBuy
:
[
"未满 2 岁幼儿
不占位可免费参加(不含座位,餐点,门票,床位),请先于下订时在「备注栏」告知。
"
,
"未满 2 岁幼儿
我們將按照嬰兒價格執行。請下單是注意區分
"
,
"如需要單人房,請購買單房"
,
"不占床2-11(包含)岁幼童可购买儿童价,如需占床請購買
成人價
"
,
"不占床2-11(包含)岁幼童可购买儿童价,如需占床請購買
佔床產品
"
,
"12歲以上皆視同成人售價"
,
],
showOrderPreview
:
false
,
...
...
@@ -751,12 +762,12 @@ export default {
isActive
:
false
,
display
:
"溫馨提示"
,
},
{
val
:
"cancelTips"
,
top
:
0
,
isActive
:
false
,
display
:
"取消政策"
,
},
//
{
//
val: "cancelTips",
//
top: 0,
//
isActive: false,
//
display: "取消政策",
//
},
],
priceListHeight
:
0
,
stickyHeight
:
0
,
...
...
@@ -1227,6 +1238,9 @@ export default {
.line-feature
*
{
line-height
:
normal
!important
;
}
.line-feature
.draggable
{
position
:
absolute
;
}
.slider-item
{
transform
:
scale
(
1
);
transition-timing-function
:
ease
;
...
...
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