Browse Source

本地生活添加地域节点显示

DaMowang 2 years ago
parent
commit
18f430acc9
1 changed files with 33 additions and 1 deletions
  1. 33 1
      src/pages/orderingfood/merchantlist.vue

+ 33 - 1
src/pages/orderingfood/merchantlist.vue

@@ -4,6 +4,13 @@
             <div class="bg"></div>
             <div class="card">
                 <div class="live_name">{{ typeto(local_uinfo.level_id) }}</div>
+                <view class="regional">
+                    <template v-if="local_uinfo.regional">
+                        <img src="@/static/my/regional.png" alt="" srcset="" class="ico">
+                        <!-- <span class="ico iconfont">&#xf727;</span> -->
+                        <span class="txtinfo">区域节点:{{ local_uinfo.regional }}</span>
+                    </template>
+                </view>
                 <div class="mm">
                     <span>账户余额</span>
                     <span class="balance dinB">{{ local_uinfo.integral || 0 }}</span>
@@ -173,7 +180,32 @@ export default {
         .mm {
             margin: auto 0;
             text-align: center;
-            line-height: 210rpx;
+            line-height: 108rpx;
+        }
+    }
+    .regional {
+        height: 30rpx;
+        line-height: 30rpx;
+        margin-top: 40rpx;
+        
+        
+        // .ico {
+        //     font-size: 26rpx;
+        //     margin-right: 12rpx;
+        // }
+
+        .ico {
+            width: 32rpx;
+            height: 32rpx;
+            margin-right: 12rpx;
+        }
+
+        .txtinfo {
+            font-size: 22rpx;
+            color: #333;
+        }
+        .ico, .txtinfo {
+            vertical-align: middle;
         }
     }
 }