فهرست منبع

保单列表增加门店信息

liyuan 3 هفته پیش
والد
کامیت
950c941afb
1فایلهای تغییر یافته به همراه20 افزوده شده و 0 حذف شده
  1. 20 0
      pages/home/insurancePolicy/index.vue

+ 20 - 0
pages/home/insurancePolicy/index.vue

@@ -30,6 +30,20 @@
 							轮胎规格:{{item.tyreSpecs||'-'}}
 						</view>
 					</view>
+          <view class="list-item">
+            <view style="">
+              店铺名称: {{item.storeName||'暂无数据'}}
+            </view>
+          </view>
+          <view class="list-item">
+            <view  style="display: flex;">
+              门店联系人:  <uni-icons style="margin-left: 20rpx;"  type="person" size="20" color="#03803B"></uni-icons>{{item.storeContact||'暂无数据'}}
+              <uni-icons style="margin-left: 20rpx;" type="phone" size="20" color="#03803B"></uni-icons>
+              <view class="" @click.stop="clickCall(item.storePhone)" style="color: #03803B">
+                 {{item.storePhone||'暂无数据'}}
+              </view>
+            </view>
+          </view>
 					<view class="list-item-end">
 						<view class="">
 							轮胎:{{item.tireQuantity||0}}条
@@ -88,6 +102,12 @@
 			}
 		},
 		methods: {
+      clickCall(tel) {
+        if (!tel) {
+          return
+        }
+        uni.makePhoneCall({phoneNumber: tel})
+      },
 			addDetails() {
 				uni.navigateTo({
 					url: '/pages/home/insurancePolicy/details'