Преглед изворни кода

🎨 按要求更换志愿者默认图标,优化细节

快乐的梦鱼 пре 1 недеља
родитељ
комит
dfde8f2c12

BIN
server/images/village/PlaceholderVolunteer.png


BIN
server/images/village/PlaceholderVolunteerNew.png


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

@@ -62,7 +62,8 @@
                 />
                 <FlexCol>
                   <H4 :size="36" fontFamily="SongtiSCBlack">{{ item.title }}</H4>
-                  <Text :size="23">{{ item.desc }}</Text>
+                  <Text fontConfig="secondText" :text="item.desc" />
+                  <Text fontConfig="secondText" :text="item.from" />
                 </FlexCol>
               </Touchable>
               <FlexCol>
@@ -155,9 +156,8 @@ const listLoader = useSimplePageListLoader(8, async (page, pageSize, params) =>
       image: item.image,
       title: item.title,
       villageVolunteerId: item.villageVolunteerId,
-      desc: DataDateUtils.formatDate(item.updatedAt, 'YYYY-MM-dd') + (
-        (' 投稿人:' + item.villageVolunteerName)
-      ),
+      desc: DataDateUtils.formatDate(item.updatedAt, 'YYYY-MM-dd'),
+      from: '投稿人:' + item.villageVolunteerName,
       disLikes: item.dislikeNum.toString(),
       likes: item.likeNum.toString(),
       statusText: item.statusText,

+ 1 - 1
src/pages/home/components/NotVolTip.vue

@@ -8,7 +8,7 @@
     radius="radius.md" 
   > 
     <Image 
-      src="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png" 
+      src="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png" 
       mode="widthFix" 
       :width="200" 
       :height="200" 

+ 1 - 1
src/pages/home/components/VillageUserRankList.vue

@@ -27,7 +27,7 @@
       >
         <Avatar 
           :url="item.image" :size="item.rank == 1 ? 100 : 90" mode="aspectFill" radius="radius.md" 
-          defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png"
+          defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png"
         />
         <Height :height="item.rank == 1 ? 15 : 10" />
         <Text fontConfig="h4" :text="item.title" :lines="1" color="white" />

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

@@ -230,7 +230,7 @@
             v-model:show="showManageTip"
             position="bottom"
             crossPosition="left"
-            arrowOffsetX="-50rpx"
+            arrowOffsetX="-140rpx"
             content="村社贴图太乱?点这里整理"
             @contentClick="handleCloseManageTip(true)"
             @close="handleCloseManageTip(false)"

+ 2 - 2
src/pages/home/village/introd/tree.vue

@@ -72,7 +72,7 @@
           > 
             <Avatar  
               :url="item.head"
-              defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png"
+              defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png"
               :size="80"
               radius="50%"
             />
@@ -167,7 +167,7 @@ import BlessBuyDialog from '../dialogs/BlessBuyDialog.vue';
 import BlessSuccessDialog from '../dialogs/BlessSuccessDialog.vue';
 
 const GROWTH_FEED_COUNT = 6;
-const DEFAULT_AVATAR = 'https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png';
+const DEFAULT_AVATAR = 'https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png';
 
 const villageStore = useVillageStore();
 const authStore = useAuthStore();

+ 1 - 1
src/pages/home/village/rank/components/RankVolunteerItem.vue

@@ -24,7 +24,7 @@
         </BackgroundBox>
         <Avatar 
           :url="image" 
-          defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png"
+          defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png"
           :size="70" 
           mode="aspectFill" 
           radius="radius.md" 

+ 1 - 1
src/pages/home/village/volunteer/list.vue

@@ -22,7 +22,7 @@
             <FlexRow align="center" gap="gap.lg">
               <Avatar 
                 :url="item.image" 
-                defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png"
+                defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteerNew.png"
                 :size="70" 
                 mode="aspectFill" 
                 radius="radius.md"