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
06e1854b
Commit
06e1854b
authored
Jun 02, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a7dfa6a8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
25 deletions
+59
-25
buyNotice.vue
pages/restaurant/components/buyNotice.vue
+2
-2
package-good.vue
pages/restaurant/components/package-good.vue
+15
-5
restaurant-good.vue
pages/restaurant/components/restaurant-good.vue
+23
-6
detail.vue
pages/restaurant/detail.vue
+1
-1
buyNotice.vue
pages/ticketCoupons/components/buyNotice.vue
+9
-4
subscribeTicket.vue
pages/ticketCoupons/components/subscribeTicket.vue
+6
-5
detail.vue
pages/ticketCoupons/detail.vue
+2
-1
list.vue
pages/ticketCoupons/list.vue
+1
-1
No files found.
pages/restaurant/components/buyNotice.vue
View file @
06e1854b
...
...
@@ -24,7 +24,7 @@
<view
class=
"btn-box"
>
<view
class=
"price"
>
<text
class=
"price-pre"
>
¥
</text>
{{
mealData
.
LPriceB
}}
{{
$utils
.
getretailer
()
==
true
?
mealData
.
LPriceB
:
mealData
.
LPriceC
}}
</view>
<view
class=
"btn"
@
click=
"subscribe"
>
立即预订
...
...
@@ -128,7 +128,7 @@
.buy-notice-con
{
font-size
:
28rpx
;
font-family
:
PingFang
SC
;
font-weight
:
8
00
;
font-weight
:
6
00
;
color
:
#111111
;
}
.btn-box
{
...
...
pages/restaurant/components/package-good.vue
View file @
06e1854b
...
...
@@ -30,8 +30,9 @@
</view>
<view
class=
"price"
style=
"margin-top:10rpx;"
>
<text
class=
"f11"
style=
"margin-right: 10rpx;"
>
¥
</text>
<text
v-if=
"data.LPriceB"
>
{{
data
.
LPriceB
}}
</text>
<text
v-if=
"!data.LPriceB"
>
暂无报价
</text>
<!--
<text
v-if=
"data.LPriceB"
>
{{
data
.
LPriceB
}}
</text>
-->
<!--
<text
v-if=
"!data.LPriceB"
>
暂无报价
</text>
-->
<text>
{{
$utils
.
getretailer
()
==
true
?
data
.
LPriceB
:
data
.
LPriceC
}}
</text>
</view>
</view>
<view
class=
"rm-opera"
>
...
...
@@ -77,7 +78,15 @@
},
buyNoticeSuccess
(){
this
.
showBuyNotice
=
false
this
.
previewOrder
()
if
(
this
.
data
.
RemainingInventory
>
0
){
this
.
previewOrder
()
}
else
{
uni
.
showToast
({
title
:
"该套餐已售罄"
,
icon
:
"none"
})
}
},
seeBuyNotice
()
{
this
.
showBuyNotice
=
true
...
...
@@ -194,12 +203,13 @@
}
.package-good
.rm-left
{
width
:
17
4
rpx
;
height
:
2
57
rpx
;
width
:
17
5
rpx
;
height
:
2
13
rpx
;
border-radius
:
20
rpx
;
margin-right
:
30
rpx
;
position
:
relative
;
overflow
:
hidden
;
box-shadow
:
0px
10
rpx
30
rpx
0
rpx
rgba
(
36
,
36
,
36
,
0.2
);
}
.package-good
.rm-left
image
{
...
...
pages/restaurant/components/restaurant-good.vue
View file @
06e1854b
...
...
@@ -5,13 +5,14 @@
</view>
<view
class=
"restaurant-info"
>
<view
class=
"restaurant-name"
>
{{
data
.
Name
}}
</view>
<view
class=
"restaurant-start"
>
<
!--
<
view
class=
"restaurant-start"
>
<view
class=
"other-rate"
>
<text>
{{
data
.
Feature
}}
</text>
<text
class=
"feature"
>
{{
data
.
Feature
}}
</text>
<span
class=
"line"
></span>
</view>
</view>
<view
class=
"localtion"
>
{{
data
.
Address
}}
</view>
</view>
-->
<view
class=
"localtion feature"
>
{{
data
.
Feature
}}
</view>
<view
class=
"localtion feature addr"
>
{{
data
.
Address
}}
</view>
<view
style=
"display: flex;flex-wrap: wrap;"
>
<view
v-for=
"(item,index) in data.FoodTag"
:key=
"index"
>
<u-tag
:text=
"item"
bg-color=
"#FFF"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
size=
"mini"
style=
"margin-right: 20rpx;"
v-if=
"item"
></u-tag>
...
...
@@ -23,7 +24,8 @@
</view>
<view
class=
"price"
>
<text>
¥
</text>
<text
class=
"money"
>
{{
data
.
B2BPrice
}}
</text>
<!--
<text
class=
"money"
>
{{
data
.
B2BPrice
}}
</text>
-->
<text
class=
"money"
>
{{
$utils
.
getretailer
()
==
true
?
data
.
B2BPrice
:
data
.
B2CPrice
}}
</text>
<text>
/起
</text>
</view>
</view>
...
...
@@ -61,7 +63,7 @@
padding-bottom
:
30
rpx
;
border-bottom
:
1
rpx
solid
#E2E2E2
;
display
:
flex
;
align-items
:
center
;
/* align-items: center; */
}
.restaurant-list-item
.img-box
{
width
:
220
rpx
;
...
...
@@ -69,6 +71,7 @@
border-radius
:
20
rpx
;
overflow
:
hidden
;
margin-right
:
30
rpx
;
box-shadow
:
0
rpx
10
rpx
30
rpx
0
rpx
rgba
(
36
,
36
,
36
,
0.2
);
}
.restaurant-list-item
.img-box
image
{
width
:
100%
;
...
...
@@ -77,6 +80,7 @@
.restaurant-list-item
.restaurant-info
{
width
:
1px
;
flex
:
1
;
padding-top
:
20
rpx
;
}
.restaurant-list-item
.restaurant-info
.restaurant-name
{
font-weight
:
500
;
...
...
@@ -140,4 +144,17 @@
.restaurant-list-item
.restaurant-info
.price
.money
{
font-size
:
36
rpx
;
}
.feature
{
margin-top
:
20
rpx
;
text-align
:
justify
;
text-align-last
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
.addr
{
color
:
#111111
!important
;
}
</
style
>
pages/restaurant/detail.vue
View file @
06e1854b
...
...
@@ -353,7 +353,7 @@
let
data
=
{
MealName
:
item
.
MealName
,
date
:
this
.
Date
,
Unit_Price
:
item
.
LPriceB
,
Unit_Price
:
this
.
$utils
.
getretailer
()
==
true
?
item
.
LPriceB
:
item
.
LPriceC
,
MealId
:
item
.
Id
,
DiningId
:
this
.
details
.
ID
,
MakeDay
:
item
.
MakeDay
,
...
...
pages/ticketCoupons/components/buyNotice.vue
View file @
06e1854b
...
...
@@ -34,7 +34,7 @@
可订时间
</view>
<view
class=
"item-desc"
>
可订今日
{{
TicketData
.
AllTime
}}
</view>
</view>
<view
class=
"detail-info-item"
v-if=
"TicketData.OutTicket"
>
...
...
@@ -42,7 +42,7 @@
出票速度
</view>
<view
class=
"item-desc"
>
平均2秒出票
{{
TicketData
.
OutTicket
}}
</view>
</view>
<view
class=
"detail-info-item"
v-if=
"TicketData.ChangeTickets"
>
...
...
@@ -50,7 +50,7 @@
无需换票
</view>
<view
class=
"item-desc"
>
无需换票,持【身份证】直接进入
{{
TicketData
.
ChangeTickets
}}
</view>
</view>
<!-- 退票政策 -->
...
...
@@ -125,7 +125,7 @@
<view
class=
"detail-btn"
>
<view
class=
"price"
>
<text
class=
"price-pre"
>
¥
</text>
{{
TicketData
.
HPriceB
}}
{{
$utils
.
getretailer
()
==
true
?
TicketData
.
HPriceB
:
TicketData
.
HPriceC
}}
</view>
<view
class=
"btn"
@
click=
"success"
>
立即预订
...
...
@@ -175,6 +175,9 @@
}
}
},
mounted
()
{
console
.
log
(
this
.
TicketData
)
},
methods
:
{
goUrl
()
{
uni
.
navigateTo
({
...
...
@@ -318,6 +321,7 @@
margin-right
:
45rpx
;
text-align
:
center
;
line-height
:
38rpx
;
overflow
:
hidden
;
}
.item2-name
{
width
:
120rpx
;
...
...
@@ -331,6 +335,7 @@
margin-right
:
45rpx
;
text-align
:
center
;
line-height
:
38rpx
;
overflow
:
hidden
;
}
.item-desc
{
...
...
pages/ticketCoupons/components/subscribeTicket.vue
View file @
06e1854b
...
...
@@ -129,11 +129,12 @@
data
.
forEach
(
x
=>
{
let
obj
=
{}
obj
.
date
=
x
.
Year
+
'-'
+
x
.
Month
+
'-'
+
x
.
Day
;
// if(x.IsHavePrice==1){
obj
.
price
=
x
.
HPriceB
;
// }else{
// obj.price = "";
// }
if
(
x
.
IsHavePrice
==
1
){
let
p
=
this
.
$utils
.
getretailer
()
==
true
?
x
.
HPriceB
:
x
.
HPriceC
obj
.
price
=
p
;
}
else
{
obj
.
price
=
""
;
}
datePrice
.
push
(
obj
)
})
this
.
datePrice
=
datePrice
...
...
pages/ticketCoupons/detail.vue
View file @
06e1854b
...
...
@@ -119,7 +119,8 @@
{{
_item
.
TicketName
}}
</view>
<view
class=
"price"
>
<text
class=
"price-pre"
>
¥
</text>
{{
_item
.
HPriceB
}}
<text
<text
class=
"price-pre"
>
¥
</text>
{{
$utils
.
getretailer
()
==
true
?
_item
.
HPriceB
:
_item
.
HPriceC
}}
<text
class=
"price-nex"
>
起
</text>
</view>
<view
class=
"tag"
>
...
...
pages/ticketCoupons/list.vue
View file @
06e1854b
...
...
@@ -73,7 +73,7 @@
</view>
</view>
<view
class=
"SalesPrice"
>
<text
class=
"SalesPrice-pre"
>
¥
</text>
{{
item
.
Sales
Price
}}
<text
class=
"SalesPrice-nex"
>
起
</text>
<text
class=
"SalesPrice-pre"
>
¥
</text>
{{
$utils
.
getretailer
()
==
true
?
item
.
B2BPrice
:
item
.
B2C
Price
}}
<text
class=
"SalesPrice-nex"
>
起
</text>
</view>
</view>
</view>
...
...
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