103 lines
1.9 KiB
Vue
103 lines
1.9 KiB
Vue
<template>
|
|
<view class="Box">
|
|
<view class="fontStyle">
|
|
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/shangdian.png"
|
|
style="width: 40rpx;height: 36.44rpx;" mode=""></image>
|
|
<text>商家信息</text>
|
|
</view>
|
|
<view class="content">
|
|
{{info.shopName}}
|
|
</view>
|
|
<view class="addreeStyle">
|
|
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/dingwei.png"
|
|
style="width: 17.9rpx;height: 22rpx;margin-right: 6rpx;" mode=""></image>{{info.distances}}km |
|
|
{{info.address}}
|
|
</view>
|
|
<view class="rightStyle">
|
|
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/dianhua.png" @click="makephone(info.phone)"
|
|
style="width: 39.46rpx;height: 40rpx;margin-right: 50rpx;" mode=""></image>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ['info'],
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
makephone(e) {
|
|
uni.makePhoneCall({
|
|
phoneNumber: e
|
|
});
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.Box {
|
|
width: 750rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
padding: 32rpx 64rpx;
|
|
margin-top: 32rpx;
|
|
position: relative;
|
|
|
|
.fontStyle {
|
|
.df;
|
|
|
|
>text {
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
margin-left: 12rpx
|
|
}
|
|
}
|
|
|
|
.content {
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
margin-top: 32rpx;
|
|
}
|
|
|
|
.buttonStyle {
|
|
width: 158rpx;
|
|
height: 56rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
|
border: 2rpx solid #E8E8E8;
|
|
position: absolute;
|
|
right: 58rpx;
|
|
top: 56rpx;
|
|
}
|
|
|
|
.addreeStyle {
|
|
font-weight: 400;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
margin-top: 22rpx;
|
|
.df;
|
|
}
|
|
|
|
.rightStyle {
|
|
position: absolute;
|
|
right: 30rpx;
|
|
top: 126rpx;
|
|
}
|
|
}
|
|
|
|
.ml-20 {
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.df(@start: flex-start, @position: center) {
|
|
display: flex;
|
|
justify-content: @start;
|
|
align-items: @position;
|
|
}
|
|
</style> |