shish пре 10 месеци
родитељ
комит
0eb06172ab
1 измењених фајлова са 16 додато и 43 уклоњено
  1. 16 43
      hdApp/src/admin/home/workbench.vue

+ 16 - 43
hdApp/src/admin/home/workbench.vue

@@ -287,36 +287,36 @@
             </view>
           </view>
 
-          <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 class="function-grid function-grid--overlay" style="padding: 25upx 0upx 30upx 0upx; display: flex; justify-content: space-around; gap: 12upx;">
+            <view class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="pageTo({url:'/admin/shop/myShop'})">
+              <view class="function-icon" style="font-size: 38upx; margin-bottom: 8upx;">
                 🏪
               </view>
-              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的店铺</text>
+              <text class="function-text function-text--overlay" style="font-size: 22upx;">店铺管理</text>
             </view>
-            <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 class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="pageTo({url:'/admin/staff/list'})">
+              <view class="function-icon" style="font-size: 38upx; margin-bottom: 8upx;">
                 👥
               </view>
-              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的员工</text>
+              <text class="function-text function-text--overlay" style="font-size: 22upx;">我的员工</text>
             </view>
-            <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 class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="pageTo({url:'/admin/shop/add?id='+loginInfo.shopId})">
+              <view class="function-icon" style="font-size: 38upx; margin-bottom: 8upx;">
                 📍
               </view>
-              <text class="function-text function-text--overlay" style="font-size: 24upx;">我的地址</text>
+              <text class="function-text function-text--overlay" style="font-size: 22upx;">我的地址</text>
             </view>
-            <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 class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="pageTo({url:'/admin/stat/cgItem'})">
+              <view class="function-icon" style="font-size: 38upx; margin-bottom: 8upx;">
                 📊
               </view>
-              <text class="function-text function-text--overlay" style="font-size: 24upx;">采购统计</text>
+              <text class="function-text function-text--overlay" style="font-size: 22upx;">采购统计</text>
             </view>
-            <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 class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="goMore()">
+              <view class="function-icon" style="font-size: 38upx; margin-bottom: 8upx;">
               </view>
-              <text class="function-text function-text--overlay" style="font-size: 24upx;">更多</text>
+              <text class="function-text function-text--overlay" style="font-size: 22upx;">更多</text>
             </view>
           </view>
 
@@ -1541,40 +1541,13 @@ export default {
         // border: 1upx solid rgba(255,255,255,0.35);
       }
     }
-    .function-grid {
-      margin-top: 20upx;
-      display: flex;
-      flex-wrap: nowrap;
-      justify-content: space-between;
-      gap: 0;
-    }
     .function-grid--overlay {
       background: transparent;
-      padding: 12upx 0 0 0;
-    }
-    .function-item {
-      width: 20%;
-      display: flex;
-      flex-direction: column;
-      align-items: center;
-      padding: 20upx 0;
-      border-radius: 16upx;
-      border: 1upx solid rgba(255,255,255,0.5);
-      background: rgba(255,255,255,0.12);
-      backdrop-filter: blur(8upx);
-      box-sizing: border-box;
     }
     .function-item--overlay {
       border-color: rgba(255,255,255,0.5);
       background: rgba(255,255,255,0.12);
     }
-    .function-icon {
-      margin-bottom: 10upx;
-    }
-    .function-text {
-      font-size: 26upx;
-      color: #ffffff;
-    }
     .function-text--overlay {
       color: #ffffff;
     }