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
e3dce555
Commit
e3dce555
authored
Sep 23, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
司导组件
parent
383a1003
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
725 additions
and
19 deletions
+725
-19
index.vue
components/guidecar/index.vue
+705
-0
guidecarGoodsdetails.vue
pages/guidecar/guidecarGoodsdetails.vue
+1
-2
index.vue
pages/guidecar/index.vue
+10
-10
pickcarcity.vue
pages/guidecar/pickcarcity.vue
+1
-0
index.vue
pages/index/index.vue
+8
-7
No files found.
components/guidecar/index.vue
0 → 100644
View file @
e3dce555
This diff is collapsed.
Click to expand it.
pages/guidecar/guidecarGoodsdetails.vue
View file @
e3dce555
...
...
@@ -133,8 +133,7 @@
<view
class=
"row"
style=
"justify-content: flex-start;"
>
<u-rate
:current=
"g.guide_score"
active-color=
"#FF8C10"
inactive-color=
"#DDDDDD"
active-color=
"#FEC471"
inactive-color=
"#DDDDDD"
active-icon=
"star"
inactive-icon=
"star-o"
size=
"20"
...
...
pages/guidecar/index.vue
View file @
e3dce555
...
...
@@ -324,16 +324,16 @@
},
getPickcar
(
Name
){
//选择取消地址
this
.
Pickcar
=
Name
this
.
request2
(
{
url
:
"/api/AppletGuideCar/GetLngAndLat"
,
data
:
{
Address
:
Name
},
},
(
res
)
=>
{
this
.
latitude
=
res
.
data
.
lng
;
this
.
longitude
=
res
.
data
.
lat
;
}
);
//
this.request2(
//
{
//
url: "/api/AppletGuideCar/GetLngAndLat",
//
data: {Address:Name},
//
},
//
(res) => {
//
this.latitude = res.data.lng;
//
this.longitude = res.data.lat;
//
}
//
);
},
radioChange
(
item
){
//车辆类型
this
.
carName
=
item
.
Name
;
...
...
pages/guidecar/pickcarcity.vue
View file @
e3dce555
...
...
@@ -139,6 +139,7 @@
let
pages
=
getCurrentPages
();
// 当前页面
let
beforePage
beforePage
=
pages
[
pages
.
length
-
2
];
// 前一个页面
// console.log( beforePage.$vm)
setTimeout
(()
=>
{
uni
.
navigateBack
({
delta
:
1
,
...
...
pages/index/index.vue
View file @
e3dce555
...
...
@@ -28,7 +28,7 @@
:bold=
"false"
@
change=
"changeHandler"
></u-tabs>
<button
@
click=
"gosid"
>
司导
</button>
<template
v-for=
"(item, i) in myPageData.home_pages.navs"
>
<view
:key=
"i"
v-if=
"active == i"
>
<template
v-for=
"(d, di) in item.template.data"
>
...
...
@@ -54,6 +54,7 @@
<quicknav
v-if=
"d.id == 'quick-nav' && d.data.navSwitch == 1"
:navs=
"d.data"
:key=
"di"
></quicknav>
<pingtuan
v-if=
"d.id == 'pintuan'"
:goods=
"d.data"
:key=
"di"
></pingtuan>
<shopinfo
v-if=
"d.id == 'shop-info' "
:ad=
"d.data"
:key=
"di"
ref=
"son"
></shopinfo>
<guide
v-if=
"d.id == 'drive-guide'"
:info=
"d.data"
ref=
'city'
></guide>
</
template
>
</view>
</template>
...
...
@@ -110,6 +111,7 @@ import coupon from "@/components/coupons/coupons";
import
pingtuan
from
"@/components/pingtuan/index"
;
import
shopinfo
from
"@/components/shopinfo/shopinfo"
;
import
auth
from
"@/components/auth/index.vue"
;
import
guide
from
"@/components/guidecar/index.vue"
;
export
default
{
data
()
{
...
...
@@ -163,6 +165,7 @@ export default {
pingtuan
,
shopinfo
,
auth
,
guide
},
onLoad
(
options
)
{
console
.
log
(
options
,
"option"
);
...
...
@@ -420,11 +423,6 @@ export default {
},
methods
:
{
gosid
(){
uni
.
navigateTo
({
url
:
'/pages/guidecar/index'
})
},
//调用获取code
getCode
(
obj
)
{
var
that
=
this
;
...
...
@@ -816,7 +814,10 @@ export default {
'&StartTime='
+
this
.
guidecar
.
StartTime
+
'&EndTime='
+
this
.
guidecar
.
EndTime
})
}
},
getPickcar
(
Name
){
//选择取消地址
this
.
$refs
.
city
[
0
].
getPickcar
(
Name
)
},
},
};
</
script
>
...
...
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