提交 1f5cfb3c 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 527990f7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<text class="text-s ellipsis line_over2" style="height: 32px;text-align: left;background: #ffffff;padding: 15rpx"> <text class="text-s ellipsis line_over2" style="height: 32px;text-align: left;background: #ffffff;padding: 15rpx">
{{ item.title }} {{ item.title }}
</text> </text>
<view style="display: flex;background: #ffffff;padding: 15rpx"> <view style="display: flex;background: #ffffff;padding: 15rpx" class="text01">
<view class="text-orange text-ss"> <view class="text-orange text-ss">
<text class="text-bold text-l">{{ item.salePrice }}</text> <text class="text-bold text-l">{{ item.salePrice }}</text>
</view> </view>
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.text01{
border-bottom-left-radius: 10px; /* 设置圆角的大小 */
border-bottom-right-radius: 10px; /* 设置圆角的大小 */
}
.image-container { .image-container {
background-color: #ffffff; background-color: #ffffff;
border-top-left-radius: 10px; /* 设置圆角的大小 */ border-top-left-radius: 10px; /* 设置圆角的大小 */
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<van-col span="18" style="text-align: left"> <van-col span="18" style="text-align: left">
<view style="font-size: 34rpx;font-weight: bold">金燕侠</view> <view style="font-size: 34rpx;font-weight: bold">金燕侠</view>
<view style="color: #666666;font-size: 26rpx;letter-spacing: 1rpx;margin-top: 6rpx">浙江省杭州市杭州市莫干山路1418-66号3幢12层 1203 室</view> <view style="color: #666666;font-size: 26rpx;letter-spacing: 1rpx;margin-top: 6rpx">浙江省杭州市杭州市莫干山路1418-66号3幢12层 1203 室</view>
<view style="font-size: 26rpx;margin-top: 4px">金燕侠 <span style="margin: 0 16rpx;color: #DDDDDD">|</span> 13613613666 <span style="float: right;border-radius: 8rpx; <view style="font-size: 26rpx;margin-top: 4px"> <van-icon name="manager-o" color="#707070" size="16px" style="margin-right: 10rpx"/>金燕侠 <span style="margin: 0 16rpx;color: #DDDDDD">|</span><van-icon name="phone-o" color="#707070" size="16px" /> 13613613666 <span style="float: right;border-radius: 8rpx;
border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx">拨打</span> </view> border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBtn(13613613666)">拨打</span> </view>
</van-col> </van-col>
</van-row> </van-row>
<van-row class="pd-h-px-10 dianpu" > <van-row class="pd-h-px-10 dianpu" >
...@@ -222,6 +222,19 @@ onMounted(() => { ...@@ -222,6 +222,19 @@ onMounted(() => {
state.inited = true state.inited = true
}, 1000) }, 1000)
}); });
function goPhoneBtn(val){
uni.makePhoneCall({
// 手机号
phoneNumber: val,
// 成功回调
success: (res) => {
},
// 失败回调
fail: (res) => {
}
});
}
function searchImg() { function searchImg() {
const { token } = uni.getStorageSync("user") || {}; const { token } = uni.getStorageSync("user") || {};
uni.chooseImage({ uni.chooseImage({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册