Browse Source

商品详情登录成功回调

panyong 1 year ago
parent
commit
88c588b516

+ 2 - 1
htmldev/shiningWxMini/components/business-detail-large/index.json

@@ -1,6 +1,7 @@
 {
   "component": true,
   "usingComponents": {
-    "van-action-sheet": "@vant/weapp/action-sheet/index"
+    "van-action-sheet": "@vant/weapp/action-sheet/index",
+    "van-icon": "@vant/weapp/icon/index"
   }
 }

+ 10 - 0
htmldev/shiningWxMini/components/business-detail-large/index.scss

@@ -18,6 +18,16 @@
     height: 112rpx;
   }
 
+  .business-name-icon {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    width: 112rpx;
+    height: 112rpx;
+    font-size: 40rpx;
+    color: rgb(139, 157, 177);
+  }
+
   .value {
     width: 484rpx;
     margin-right: 62rpx;

+ 9 - 0
htmldev/shiningWxMini/components/business-detail-large/index.wxml

@@ -1,4 +1,13 @@
 <view class="business-info">
+  <view
+    class="box">
+    <van-icon
+      custom-class="business-name-icon"
+      name="manager" />
+    <view
+      class="value">供应商名称:{{shopDetail.user_name}}
+    </view>
+  </view>
   <view
     class="box"
     bind:tap="openLocationBridge"