This commit is contained in:
weipengfei 2024-05-11 16:45:33 +08:00
parent dc02bca062
commit 31dfb56c17
1 changed files with 10 additions and 3 deletions

View File

@ -4,7 +4,7 @@
还剩<text>{{countDown}}</text>订单自动取消
</view>
<view class="m-card m-address" style="margin-top: 20rpx;">
<view class="address-info">
<view class="address-info" @click="callPhone(shopInfo.service_phone)">
<view class="top" style="align-items: flex-start;">
<view style="color: #333;display: flex;align-items: center;">
<up-icon name="map"></up-icon>
@ -20,8 +20,8 @@
</view>
</view>
</view>
<view class="address-btn">
<view style="width: 80px;"><up-button @click="shopListShow=true" size="small" shape="circle"
<view class="address-btn" v-if="shopInfo.paid==0">
<view style="width: 80px;"><up-button @click.stop="shopListShow=true" size="small" shape="circle"
color="#f6f6f6" :customStyle="{color:'#666666'}">修改</up-button></view>
</view>
</view>
@ -384,6 +384,13 @@
})
})
}
//
const callPhone = (phone)=>{
uni.makePhoneCall({
phoneNumber: phone
})
}
onLoad((option) => {
uni.setNavigationBarTitle({