Commit c9bc63d5 by 胡悦

修改样式

1 parent d7065c77
......@@ -82,13 +82,13 @@ Component({
/** 拨打电话 */
callPhone() {
console.log(this.data.cardInfo);
const { phoneNumber } = this.data.cardInfo;
if (!phoneNumber) {
const { staffPhone } = this.data.cardInfo;
if (!staffPhone) {
util.showToast("手机号不存在");
return;
}
wx.makePhoneCall({
phoneNumber: phoneNumber,
phoneNumber: staffPhone,
});
},
},
......
......@@ -120,7 +120,7 @@
}
.phone-btn {
width: 136rpx;
height: 88rpx;
/* height: 88rpx; */
box-sizing: border-box;
text-align: center;
padding: 4rpx 32rpx 4rpx 24rpx;
......@@ -135,7 +135,9 @@
.phone-text {
font-size: 20rpx;
color: #6E6E7A;
line-height: 32rpx;
}
button::after {
display: none;
}
.btn {
display: inline-flex;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!