Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
153178ce
Commit
153178ce
authored
May 31, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
241d8523
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
169 additions
and
12 deletions
+169
-12
style1.vue
components/goods/style1.vue
+24
-1
style2.vue
components/goods/style2.vue
+25
-2
style3.vue
components/goods/style3.vue
+24
-1
style4.vue
components/goods/style4.vue
+24
-1
style5.vue
components/goods/style5.vue
+24
-1
style6.vue
components/goods/style6.vue
+24
-1
style7.vue
components/goods/style7.vue
+24
-5
No files found.
components/goods/style1.vue
View file @
153178ce
...
@@ -92,7 +92,30 @@ export default {
...
@@ -92,7 +92,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style2.vue
View file @
153178ce
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</view>
</view>
<view
class=
"good-info"
>
<view
class=
"good-info"
>
<view
class=
"good-name"
v-if=
"goodsInfo.showGoodsName"
>
{{
item
.
name
}}
</view>
<view
class=
"good-name"
v-if=
"goodsInfo.showGoodsName"
>
{{
item
.
name
}}
</view>
<view
class=
"good-sub-name"
>
{{
item
.
subname
}}
</view>
<view
class=
"good-sub-name"
>
{{
item
.
subname
}}
</view>
<view
class=
"good-price-info"
>
<view
class=
"good-price-info"
>
<view
class=
"price"
>
<view
class=
"price"
>
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
price
)
:
''
}}
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
price
)
:
''
}}
...
@@ -92,7 +92,30 @@ export default {
...
@@ -92,7 +92,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style3.vue
View file @
153178ce
...
@@ -92,7 +92,30 @@ export default {
...
@@ -92,7 +92,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style4.vue
View file @
153178ce
...
@@ -73,7 +73,30 @@ export default {
...
@@ -73,7 +73,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style5.vue
View file @
153178ce
...
@@ -83,7 +83,30 @@ export default {
...
@@ -83,7 +83,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style6.vue
View file @
153178ce
...
@@ -75,7 +75,30 @@ export default {
...
@@ -75,7 +75,30 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
//线路
if
(
item
.
goodType
==
4
)
{
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style7.vue
View file @
153178ce
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</view>
</view>
<view
class=
"good-info"
>
<view
class=
"good-info"
>
<view
class=
"good-name"
v-if=
"goodsInfo.showGoodsName"
>
{{
item
.
name
}}
</view>
<view
class=
"good-name"
v-if=
"goodsInfo.showGoodsName"
>
{{
item
.
name
}}
</view>
<view
class=
"sencond-title"
>
这里的小文字介绍一点特色一类...
</view>
<view
class=
"sencond-title"
>
{{
item
.
subname
}}
</view>
<view
class=
"good-price-info"
>
<view
class=
"good-price-info"
>
<view>
<view>
<u-rate
<u-rate
...
@@ -96,10 +96,29 @@ export default {
...
@@ -96,10 +96,29 @@ export default {
},
},
methods
:
{
methods
:
{
openGood
(
item
)
{
openGood
(
item
)
{
if
(
this
.
IsEducation
==
1
){
//线路
uni
.
navigateTo
({
url
:
'/pages/school/courseInfo?GoodsId='
+
item
.
id
});
if
(
item
.
goodType
==
4
)
{
}
else
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
id
+
'&configId='
+
item
.
subid
});
}
//酒店
else
if
(
item
.
goodType
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/hotel/detail?id="
+
item
.
id
});
}
//餐食
else
if
(
item
.
goodType
==
2
)
{
uni
.
navigateTo
({
url
:
'/pages/restaurant/detail?id='
+
item
.
id
});
}
//景点
else
if
(
item
.
goodType
==
3
)
{
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/detail?id='
+
item
.
id
});
}
}
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
...
...
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