Commit c9bc63d5 by 胡悦

修改样式

1 parent d7065c77
...@@ -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,
}); });
}, },
}, },
......
...@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!