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
e1f2a087
Commit
e1f2a087
authored
Apr 19, 2022
by
程新智
👽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
a1a6611c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
12 deletions
+20
-12
custom-tarbar.vue
common/wxcomponents/custom-tarbar/custom-tarbar.vue
+11
-5
index.vue
pages/move-car/index.vue
+2
-2
custom-tarbar.js.map
...in/common/wxcomponents/custom-tarbar/custom-tarbar.js.map
+1
-1
index.js.map
...dist/dev/.sourcemap/mp-weixin/pages/move-car/index.js.map
+1
-1
custom-tarbar.js
...weixin/common/wxcomponents/custom-tarbar/custom-tarbar.js
+3
-1
index.js
unpackage/dist/dev/mp-weixin/pages/move-car/index.js
+2
-2
No files found.
common/wxcomponents/custom-tarbar/custom-tarbar.vue
View file @
e1f2a087
...
...
@@ -82,7 +82,6 @@ export default {
onLoad
()
{},
methods
:
{
setSelected
(
index
)
{
console
.
log
(
index
);
if
(
index
!=
2
)
{
uni
.
navigateTo
({
url
:
this
.
tabBar
.
list
[
index
].
pagePath
,
...
...
@@ -90,6 +89,9 @@ export default {
}
else
{
//扫码
// 允许从相机和相册扫码
uni
.
navigateTo
({
url
:
'/pages/move-car/scan'
,
});
uni
.
scanCode
({
success
:
function
(
res
)
{
console
.
log
(
'条码类型:'
+
res
.
scanType
);
...
...
@@ -135,10 +137,12 @@ export default {
height
:
80upx
;
text-align
:
center
;
}
.tarbar-list-li
:nth-of-type
(
2
)
{
.tarbar-list-li
:nth-of-type
(
2
)
{
padding-right
:
40rpx
;
}
.tarbar-list-li
:nth-of-type
(
4
)
{
.tarbar-list-li
:nth-of-type
(
4
)
{
padding-left
:
40rpx
;
}
...
...
@@ -164,8 +168,9 @@ export default {
color
:
#666666
;
margin-top
:
10rpx
;
}
.tarbar-list-li-name__active
{
width
:
100%
;
.tarbar-list-li-name__active
{
width
:
100%
;
text-align
:
center
;
line-height
:
30upx
;
font-size
:
20upx
;
...
...
@@ -175,6 +180,7 @@ export default {
color
:
rgba
(
225
,
37
,
27
,
1
);
margin-top
:
10rpx
;
}
.tarbar-list-li-center
{
width
:
100upx
;
position
:
absolute
;
...
...
pages/move-car/index.vue
View file @
e1f2a087
...
...
@@ -41,7 +41,7 @@ export default {
return
{
items
:
[{
icon
:
require
(
"@/static/move-car/move-car6.png"
),
url
:
"/pages/move-car/
scan
"
,
url
:
"/pages/move-car/
oneMoveCar
"
,
title
:
"扫一扫联系车主"
},
{
...
...
@@ -50,7 +50,7 @@ export default {
title
:
"我的呼叫记录"
},
{
icon
:
require
(
"@/static/move-car/move-car2.png"
),
url
:
"/pages/move-car/
one
MoveCar"
,
url
:
"/pages/move-car/
my
MoveCar"
,
title
:
"我的挪车牌"
},
{
icon
:
require
(
"@/static/move-car/move-car4.png"
),
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/common/wxcomponents/custom-tarbar/custom-tarbar.js.map
View file @
e1f2a087
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/.sourcemap/mp-weixin/pages/move-car/index.js.map
View file @
e1f2a087
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/common/wxcomponents/custom-tarbar/custom-tarbar.js
View file @
e1f2a087
...
...
@@ -198,7 +198,6 @@ __webpack_require__.r(__webpack_exports__);
onLoad
:
function
onLoad
()
{},
methods
:
{
setSelected
:
function
setSelected
(
index
)
{
console
.
log
(
index
);
if
(
index
!=
2
)
{
uni
.
navigateTo
({
url
:
this
.
tabBar
.
list
[
index
].
pagePath
});
...
...
@@ -206,6 +205,9 @@ __webpack_require__.r(__webpack_exports__);
}
else
{
//扫码
// 允许从相机和相册扫码
uni
.
navigateTo
({
url
:
'/pages/move-car/scan'
});
uni
.
scanCode
({
success
:
function
success
(
res
)
{
console
.
log
(
'条码类型:'
+
res
.
scanType
);
...
...
unpackage/dist/dev/mp-weixin/pages/move-car/index.js
View file @
e1f2a087
...
...
@@ -173,7 +173,7 @@ __webpack_require__.r(__webpack_exports__);
return
{
items
:
[{
icon
:
__webpack_require__
(
/*! @/static/move-car/move-car6.png */
183
),
url
:
"/pages/move-car/
scan
"
,
url
:
"/pages/move-car/
oneMoveCar
"
,
title
:
"扫一扫联系车主"
},
{
...
...
@@ -182,7 +182,7 @@ __webpack_require__.r(__webpack_exports__);
title
:
"我的呼叫记录"
},
{
icon
:
__webpack_require__
(
/*! @/static/move-car/move-car2.png */
185
),
url
:
"/pages/move-car/
one
MoveCar"
,
url
:
"/pages/move-car/
my
MoveCar"
,
title
:
"我的挪车牌"
},
{
icon
:
__webpack_require__
(
/*! @/static/move-car/move-car4.png */
186
),
...
...
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