Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
mallapp
Commits
61aa7e70
Commit
61aa7e70
authored
Sep 21, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ee761ac0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
13 deletions
+27
-13
guidecarGoodsdetails.vue
pages/guidecar/guidecarGoodsdetails.vue
+9
-3
guidecarList.vue
pages/guidecar/guidecarList.vue
+9
-6
index.vue
pages/guidecar/index.vue
+5
-3
pickcarcity.vue
pages/guidecar/pickcarcity.vue
+4
-1
No files found.
pages/guidecar/guidecarGoodsdetails.vue
View file @
61aa7e70
...
...
@@ -204,10 +204,10 @@
<text
class=
"btnsmall"
:style=
"
{ color: mc }">¥
</text>
<text
class=
"btnnumfont"
:style=
"
{ color: mc }"
>
{{
g
.
price
*
g
.
ride_n
um
}}
</text>
>
{{
g
.
price
*
RideN
um
}}
</text>
</view>
<text
style=
'font-size: 12px;margin-left: 5px;'
>
(
{{
g
.
price
}}
*
{{
g
.
ride_n
um
}}
)
</text>
<text
style=
'font-size: 12px;margin-left: 5px;'
>
(
{{
g
.
price
}}
*
{{
RideN
um
}}
)
</text>
</view>
<view
class=
'btnstyle'
@
click=
"goUrl()"
>
预订
...
...
@@ -274,6 +274,7 @@
showCoupons
:
false
,
SmallShopId
:
0
,
//分享微店id
uid
:
0
,
//分享的上级id
RideNum
:
1
,
//出行人数
}
},
onLoad
(
option
){
...
...
@@ -301,6 +302,9 @@
if
(
option
&&
option
.
Pickcar
){
this
.
Pickcar
=
option
.
Pickcar
}
if
(
option
&&
option
.
RideNum
){
//出行人数
this
.
RideNum
=
option
.
RideNum
}
if
(
option
&&
option
.
StartTime
){
this
.
STime
=
this
.
getTime
(
option
.
StartTime
)
this
.
StartTime
=
option
.
StartTime
...
...
@@ -543,7 +547,9 @@
uni.navigateTo({
url:'
/
pages
/
guidecar
/
place_order
?
GoodsId
=
'+this.GoodsId+'
&
Number
=
'+this.g.ride_num+'
&
ShoppingAddress
=
'+this.address+
'
&
StartTime
=
'+this.StartTime+
'
&
EndTime
=
'+this.EndTime
'
&
EndTime
=
'+this.EndTime+
'
&
RideNum
=
'+this.RideNum
})
...
...
pages/guidecar/guidecarList.vue
View file @
61aa7e70
...
...
@@ -67,7 +67,7 @@
</view>
</view>
<view
class=
"itemb"
style=
"justify-content: space-between;margin-top: 10px;"
>
<view
class=
"itemb"
style=
"
width: 200px;background: #FAF8F9;height:43px
;"
>
<view
class=
"itemb"
style=
"
max-width: 360rpx;height:43px ;padding-right: 3px
;"
>
<image
:src=
"x.guidephoto"
mode=
"aspectFill"
style=
"width: 30px;height: 30px;border-radius: 15px;"
></image>
<view
style=
"display: flex;flex-direction: column;justify-content: space-between;height: 30px;margin-left: 8px;"
>
<view
class=
"itemb"
>
...
...
@@ -169,7 +169,7 @@ export default {
onLoad
(
options
)
{
if
(
options
&&
options
.
item
){
let
item
=
JSON
.
parse
(
decodeURIComponent
(
options
.
item
))
console
.
log
(
item
)
this
.
msg
.
CarClass
=
item
.
CarClass
this
.
msg
.
CarType
=
item
.
CarType
this
.
msg
.
EndTime
=
item
.
EndTime
...
...
@@ -365,13 +365,16 @@ getGuideCarBrandList(){
uni
.
navigateTo
({
url
:
this
.
PagePath
+
'?GoodsId='
+
x
.
id
+
'&address='
+
this
.
address
+
'&Pickcar='
+
this
.
Pickcar
+
'&StartTime='
+
this
.
msg
.
StartTime
+
'&EndTime='
+
this
.
msg
.
EndTime
'&EndTime='
+
this
.
msg
.
EndTime
+
'&RideNum='
+
this
.
msg
.
RideNum
})
}
else
{
//如果没有跳转地址的时候 默认
uni
.
navigateTo
({
url
:
'/pages/guidecar/guidecarGoodsdetails?GoodsId='
+
x
.
id
+
'&address='
+
this
.
address
+
'&Pickcar='
+
this
.
Pickcar
+
'&StartTime='
+
this
.
msg
.
StartTime
+
'&EndTime='
+
this
.
msg
.
EndTime
'&EndTime='
+
this
.
msg
.
EndTime
+
'&RideNum='
+
this
.
msg
.
RideNum
})
}
...
...
@@ -464,8 +467,8 @@ getGuideCarBrandList(){
text-overflow
:
ellipsis
;
font-weight
:
bold
;
}
.
c_t_r
.price
{
font-size
:
1
4
px
;
.
guidecarList
.price
{
font-size
:
1
2
px
;
color
:
#ff4544
;
}
.guidecarList
.line
{
...
...
pages/guidecar/index.vue
View file @
61aa7e70
...
...
@@ -47,7 +47,7 @@
<view
class=
"topB"
v-if=
"info.IsShowCarClass==1"
@
click=
"show=true"
>
<span
class=
'titext'
>
车辆类型
</span>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<span
class=
'ztext'
:style=
"
{'color':msg.CarClass==''?'#E2E2E2':'#1C1E1F'}"
>
{{
carName
}}
</span><u-icon
name=
"arrow-down"
size=
"28"
color=
"#C8C8C8"
></u-icon>
<span
class=
'ztext'
style=
'color: #1C1E1F;'
>
{{
carName
}}
</span><u-icon
name=
"arrow-down"
size=
"28"
color=
"#C8C8C8"
></u-icon>
</view>
</view>
<view
class=
"topB"
v-if=
"info.IsShowTravelGuestNum==1"
style=
"align-items: center;"
>
...
...
@@ -298,6 +298,8 @@
},
(
res
)
=>
{
this
.
classList
=
res
.
data
let
obj
=
{
Name
:
"不限"
,
Id
:
0
}
this
.
classList
.
unshift
(
obj
)
this
.
classList
.
forEach
(
x
=>
{
x
.
checked
=
false
})
...
...
@@ -483,7 +485,8 @@
let
tic
=
0
;
that
.
classList
.
forEach
((
x
,
i
)
=>
{
if
(
x
.
Id
==
msg
.
CarClass
){
tic
=
i
+
1
console
.
log
(
i
)
tic
=
i
}
})
uni
.
navigateTo
({
...
...
@@ -561,7 +564,6 @@
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
padding
:
15px
0
;
}
...
...
pages/guidecar/pickcarcity.vue
View file @
61aa7e70
...
...
@@ -5,7 +5,7 @@
<u-search
action-text=
"搜索"
:focus=
"true"
:clearabled=
"true"
:show-action=
"true"
radius=
"40"
v-model=
"searchKey"
...
...
@@ -166,6 +166,9 @@
},
changeHandler
(
val
)
{
if
(
val
==
''
){
this
.
show
=
false
}
},
}
...
...
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