Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
fd3c1d0e
Commit
fd3c1d0e
authored
Jun 22, 2022
by
lijiongliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增提示
parent
dc1c22b0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
679 additions
and
468 deletions
+679
-468
personal.vue
pages/personal.vue
+7
-2
shop.vue
pages/shop.vue
+26
-3
callDetail.vue
pagesB/pages/move-car/callDetail.vue
+181
-147
myCall.vue
pagesB/pages/move-car/myCall.vue
+222
-197
myMoveCar.vue
pagesB/pages/move-car/myMoveCar.vue
+10
-0
myRecord.vue
pagesB/pages/move-car/myRecord.vue
+17
-1
oneMoveCar.vue
pagesB/pages/move-car/oneMoveCar.vue
+36
-1
recordDetail.vue
pagesB/pages/move-car/recordDetail.vue
+153
-113
scan.vue
pagesB/pages/move-car/scan.vue
+6
-1
detail.vue
pagesC/pages/shop/detail.vue
+6
-0
search.vue
pagesC/pages/shop/search.vue
+8
-2
userInfo.vue
pagesD/pages/personal/userInfo.vue
+7
-1
No files found.
pages/personal.vue
View file @
fd3c1d0e
...
...
@@ -141,7 +141,13 @@ export default {
url
:
'/pages/main'
});
});
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
...
...
@@ -228,7 +234,6 @@ export default {
if
(
this
.
userInfo
.
avatar
){
this
.
avatar
=
this
.
userInfo
.
avatar
}
}
})
},
...
...
pages/shop.vue
View file @
fd3c1d0e
...
...
@@ -145,6 +145,11 @@ export default {
// this.$refs.list.loadFail()
}
else
{
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
this
.
$u
.
random
(
100
,
1000
));
...
...
@@ -197,7 +202,13 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallList
=
res
.
data
.
data
.
rows
||
[]
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
getBoutiqueMallList
()
{
...
...
@@ -222,7 +233,13 @@ export default {
uni
.
setStorageSync
(
'refresh'
,
0
)
this
.
loading
=
"loadmore"
}
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
getImage
(
imageUrl
)
{
...
...
@@ -241,7 +258,13 @@ export default {
imgList
.
push
(
e
)
})
this
.
list3
=
imgList
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
// 轮播跳转其他页面
...
...
pagesB/pages/move-car/callDetail.vue
View file @
fd3c1d0e
...
...
@@ -3,168 +3,202 @@
* @Description: 呼叫记录详情
-->
<
template
>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
{{
vo
.
title
}}
</div>
<div
class=
"view__value"
>
{{
vo
.
value
}}
</div>
</div>
</div>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
</div>
</div>
</view>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
{{
vo
.
title
}}
</div>
<div
class=
"view__value"
>
{{
vo
.
value
}}
</div>
</div>
</div>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
</div>
</div>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
items
:
[{
title
:
"车主车牌号:"
,
value
:
""
},
{
title
:
"品牌:"
,
value
:
""
},
{
title
:
"车型:"
,
value
:
""
},
{
title
:
"车主手机号:"
,
value
:
""
},
{
title
:
"时间:"
,
value
:
""
},
{
title
:
"地点:"
,
value
:
""
},
{
title
:
"申请手机号:"
,
value
:
""
},
{
title
:
"通知方式:"
,
value
:
""
},
{
title
:
"通知类型:"
,
value
:
""
}
],
id
:
''
,
moveLog
:
''
,
};
},
methods
:
{
goBack
(){
uni
.
navigateBack
({
delta
:
1
})
},
getApplyMoveLog
(){
let
opts
=
{
url
:
'/app/moveLog/apply/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
){
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
||
''
})
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
){
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
||
''
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
export
default
{
data
()
{
return
{
items
:
[{
title
:
"车主车牌号:"
,
value
:
""
},
{
title
:
"品牌:"
,
value
:
""
},
{
title
:
"车型:"
,
value
:
""
},
{
title
:
"车主手机号:"
,
value
:
""
},
{
title
:
"时间:"
,
value
:
""
},
{
title
:
"地点:"
,
value
:
""
},
{
title
:
"申请手机号:"
,
value
:
""
},
{
title
:
"通知方式:"
,
value
:
""
},
{
title
:
"通知类型:"
,
value
:
""
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"请求他人挪车"
})
this
.
items
=
moveLogInfo
}
})
],
id
:
''
,
moveLog
:
''
,
};
},
methods
:
{
goBack
()
{
uni
.
navigateBack
({
delta
:
1
})
},
getApplyMoveLog
()
{
let
opts
=
{
url
:
'/app/moveLog/apply/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
||
''
})
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
||
''
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"请求他人挪车"
})
this
.
items
=
moveLogInfo
}
})
},
},
onShow
()
{
this
.
getApplyMoveLog
()
},
},
onShow
()
{
this
.
getApplyMoveLog
()
},
onLoad
(
option
)
{
this
.
id
=
option
.
id
},
}
onLoad
(
option
)
{
this
.
id
=
option
.
id
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.callDetail
{
padding
:
40rpx
0rpx
;
.callDetail
{
padding
:
40rpx
0rpx
;
.view__content
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
margin-bottom
:
60rpx
;
.view__content
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
margin-bottom
:
60rpx
;
.view__item
{
padding
:
34rpx
0rpx
;
margin
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
.view__item
{
padding
:
34rpx
0rpx
;
margin
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
.view__title
{
.view__title
{
font-size
:
32rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
font-size
:
32rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
.view__value
{
.view__value
{
font-size
:
28rpx
;
font-family
:
DIN
;
font-weight
:
500
;
color
:
#666666
;
}
}
font-size
:
28rpx
;
font-family
:
DIN
;
font-weight
:
500
;
color
:
#666666
;
}
}
.view__item
:nth-last-child
(
1
)
{
border-bottom
:
none
;
}
}
.view__item
:nth-last-child
(
1
)
{
border-bottom
:
none
;
}
}
.view__btn
{
width
:
670rpx
;
height
:
76rpx
;
text-align
:
center
;
line-height
:
76rpx
;
margin
:
0
auto
;
font-size
:
32rpx
;
}
.view__btn
{
width
:
670rpx
;
height
:
76rpx
;
text-align
:
center
;
line-height
:
76rpx
;
margin
:
0
auto
;
font-size
:
32rpx
;
}
.view__no__bind
{
background
:
url('@/static/move-car/move-car-view2.png')
no-repeat
;
margin-bottom
:
30rpx
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.view__no__bind
{
background
:
url('@/static/move-car/move-car-view2.png')
no-repeat
;
margin-bottom
:
30rpx
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
color
:rgba
(
153
,
153
,
153
,
1
)
;
}
}
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
}
</
style
>
pagesB/pages/move-car/myCall.vue
View file @
fd3c1d0e
...
...
@@ -3,208 +3,233 @@
* @Description: 我的呼叫记录
-->
<
template
>
<view
class=
"appCotent"
>
<div
class=
"myRecord"
>
<scroll-list
ref=
"list"
:option=
"option"
@
load=
"load"
@
refresh=
"refresh"
>
<div
class=
"record__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"item__top"
>
<div
class=
"top__time"
>
时间:
{{
vo
.
applyDate
}}
</div>
<div
class=
"top__state"
:class=
"vo.state==='微信'?'':'phone__state'"
>
{{
vo
.
confirmType
==
"1"
?
'电话'
:
'微信'
}}
</div>
</div>
<div
class=
"item__content"
>
<div>
车牌号:
{{
vo
.
carNo
}}
</div>
<div>
通知类型:
{{
type
}}
</div>
<div>
车主手机号:
{{
vo
.
applyUserMobile
?
vo
.
applyUserMobile
:
""
}}
</div>
</div>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
<view>
查看详情
</view>
</div>
</div>
</scroll-list>
</div>
</view>
<view
class=
"appCotent"
>
<div
class=
"myRecord"
>
<scroll-list
ref=
"list"
:option=
"option"
@
load=
"load"
@
refresh=
"refresh"
>
<div
class=
"record__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"item__top"
>
<div
class=
"top__time"
>
时间:
{{
vo
.
applyDate
}}
</div>
<div
class=
"top__state"
:class=
"vo.state==='微信'?'':'phone__state'"
>
{{
vo
.
confirmType
==
"1"
?
'电话'
:
'微信'
}}
</div>
</div>
<div
class=
"item__content"
>
<div>
车牌号:
{{
vo
.
carNo
}}
</div>
<div>
通知类型:
{{
type
}}
</div>
<div>
车主手机号:
{{
vo
.
applyUserMobile
?
vo
.
applyUserMobile
:
""
}}
</div>
</div>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
<view>
查看详情
</view>
</div>
</div>
</scroll-list>
</div>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
option
:
{
size
:
10
,
auto
:
true
},
items
:
[],
type
:
'请求他人挪车'
};
},
methods
:
{
// 加载数据
load
(
paging
)
{
setTimeout
(()
=>
{
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
this
.
items
=
[...
this
.
items
,
...
list
]
// 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)}
this
.
$refs
.
list
.
loadSuccess
({
list
:
this
.
items
,
total
:
res
.
data
.
total
});
}
else
{
// 加载失败
this
.
$refs
.
list
.
loadFail
()
}
})
},
this
.
$u
.
random
(
100
,
1000
));
},
// 刷新
refresh
(
paging
)
{
setTimeout
(()
=>
{
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
this
.
items
=
list
// 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)}
this
.
$refs
.
list
.
refreshSuccess
({
list
:
this
.
items
,
total
:
res
.
data
.
total
});
}
else
{
// 加载失败
this
.
$refs
.
list
.
refreshFail
()
}
})
},
this
.
$u
.
random
(
100
,
1000
));
},
goDetail
(
id
){
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/callDetail?id='
+
id
})
},
getApplyMoveLogList
(){
let
opts
=
{
url
:
'/app/moveLog/apply/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
}
})
export
default
{
data
()
{
return
{
option
:
{
size
:
10
,
auto
:
true
},
items
:
[],
type
:
'请求他人挪车'
};
},
methods
:
{
// 加载数据
load
(
paging
)
{
setTimeout
(()
=>
{
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
this
.
items
=
[...
this
.
items
,
...
list
]
// 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)}
this
.
$refs
.
list
.
loadSuccess
({
list
:
this
.
items
,
total
:
res
.
data
.
total
});
}
else
{
// 加载失败
this
.
$refs
.
list
.
loadFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
this
.
$u
.
random
(
100
,
1000
));
},
// 刷新
refresh
(
paging
)
{
setTimeout
(()
=>
{
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
this
.
items
=
list
// 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)}
this
.
$refs
.
list
.
refreshSuccess
({
list
:
this
.
items
,
total
:
res
.
data
.
total
});
}
else
{
// 加载失败
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
this
.
$u
.
random
(
100
,
1000
));
},
goDetail
(
id
)
{
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/callDetail?id='
+
id
})
},
getApplyMoveLogList
()
{
let
opts
=
{
url
:
'/app/moveLog/apply/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
},
},
created
()
{
//this.getApplyMoveLogList()
},
}
created
()
{
//this.getApplyMoveLogList()
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.myRecord
{
padding
:
40rpx
0rpx
;
.record__item
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
padding
:
30rpx
0
;
margin-bottom
:
30rpx
;
.item__top
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
40rpx
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
padding-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
.top__state
{
background
:
#cfffe2
;
width
:
70rpx
;
height
:
34rpx
;
font-size
:
26rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#00AD42
;
line-height
:
34rpx
;
text-align
:
center
;
border-radius
:
4rpx
;
}
.phone__state
{
background
:
#ffebd8
;
color
:
rgba
(
248
,
141
,
40
,
1
);
}
.top__item
{
font-size
:
26rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#666666
;
}
}
.item__content
{
padding
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
>
div
{
width
:
50%
;
margin-bottom
:
30rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
>
div
:nth-of-type
(
3
)
{
width
:
100%
;
}
}
.item__btn
{
display
:
flex
;
justify-content
:
flex-end
;
padding-right
:
40rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
>
view
{
width
:
180rpx
;
height
:
56rpx
;
text-align
:
center
;
line-height
:
56rpx
;
border
:
1rpx
solid
#DDDDDD
;
border-radius
:
50rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
}
}
}
}
.myRecord
{
padding
:
40rpx
0rpx
;
.record__item
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
padding
:
30rpx
0
;
margin-bottom
:
30rpx
;
.item__top
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
40rpx
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
padding-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
.top__state
{
background
:
#cfffe2
;
width
:
70rpx
;
height
:
34rpx
;
font-size
:
26rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#00AD42
;
line-height
:
34rpx
;
text-align
:
center
;
border-radius
:
4rpx
;
}
.phone__state
{
background
:
#ffebd8
;
color
:
rgba
(
248
,
141
,
40
,
1
);
}
.top__item
{
font-size
:
26rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#666666
;
}
}
.item__content
{
padding
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
>
div
{
width
:
50%
;
margin-bottom
:
30rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
>
div
:nth-of-type
(
3
)
{
width
:
100%
;
}
}
.item__btn
{
display
:
flex
;
justify-content
:
flex-end
;
padding-right
:
40rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
>
view
{
width
:
180rpx
;
height
:
56rpx
;
text-align
:
center
;
line-height
:
56rpx
;
border
:
1rpx
solid
#DDDDDD
;
border-radius
:
50rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
}
}
}
}
</
style
>
pagesB/pages/move-car/myMoveCar.vue
View file @
fd3c1d0e
...
...
@@ -96,6 +96,11 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
||
[]
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
})
},
...
...
@@ -112,6 +117,11 @@ export default {
icon
:
"success"
,
});
this
.
getMyMoveCodeList
()
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
})
this
.
unbindShow
=
false
...
...
pagesB/pages/move-car/myRecord.vue
View file @
fd3c1d0e
...
...
@@ -70,6 +70,11 @@ export default {
}
else
{
// 加载失败
this
.
$refs
.
list
.
loadFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
this
.
$u
.
random
(
100
,
1000
));
...
...
@@ -95,6 +100,11 @@ export default {
}
else
{
// 加载失败
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
this
.
$u
.
random
(
100
,
1000
));
...
...
@@ -113,7 +123,13 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
},
...
...
pagesB/pages/move-car/oneMoveCar.vue
View file @
fd3c1d0e
...
...
@@ -137,6 +137,10 @@
let
that
=
this
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
that
.
appBo
.
code
=
e
.
detail
.
code
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
});
that
.
call
()
}
else
{
uni
.
hideLoading
()
...
...
@@ -152,6 +156,7 @@
if
(
res
.
data
.
code
==
200
)
{
//请求成功逻辑,修改
this
.
noticeResult
=
res
.
data
.
data
uni
.
hideLoading
()
if
(
this
.
noticeResult
.
allowPhone
)
{
// this.list[0].name = this.noticeResult.secretPhone
// this.show = true;
...
...
@@ -161,10 +166,17 @@
}
}
else
{
this
.
noticeResult
=
res
.
data
.
data
uni
.
hideLoading
()
if
(
this
.
noticeResult
)
{
uni
.
showModal
({
content
:
this
.
noticeResult
.
notAllowPhoneReason
,
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
...
...
@@ -187,6 +199,12 @@
uni
.
showModal
({
content
:
this
.
noticeResult
.
notAllowWechatReason
,
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
...
...
@@ -221,7 +239,13 @@
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
wxMaxNum
=
res
.
data
.
data
.
wxMaxNum
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
getCarNumber
()
{
...
...
@@ -260,6 +284,12 @@
if
(
res
.
data
.
code
==
200
)
{
//添加逻辑判断
this
.
appBo
.
logCode
=
res
.
data
.
data
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
...
...
@@ -360,6 +390,11 @@
}
}
else
{
//console.log('获取信息失败,请重试!')
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
},
})
...
...
pagesB/pages/move-car/recordDetail.vue
View file @
fd3c1d0e
...
...
@@ -3,135 +3,175 @@
* @Description: 挪车记录详情
-->
<
template
>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
{{
vo
.
title
}}
</div>
<div
class=
"view__value"
>
{{
vo
.
value
}}
</div>
</div>
</div>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
</div>
</div>
</view>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
{{
vo
.
title
}}
</div>
<div
class=
"view__value"
>
{{
vo
.
value
}}
</div>
</div>
</div>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
</div>
</div>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
items
:
[],
id
:
''
,
moveLog
:
{},
};
},
methods
:
{
goBack
(){
uni
.
navigateBack
({
delta
:
1
})
},
getMyMoveLog
(){
let
opts
=
{
url
:
'/app/moveLog/my/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
){
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
})
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
){
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
export
default
{
data
()
{
return
{
items
:
[],
id
:
''
,
moveLog
:
{},
};
},
methods
:
{
goBack
()
{
uni
.
navigateBack
({
delta
:
1
})
},
getMyMoveLog
()
{
let
opts
=
{
url
:
'/app/moveLog/my/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
})
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"他人请求挪车"
})
this
.
items
=
moveLogInfo
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"他人请求挪车"
})
this
.
items
=
moveLogInfo
}
})
})
},
},
onLoad
(
option
)
{
this
.
id
=
option
.
id
},
onShow
()
{
this
.
getMyMoveLog
()
},
},
onLoad
(
option
)
{
this
.
id
=
option
.
id
},
onShow
(){
this
.
getMyMoveLog
()
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.callDetail
{
padding
:
40rpx
0rpx
;
.callDetail
{
padding
:
40rpx
0rpx
;
.view__content
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
margin-bottom
:
60rpx
;
.view__content
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
margin-bottom
:
60rpx
;
.view__item
{
padding
:
34rpx
0rpx
;
margin
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
.view__item
{
padding
:
34rpx
0rpx
;
margin
:
0
40rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom
:
1rpx
solid
rgba
(
0
,
0
,
0
,
.1
);
.view__title
{
.view__title
{
font-size
:
32rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
font-size
:
32rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
}
.view__value
{
.view__value
{
font-size
:
28rpx
;
font-family
:
DIN
;
font-weight
:
500
;
color
:
#666666
;
}
}
font-size
:
28rpx
;
font-family
:
DIN
;
font-weight
:
500
;
color
:
#666666
;
}
}
.view__item
:nth-last-child
(
1
)
{
border-bottom
:
none
;
}
}
.view__item
:nth-last-child
(
1
)
{
border-bottom
:
none
;
}
}
.view__btn
{
width
:
670rpx
;
height
:
76rpx
;
text-align
:
center
;
line-height
:
76rpx
;
margin
:
0
auto
;
font-size
:
32rpx
;
}
.view__btn
{
width
:
670rpx
;
height
:
76rpx
;
text-align
:
center
;
line-height
:
76rpx
;
margin
:
0
auto
;
font-size
:
32rpx
;
}
.view__no__bind
{
background
:
url('@/static/move-car/move-car-view2.png')
no-repeat
;
margin-bottom
:
30rpx
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.view__no__bind
{
background
:
url('@/static/move-car/move-car-view2.png')
no-repeat
;
margin-bottom
:
30rpx
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
color
:rgba
(
153
,
153
,
153
,
1
)
;
}
}
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
}
</
style
>
pagesB/pages/move-car/scan.vue
View file @
fd3c1d0e
...
...
@@ -430,7 +430,7 @@ export default {
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
})
...
...
@@ -454,6 +454,11 @@ export default {
uni
.
navigateTo
({
url
:
'/pages/binding/article'
});
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
})
}
...
...
pagesC/pages/shop/detail.vue
View file @
fd3c1d0e
...
...
@@ -63,6 +63,12 @@ export default {
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
this
.
list6
=
this
.
mallInfo
.
imageUrls
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
...
...
pagesC/pages/shop/search.vue
View file @
fd3c1d0e
...
...
@@ -58,9 +58,15 @@ export default {
console
.
log
(
searchCondition
,
222222222
)
let
opts
=
{
url
:
'/app/index/mall/list'
,
method
:
'get'
};
this
.
http
.
httpRequest
(
opts
,
searchCondition
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
data
.
rows
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
300
)
},
...
...
pagesD/pages/personal/userInfo.vue
View file @
fd3c1d0e
...
...
@@ -363,7 +363,13 @@ export default {
// element.rules.label = this.userInfo.birthday
// }
})
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
})
},
editUserInfo
()
{
...
...
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