Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c9bc63d5
authored
Sep 09, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
d7065c77
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
components/UserInfo/UserInfo.js
components/UserInfo/UserInfo.wxss
components/UserInfo/UserInfo.js
View file @
c9bc63d
...
@@ -82,13 +82,13 @@ Component({
...
@@ -82,13 +82,13 @@ Component({
/** 拨打电话 */
/** 拨打电话 */
callPhone
()
{
callPhone
()
{
console
.
log
(
this
.
data
.
cardInfo
);
console
.
log
(
this
.
data
.
cardInfo
);
const
{
phoneNumber
}
=
this
.
data
.
cardInfo
;
const
{
staffPhone
}
=
this
.
data
.
cardInfo
;
if
(
!
phoneNumber
)
{
if
(
!
staffPhone
)
{
util
.
showToast
(
"手机号不存在"
);
util
.
showToast
(
"手机号不存在"
);
return
;
return
;
}
}
wx
.
makePhoneCall
({
wx
.
makePhoneCall
({
phoneNumber
:
phoneNumber
,
phoneNumber
:
staffPhone
,
});
});
},
},
},
},
...
...
components/UserInfo/UserInfo.wxss
View file @
c9bc63d
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
}
}
.phone-btn {
.phone-btn {
width: 136rpx;
width: 136rpx;
height: 88rpx;
/* height: 88rpx; */
box-sizing: border-box;
box-sizing: border-box;
text-align: center;
text-align: center;
padding: 4rpx 32rpx 4rpx 24rpx;
padding: 4rpx 32rpx 4rpx 24rpx;
...
@@ -135,7 +135,9 @@
...
@@ -135,7 +135,9 @@
.phone-text {
.phone-text {
font-size: 20rpx;
font-size: 20rpx;
color: #6E6E7A;
color: #6E6E7A;
line-height: 32rpx;
}
button::after {
display: none;
}
}
.btn {
.btn {
display: inline-flex;
display: inline-flex;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment