Forráskód Böngészése

🎨 优化首页细节问题

快乐的梦鱼 1 hónapja
szülő
commit
4d75d387a3

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "uni-preset-vue",
-  "version": "0.0.0",
+  "version": "1.0.4",
   "scripts": {
     "dev:custom": "uni -p",
     "dev:h5": "uni",

+ 13 - 16
src/common/components/parts/RoundTags.vue

@@ -1,24 +1,21 @@
 <template>
   <scroll-view scroll-x>
-    <FlexRow gap="gap.2xl">
-      <Touchable 
+    <FlexRow gap="gap.md">
+      <BackgroundBox 
         v-for="(tag, k) in tags"
         :key="k" 
-        @click="emit('update:active', tag)"
+        :backgroundImage="tag === active ? 
+          'https://xy.wenlvti.net/app_static/images/village/TagActive.png' : 
+          'https://xy.wenlvti.net/app_static/images/village/TagNormal.png'"
+        :backgroundCutBorder="[10, 10, 10, 10]"
+        :backgroundCutBorderSize="[10, 10, 10, 10]"
+        :padding="[20, 30]"
+        :text="tag"
       >
-        <BackgroundBox 
-          v-if="tag"
-          :backgroundImage="tag === active ? 
-            'https://xy.wenlvti.net/app_static/images/village/TagActive.png' : 
-            'https://xy.wenlvti.net/app_static/images/village/TagNormal.png'"
-          :backgroundCutBorder="[10, 10, 10, 10]"
-          :backgroundCutBorderSize="[10, 10, 10, 10]"
-          :padding="[20, 30]"
-          :text="tag"
-        >
-          <Text :text="tag" fontConfig="contentText" :color="tag === active ? 'white' : 'text.content'" />
-        </BackgroundBox>
-      </Touchable>
+        <Touchable @click="emit('update:active', tag)">
+          <Text :text="tag" fontConfig="contentText" :color="tag === active ? 'white' : 'text.content'" /> 
+        </Touchable>
+      </BackgroundBox>
     </FlexRow>
   </scroll-view>
 </template>

+ 1 - 1
src/common/config/AppCofig.ts

@@ -5,7 +5,7 @@ const buildInfo = `${__BUILD_GUID__}`
  * 说明:应用静态配置
  */
 export default {
-  version: '1.0.0',
+  version: '1.0.4',
   buildTime,
   buildInfo,
   appId: 'wx7e264ff5483995e9',

+ 3 - 3
src/pages/home/village/introd/card.vue

@@ -275,8 +275,8 @@
           <BubbleTip
             v-model:show="showManageTip"
             position="bottom"
-            crossPosition="left"
-            arrowOffsetX="-140rpx"
+            crossPosition="right"
+            arrowOffsetX="180rpx"
             content="村社贴图太乱?点这里整理"
             @contentClick="handleCloseManageTip(true)"
             @close="handleCloseManageTip(false)"
@@ -513,7 +513,7 @@ const showManageTipTimeout = new MemoryTimeOut('VillageManageTip', 1000 * 3600 *
 const showManageTip = ref(false);
 
 function handleManageFollowTip() {
-  if (showManageTipTimeout.isTimeout() && !isOfficialEmpty.value)
+  //if (showManageTipTimeout.isTimeout() && !isOfficialEmpty.value)
     showManageTip.value = true;
 }
 function handleCloseManageTip(goComp: boolean) {

+ 2 - 0
src/pages/user/index.vue

@@ -83,6 +83,7 @@
       </CellGroup>
     </ProvideVar>
     <DebugButton />
+    <Height :height="140" />
   </FlexCol>
 </template>
 
@@ -114,6 +115,7 @@ import GridItem from '@/components/layout/grid/GridItem.vue';
 import BoxMid from '@/common/components/box/BoxMid.vue';
 import FrameButton from '@/common/components/FrameButton.vue';
 import Width from '@/components/layout/space/Width.vue';
+import Height from '@/components/layout/space/Height.vue';
 
 const UserHead = 'https://mncdn.wenlvti.net/app_static/xiangyuan/images/user/avatar.png';