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
0cf38f0e
Commit
0cf38f0e
authored
May 31, 2022
by
lijiongliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
4baf4e33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
oneMoveCar.vue
pagesB/pages/move-car/oneMoveCar.vue
+5
-0
userInfo.vue
pagesD/pages/personal/userInfo.vue
+19
-2
No files found.
pagesB/pages/move-car/oneMoveCar.vue
View file @
0cf38f0e
...
@@ -111,6 +111,7 @@
...
@@ -111,6 +111,7 @@
detailInfo
:
''
,
detailInfo
:
''
,
//是否微信通知
//是否微信通知
wechat
:
false
,
wechat
:
false
,
code
:
null
},
},
noticeResult
:
{
noticeResult
:
{
secretPhone
:
''
,
secretPhone
:
''
,
...
@@ -154,6 +155,9 @@
...
@@ -154,6 +155,9 @@
if
(
this
.
noticeResult
.
allowPhone
)
{
if
(
this
.
noticeResult
.
allowPhone
)
{
// this.list[0].name = this.noticeResult.secretPhone
// this.list[0].name = this.noticeResult.secretPhone
this
.
show
=
true
;
this
.
show
=
true
;
// uni.makePhoneCall({
// phoneNumber: this.noticeResult.secretPhone
// });
}
}
}
else
{
}
else
{
this
.
noticeResult
=
res
.
data
.
data
this
.
noticeResult
=
res
.
data
.
data
...
@@ -195,6 +199,7 @@
...
@@ -195,6 +199,7 @@
},
},
selectClick
(
index
)
{
selectClick
(
index
)
{
if
(
index
.
name
==
"呼叫"
)
{
if
(
index
.
name
==
"呼叫"
)
{
this
.
show
=
false
;
uni
.
makePhoneCall
({
uni
.
makePhoneCall
({
phoneNumber
:
this
.
noticeResult
.
secretPhone
phoneNumber
:
this
.
noticeResult
.
secretPhone
});
});
...
...
pagesD/pages/personal/userInfo.vue
View file @
0cf38f0e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<span
class=
"cover__name"
>
头像
</span>
<span
class=
"cover__name"
>
头像
</span>
<div
class=
"cover"
>
<div
class=
"cover"
>
<image
v-if=
"image"
:src=
"image"
/>
<image
v-if=
"image"
:src=
"image"
/>
<image
v-else
src=
"@/static/my/my2.
pn
g"
/>
<image
v-else
src=
"@/static/my/my2.
jp
g"
/>
<!-- 此处应该有默认头像 -->
<!-- 此处应该有默认头像 -->
<!--
<image
v-else
src=
"@/static/my/my2.png"
/>
-->
<!--
<image
v-else
src=
"@/static/my/my2.png"
/>
-->
<span>
<span>
...
@@ -239,6 +239,10 @@ export default {
...
@@ -239,6 +239,10 @@ export default {
},
},
select
()
{
select
()
{
let
that
=
this
let
that
=
this
uni
.
showLoading
({
title
:
"加载中"
,
mask
:
true
})
uni
.
chooseImage
({
uni
.
chooseImage
({
count
:
1
,
//默认9
count
:
1
,
//默认9
sizeType
:
[
'original'
,
'compressed'
],
//可以指定是原图还是压缩图,默认二者都有
sizeType
:
[
'original'
,
'compressed'
],
//可以指定是原图还是压缩图,默认二者都有
...
@@ -270,12 +274,25 @@ export default {
...
@@ -270,12 +274,25 @@ export default {
val
:
uploadData
.
data
.
url
val
:
uploadData
.
data
.
url
};
};
that
.
http
.
httpTokenRequest
(
opts
,
userInfoItem
).
then
(
response
=>
{
that
.
http
.
httpTokenRequest
(
opts
,
userInfoItem
).
then
(
response
=>
{
uni
.
hideLoading
()
if
(
response
.
data
.
code
==
200
)
{
if
(
response
.
data
.
code
==
200
)
{
that
.
$nextTick
(()
=>
{
that
.
$nextTick
(()
=>
{
that
.
image
=
uploadData
.
data
.
url
that
.
image
=
uploadData
.
data
.
url
})
})
}
}
else
{
uni
.
showToast
({
title
:
response
.
data
.
msg
,
icon
:
"error"
,
});
}
})
})
},
fail
()
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
"上传头像失败!"
,
icon
:
"error"
,
});
}
}
});
});
}
}
...
...
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