shish 10 bulan lalu
induk
melakukan
bd90196e19
1 mengubah file dengan 25 tambahan dan 24 penghapusan
  1. 25 24
      hdApp/src/admin/home/workbench.vue

+ 25 - 24
hdApp/src/admin/home/workbench.vue

@@ -287,40 +287,41 @@
             </view>
           </view>
 
-          <view class="function-grid function-grid--overlay">
-            <view class="function-item function-item--overlay" @click="pageTo({url:'/admin/shop/myShop'})">
-              <view class="function-icon">
-                <zui-svg-icon icon="home-shop" :width="32" :height="32" color="#FFFFFF" />
+          <view class="function-grid function-grid--overlay" style="padding: 10upx 0upx 30upx 0upx; display: flex; justify-content: space-around; gap: 12upx;">
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center;" @click="pageTo({url:'/admin/shop/myShop'})">
+              <view class="function-icon" style="font-size: 46upx; margin-bottom: 12upx;">
+                🏪
               </view>
-              <text class="function-text function-text--overlay">我的店</text>
+              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的店</text>
             </view>
-            <view class="function-item function-item--overlay" @click="pageTo({url:'/admin/staff/list'})">
-              <view class="function-icon">
-                <zui-svg-icon icon="home-staffs" :width="32" :height="32" color="#FFFFFF" />
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center;" @click="pageTo({url:'/admin/staff/list'})">
+              <view class="function-icon" style="font-size: 46upx; margin-bottom: 12upx;">
+                👥
               </view>
-              <text class="function-text function-text--overlay">我的员工</text>
+              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的员工</text>
             </view>
-            <view class="function-item function-item--overlay" @click="pageTo({url:'/admin/shop/add?id='+loginInfo.shopId})">
-              <view class="function-icon">
-                <zui-svg-icon icon="home-address" :width="32" :height="32" color="#FFFFFF" />
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center;" @click="pageTo({url:'/admin/shop/add?id='+loginInfo.shopId})">
+              <view class="function-icon" style="font-size: 46upx; margin-bottom: 12upx;">
+                📍
               </view>
-              <text class="function-text function-text--overlay">我的地址</text>
+              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的地址</text>
             </view>
-            <view class="function-item function-item--overlay" @click="pageTo({url:'/admin/stat/cgItem'})">
-              <view class="function-icon">
-                <zui-svg-icon icon="home-statistics" :width="32" :height="32" color="#FFFFFF" />
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center;" @click="pageTo({url:'/admin/stat/cgItem'})">
+              <view class="function-icon" style="font-size: 46upx; margin-bottom: 12upx;">
+                📊
               </view>
-              <text class="function-text function-text--overlay">采购统计</text>
+              <text class="function-text function-text--overlay" style="font-size: 24upx;">采购统计</text>
             </view>
-            <view class="function-item function-item--overlay" @click="goMore()">
-              <view class="function-icon">
-                <zui-svg-icon icon="home-more-2" :width="30" :height="30" color="#FFFFFF" />
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center;" @click="goMore()">
+              <view class="function-icon" style="font-size: 46upx; margin-bottom: 12upx;">
+                
               </view>
-              <text class="function-text function-text--overlay">更多</text>
+              <text class="function-text function-text--overlay" style="font-size: 24upx;">更多</text>
             </view>
           </view>
+
         </view>
-        <view style="text-align:center;font-size:29upx;">您好,{{ loginInfo.admin && loginInfo.admin.name ? loginInfo.admin.name : '' }} {{ loginInfo.admin && loginInfo.admin.mobile ? loginInfo.admin.mobile : '' }}</view>
+        <view style="text-align:center;font-size:29upx;margin-top:25upx;">您好,{{ loginInfo.admin && loginInfo.admin.name ? loginInfo.admin.name : '' }} {{ loginInfo.admin && loginInfo.admin.mobile ? loginInfo.admin.mobile : '' }}</view>
         <view v-if="!$util.isEmpty(data.warning)" style="color:red;font-size:36upx;font-weight:bold;text-align: center;margin-bottom:15upx;margin-top:20upx;">{{ data.warning }}</view>
 
         <template v-if="!$util.isEmpty(ad)">
@@ -1482,7 +1483,7 @@ export default {
   overflow: hidden;
   .profile-section {
     background-color: #09C567;
-    padding: 24upx;
+    padding: 30upx 25upx 0upx 25upx;
     border-radius: 0;
     .profile-header {
       display: flex;
@@ -1541,7 +1542,7 @@ export default {
       }
     }
     .function-grid {
-      margin-top: 24upx;
+      margin-top: 20upx;
       display: flex;
       flex-wrap: nowrap;
       justify-content: space-between;