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
86870662
Commit
86870662
authored
Sep 22, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5c994e5a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
11 deletions
+28
-11
njzz-calendar.vue
pages/guidecar/components/njzz-calendar/njzz-calendar.vue
+12
-2
guidecarGoodsdetails.vue
pages/guidecar/guidecarGoodsdetails.vue
+1
-1
guidedetails.vue
pages/guidecar/guidedetails.vue
+3
-2
place_order.vue
pages/guidecar/place_order.vue
+2
-2
rili.vue
pages/guidecar/rili.vue
+10
-4
No files found.
pages/guidecar/components/njzz-calendar/njzz-calendar.vue
View file @
86870662
...
@@ -53,6 +53,14 @@
...
@@ -53,6 +53,14 @@
mode
:{
mode
:{
type
:
String
,
type
:
String
,
default
:
"1"
//1:固定月份列表 2:传统日历模式(自由选择日期)
default
:
"1"
//1:固定月份列表 2:传统日历模式(自由选择日期)
},
curryear
:{
type
:
String
,
default
:
"2020"
//初始年份
},
currmonth
:{
type
:
String
,
default
:
"1"
//初始月份
}
}
},
},
data
(){
data
(){
...
@@ -69,8 +77,10 @@
...
@@ -69,8 +77,10 @@
mounted
()
{
mounted
()
{
this
.
today
=
new
Date
();
this
.
today
=
new
Date
();
this
.
nowMonth
=
{
this
.
nowMonth
=
{
year
:
this
.
today
.
getFullYear
(),
// year:this.today.getFullYear(),
month
:(
this
.
today
.
getMonth
()
+
1
<
10
)?
"0"
+
(
this
.
today
.
getMonth
()
+
1
)
:
this
.
today
.
getMonth
()
+
1
// month:(this.today.getMonth()+1
<
10
)?
"0"
+
(
this
.
today
.
getMonth
()
+
1
)
:
this
.
today
.
getMonth
()
+
1
,
year
:
this
.
curryear
,
month
:
this
.
currmonth
}
}
this
.
setMonthList
()
this
.
setMonthList
()
},
},
...
...
pages/guidecar/guidecarGoodsdetails.vue
View file @
86870662
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<view
class=
"row"
>
<view
class=
"row"
>
<span
class=
'skub_text'
>
导游信息
</span>
<span
class=
'skub_text'
>
导游信息
</span>
<view
class=
"row"
style=
"margin-left: 20px;"
>
<view
class=
"row"
style=
"margin-left: 20px;"
>
<
image
:src=
"g.guide_photo"
style=
"width: 36px; height: 36px;margin-right: 10px"
mode=
"widthFix"
></image
>
<
u-avatar
:src=
"g.guide_photo"
:size=
"68"
style=
'margin-right: 5px;'
></u-avatar
>
<view
class=
"column"
style=
"height: 36px;justify-content: space-between;"
>
<view
class=
"column"
style=
"height: 36px;justify-content: space-between;"
>
<view
class=
"row"
>
<view
class=
"row"
>
<span>
{{
g
.
guide_name
}}
</span>
<span>
{{
g
.
guide_name
}}
</span>
...
...
pages/guidecar/guidedetails.vue
View file @
86870662
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
<view
class=
"guide"
v-if=
'type==1'
>
<view
class=
"guide"
v-if=
'type==1'
>
<view
class=
"guide-top"
>
<view
class=
"guide-top"
>
<image
:src=
"guideModel.GuidePhoto"
style=
"width: 60px; height: 60px;margin-right: 10px"
mode=
"widthFix"
></image>
<u-avatar
:src=
"guideModel.GuidePhoto"
:size=
"120"
></u-avatar>
<view
class=
"column"
style=
"height: 36px;justify-content: space-between;"
>
<view
class=
"column"
style=
"height: 36px;justify-content: space-between;margin-left: 10px;"
>
<view
class=
"row"
>
<view
class=
"row"
>
<span>
{{
guideModel
.
Name
}}
</span>
<span>
{{
guideModel
.
Name
}}
</span>
</view>
</view>
...
...
pages/guidecar/place_order.vue
View file @
86870662
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
</image>
</image>
</view>
</view>
<view
style=
"width:48%"
>
<view
style=
"width:48%"
>
<view
class=
"order_big"
>
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
car_
name
}}
</view>
<view
class=
"order_big"
>
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
name
}}
</view>
<view
class=
"order_carBg"
style=
"margin-top:10px;"
>
<view
class=
"order_carBg"
style=
"margin-top:10px;"
>
<view
style=
"margin-bottom:5px;"
>
天数:
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
advance_day
}}
天
</view>
<view
style=
"margin-bottom:5px;"
>
天数:
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
advance_day
}}
天
</view>
<view
style=
"margin-bottom:5px;"
>
颜色:
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
carcolor_name
}}
</view>
<view
style=
"margin-bottom:5px;"
>
颜色:
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
carcolor_name
}}
</view>
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
<view
class=
"order_GName"
>
<view
class=
"order_GName"
>
<view
class=
"order_big order_comLeft"
>
匹配导游
</view>
<view
class=
"order_big order_comLeft"
>
匹配导游
</view>
<view
style=
"display: flex;align-items: center;"
>
<view
style=
"display: flex;align-items: center;"
>
<u-avatar
mode=
"circle"
style=
"margin-top:9px;"
:src=
"mchs[0].goods_list[0].goods_attr.guide_photo"
></u-avatar>
<u-avatar
mode=
"circle"
style=
"margin-top:9px;"
:s
ize=
"50"
:s
rc=
"mchs[0].goods_list[0].goods_attr.guide_photo"
></u-avatar>
<text
class=
"order_big"
style=
"margin-left:3px;"
>
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
guide_name
}}
</text>
<text
class=
"order_big"
style=
"margin-left:3px;"
>
{{
mchs
[
0
].
goods_list
[
0
].
goods_attr
.
guide_name
}}
</text>
</view>
</view>
</view>
</view>
...
...
pages/guidecar/rili.vue
View file @
86870662
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
<view>
<view>
<z-calendar
ref=
"calendar"
<z-calendar
ref=
"calendar"
:datePrice=
"datePrice"
:datePrice=
"datePrice"
:curryear=
'curryear'
:currmonth=
'currmonth'
howManyMonth=
"6"
howManyMonth=
"6"
mode=
"2"
mode=
"2"
@
changeDate=
"changeDate"
@
changeDate=
"changeDate"
...
@@ -63,6 +65,9 @@
...
@@ -63,6 +65,9 @@
},
},
use_day
:
0
,
use_day
:
0
,
GoodsId
:
0
,
GoodsId
:
0
,
curryear
:
0
,
currmonth
:
0
,
};
};
},
},
onLoad
(
options
){
onLoad
(
options
){
...
@@ -85,6 +90,8 @@
...
@@ -85,6 +90,8 @@
month
=
(
'0'
+
month
)
month
=
(
'0'
+
month
)
}
}
let
Month
=
year
+
'-'
+
month
let
Month
=
year
+
'-'
+
month
this
.
curryear
=
year
this
.
currmonth
=
month
this
.
getGoodsDateList
(
Month
)
this
.
getGoodsDateList
(
Month
)
}
}
...
@@ -128,11 +135,10 @@
...
@@ -128,11 +135,10 @@
goconfirm
(){
goconfirm
(){
let
StartTime
=
this
.
STime
.
year
+
'-'
+
this
.
STime
.
month
+
'-'
+
this
.
STime
.
day
+
' '
+
this
.
STime
.
hour
+
':'
+
this
.
STime
.
minute
+
':00'
;
let
StartTime
=
this
.
STime
.
year
+
'-'
+
this
.
STime
.
month
+
'-'
+
this
.
STime
.
day
+
' '
+
this
.
STime
.
hour
+
':'
+
this
.
STime
.
minute
+
':00'
;
let
EndTime
=
this
.
ETime
.
year
+
'-'
+
this
.
ETime
.
month
+
'-'
+
this
.
ETime
.
day
+
' '
+
this
.
ETime
.
hour
+
':'
+
this
.
ETime
.
minute
+
':10'
;
let
EndTime
=
this
.
ETime
.
year
+
'-'
+
this
.
ETime
.
month
+
'-'
+
this
.
ETime
.
day
+
' '
+
this
.
ETime
.
hour
+
':'
+
this
.
ETime
.
minute
+
':10'
;
console
.
log
(
this
.
qutime
)
console
.
log
(
this
.
stilltime
)
let
quT
=
this
.
timeToSec
(
this
.
qutime
)
let
quT
=
this
.
timeToSec
(
this
.
qutime
)
let
stillT
=
this
.
timeToSec
(
this
.
stilltime
)
let
stillT
=
this
.
timeToSec
(
this
.
stilltime
)
console
.
log
(
quT
,
stillT
)
if
(
this
.
use_day
==
0.5
){
if
(
this
.
use_day
==
0.5
){
if
(
quT
>=
stillT
){
if
(
quT
>=
stillT
){
uni
.
showToast
({
uni
.
showToast
({
...
@@ -206,7 +212,7 @@
...
@@ -206,7 +212,7 @@
);
);
},
},
btnStart
(
val
){
btnStart
(
val
){
console
.
log
(
val
)
if
(
this
.
timeType
==
1
){
if
(
this
.
timeType
==
1
){
this
.
qutime
=
val
.
hour
+
":"
+
val
.
minute
this
.
qutime
=
val
.
hour
+
":"
+
val
.
minute
this
.
STime
.
hour
=
val
.
hour
;
this
.
STime
.
hour
=
val
.
hour
;
...
...
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