Эх сурвалжийг харах

去掉了首页的员工名字

shish 2 сар өмнө
parent
commit
e4731770ea

+ 15 - 42
hdApp/src/admin/home/components/purchase-ghs-panel.vue

@@ -37,14 +37,6 @@
             </view>
           </view>
 
-          <view class="admin-contact-wrap">
-            <view class="admin-contact-inner">
-              <text class="admin-contact-name">{{ loginInfo.admin && loginInfo.admin.name ? loginInfo.admin.name : '' }}</text>
-              <text class="admin-contact-divider">|</text>
-              <text class="admin-contact-mobile">{{ loginInfo.admin && loginInfo.admin.mobile ? loginInfo.admin.mobile : '' }}</text>
-            </view>
-          </view>
-
           <view v-if="!$util.isEmpty(data.warning)" class="warning-banner">{{ data.warning }}</view>
 
           <template v-if="!$util.isEmpty(ad)">
@@ -956,39 +948,6 @@ export default {
   line-height: 32upx;
 }
 
-.admin-contact-wrap {
-  margin: 20upx 24upx 0;
-  padding: 18upx 24upx;
-  border-radius: 22upx;
-  background: #fff;
-  box-shadow: 0 10upx 26upx rgba(31, 46, 37, 0.06);
-}
-
-.admin-contact-inner {
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  width: 100%;
-  padding: 0;
-  box-shadow: none;
-}
-
-.admin-contact-name {
-  color: #333;
-  font-weight: 500;
-  font-size: 28upx;
-}
-
-.admin-contact-divider {
-  margin: 0 15upx;
-  color: #ddd;
-}
-
-.admin-contact-mobile {
-  color: #666;
-  font-size: 28upx;
-}
-
 .warning-banner {
   margin: 22upx 24upx 0;
   padding: 22upx 28upx;
@@ -1295,12 +1254,16 @@ export default {
 
 .location-empty-box {
   width: 702upx;
-  margin: 40upx 24upx 80upx;
+  margin: 20upx 24upx 80upx;
   padding: 70upx 24upx;
   box-sizing: border-box;
   border-radius: 24upx;
   background: #fff;
   box-shadow: 0 10upx 28upx rgba(24, 37, 30, 0.06);
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  text-align: center;
 }
 
 .location-empty-title {
@@ -1310,9 +1273,16 @@ export default {
 
 .location-empty-btn {
   margin-top: 22upx;
+  min-width: 420upx;
+  height: 76upx;
+  padding: 0 48upx;
+  box-sizing: border-box;
+  line-height: 76upx;
+  font-size: 30upx;
   background: #09c567;
   color: #fff;
   border-radius: 999upx;
+  align-self: center;
 }
 
 .no-supplier-tip {
@@ -1325,6 +1295,7 @@ export default {
   color: #77817c;
   font-size: 32upx;
   box-shadow: 0 10upx 28upx rgba(24, 37, 30, 0.06);
+  text-align: center;
 }
 
 .function-icon,
@@ -1354,5 +1325,7 @@ export default {
   width: 40upx;
   height: 40upx;
   margin-bottom: 24upx;
+  margin-left: auto;
+  margin-right: auto;
 }
 </style>

+ 1 - 1
hdApp/src/pagesPurchase/open.vue

@@ -18,7 +18,7 @@
         </view>
       </block>
       <block v-else>
-        <view class="tip-text tip-text--close">如需要停用零售商城,请点击关闭</view>
+        <view class="tip-text tip-text--close">如需要停用商城,请点击关闭</view>
         <view class="confirm-btn">
           <button class="admin-button-com big default" @click="beginChangeCg(1)">关闭</button>
         </view>