Bladeren bron

🎨 优化挖掘页细节

快乐的梦鱼 1 dag geleden
bovenliggende
commit
297d5eb13f
4 gewijzigde bestanden met toevoegingen van 8 en 8 verwijderingen
  1. 3 3
      src/pages/dig/forms/list-ordinary.vue
  2. 2 2
      src/pages/dig/forms/list.vue
  3. 1 1
      src/pages/home/village/index.vue
  4. 2 2
      src/pages/index.vue

+ 3 - 3
src/pages/dig/forms/list-ordinary.vue

@@ -61,18 +61,18 @@
                   mode="aspectFill"
                 />
                 <FlexCol>
-                  <H4 :size="36" fontFamily="SongtiSCBlack">{{ item.title }}</H4>
+                  <H4 :size="36" :maxWidth="300" :lines="1" fontFamily="SongtiSCBlack">{{ item.title }}</H4>
                   <Text fontConfig="secondText" :text="item.desc" />
                   <Text fontConfig="secondText" :text="item.from" />
                 </FlexCol>
               </Touchable>
               <FlexCol>
-                <FlexRow>
+                <FlexRow gap="gap.md">
                   <FrameButton :text="item.statusText" size="midium" @click="navTo('/pages/dig/about/goving')" />
                   <FrameButton v-if="item.villageVolunteerId === volunteerInfo?.id" text="编辑" size="midium" @click="goEdit(item)" />
                   <FrameButton v-if="isManagement" text="管理" size="midium" @click="goEdit(item)" />
                 </FlexRow>
-                <FlexRow gap="gap.md">
+                <FlexRow justify="flex-end" gap="gap.md">
                   <IconButton icon="appreciate-light-fill" size="30" :text="item.likes" color="primary" />
                   <IconButton icon="appreciate-light" size="30" :rotate="180" :text="item.disLikes" color="primary" />
                 </FlexRow>

+ 2 - 2
src/pages/dig/forms/list.vue

@@ -44,7 +44,7 @@
                   mode="aspectFill"
                 />
                 <FlexCol>
-                  <H4 :size="36">{{ item.title }}</H4>
+                  <H4 :size="36" :maxWidth="300" :lines="1">{{ item.title }}</H4>
                   <Text :size="23">{{ item.desc }}</Text>
                   <Text fontConfig="secondText" :text="item.from" />
                 </FlexCol>
@@ -53,7 +53,7 @@
                 <FlexRow>
                   <FrameButton :text="item.statusText" size="midium" @click="navTo('/pages/dig/about/goving')" />
                 </FlexRow>
-                <FlexRow gap="gap.md">
+                <FlexRow justify="flex-end" gap="gap.md">
                   <IconButton icon="appreciate-light-fill" size="30" :text="item.likes" color="primary" />
                   <IconButton icon="appreciate-light" size="30" :rotate="180" :text="item.disLikes" color="primary" />
                 </FlexRow>

+ 1 - 1
src/pages/home/village/index.vue

@@ -181,7 +181,7 @@ onMounted(async () => {
 
 function handleTestGoTree() {
   if (isDevEnv) {
-    tab.value = 'tree';
+    //tab.value = 'tree';
   }
 }
 

+ 2 - 2
src/pages/index.vue

@@ -15,7 +15,7 @@
         backgroundColor="transparent"
         textColor="whweixinite"
         align="left"
-        :zIndex="200"
+        :zIndex="2000"
       />
       <HomeIndex v-show="tabIndex === 0" @goVillage="tabIndex = 1" @goDig="tabIndex = 2" />
       <VillageIndex v-if="tabIndex === 1" showSwitch ref="villageIndex" @goHome="tabIndex=0" />
@@ -27,7 +27,7 @@
         fixed
         xbarSpace
         :innerStyle="{
-          zIndex: 201,
+          zIndex: 2001,
           backgroundColor: '#ffead8',
         }"
       >