Selaa lähdekoodia

📦 修改问题

imengyu 1 kuukausi sitten
vanhempi
commit
943e2f2d35

+ 10 - 10
src/pages/discover.vue

@@ -135,16 +135,6 @@
 
 <script setup lang="ts">
 import Tabbar from '@/common/components/tabs/tabbar.vue';
-import CategoryIcon1 from 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon1.png';
-import CategoryIcon2 from 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon2.png';
-import CategoryIcon3 from 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon3.png';
-import CategoryIcon4 from 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon4.png';
-import CategoryIcon5 from 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon5.png';
-import ImageTest2 from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest2.jpg';
-import ImageTest3 from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest3.jpg';
-import ImageTest4 from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest4.jpg';
-import ImageTest5 from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest5.jpg';
-import UserHead from 'https://mn.wenlvti.net/app_static/minnan/images/home/UserHead.png';
 import Box2LineRightShadow from './parts/Box2LineRightShadow.vue';
 import Box2LinePlayRightArrow from './parts/Box2LinePlayRightArrow.vue';
 import Box2LineRightSlot from './parts/Box2LineRightSlot.vue';
@@ -155,6 +145,16 @@ import { useSimpleDataLoader } from '@/common/composeabe/SimpleDataLoader';
 import SimplePageContentLoader from '@/common/components/SimplePageContentLoader.vue';
 import { useHomePageMiniCommonListGoMoreAndGoDetail } from './article/common/CommonContent';
 
+const CategoryIcon1 = 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon1.png';
+const CategoryIcon2 = 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon2.png';
+const CategoryIcon3 = 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon3.png';
+const CategoryIcon4 = 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon4.png';
+const CategoryIcon5 = 'https://mn.wenlvti.net/app_static/minnan/images/discover/CategoryIcon5.png';
+const ImageTest2 = 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest2.jpg';
+const ImageTest3 = 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest3.jpg';
+const ImageTest4 = 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest4.jpg';
+const ImageTest5 = 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest5.jpg';
+const UserHead = 'https://mn.wenlvti.net/app_static/minnan/images/home/UserHead.png';
 const categories = [
   { 
     name: '海洋文化', 

+ 9 - 9
src/pages/home.vue

@@ -152,15 +152,15 @@
 
 <script setup lang="ts">
 import Tabbar from '@/common/components/tabs/tabbar.vue';
-import MainBoxIcon1 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon1.png';
-import MainBoxIcon2 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon2.png';
-import MainBoxIcon3 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon3.png';
-import MainBoxIcon4 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon4.png';
-import MainBoxIcon5 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon5.png';
-import MainBoxIcon6 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon6.png';
-import MainBoxIcon7 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon7.png';
-import MainBoxIcon8 from 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon8.png';
-import ImageTest  from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg';
+const MainBoxIcon1 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon1.png';
+const MainBoxIcon2 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon2.png';
+const MainBoxIcon3 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon3.png';
+const MainBoxIcon4 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon4.png';
+const MainBoxIcon5 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon5.png';
+const MainBoxIcon6 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon6.png';
+const MainBoxIcon7 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon7.png';
+const MainBoxIcon8 = 'https://mn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon8.png';
+const ImageTest = 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg';
 import HomeTitle from '@/pages/parts/HomeTitle.vue'; 
 import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
 import SimplePageContentLoader from "@/common/components/SimplePageContentLoader.vue";

+ 2 - 3
src/pages/parts/Box1AudioPlay.vue

@@ -4,7 +4,7 @@
     >
     <image 
       class="width-150 height-150 radius-base" 
-      :src="image || ImageTest" 
+      :src="image || 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg'" 
       mode="aspectFill" 
       @click="$emit('click')"
     />
@@ -52,7 +52,6 @@
 </template>
 
 <script setup lang="ts">
-import ImageTest from 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg';
 
 const props = defineEmits([	
   "click",
@@ -68,7 +67,7 @@ defineProps({
   },
   image: {
     type: String,
-    default: ImageTest,
+    default: 'https://mn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg',
   },
   playState: {
     type: Boolean,

+ 6 - 6
src/pages/parts/Box2LineLargeImageUserShadow.vue

@@ -52,12 +52,12 @@
 </template>
 
 <script setup lang="ts">
-import IconHeart from 'https://mn.wenlvti.net/app_static/minnan/images/discover/IconHeart.png';
-import IconChat from 'https://mn.wenlvti.net/app_static/minnan/images/discover/IconChat.png';
-import IconLocation from 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconLocation.png';
-import IconTime from 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconTime.png';
-import IconStar from 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconStar.png';
-import PlayVideo from 'https://mn.wenlvti.net/app_static/minnan/images/inhert/PlayVideo.png';
+const IconHeart = 'https://mn.wenlvti.net/app_static/minnan/images/discover/IconHeart.png';
+const IconChat = 'https://mn.wenlvti.net/app_static/minnan/images/discover/IconChat.png';
+const IconLocation = 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconLocation.png';
+const IconTime = 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconTime.png';
+const IconStar = 'https://mn.wenlvti.net/app_static/minnan/images/inhert/IconStar.png';
+const PlayVideo = 'https://mn.wenlvti.net/app_static/minnan/images/inhert/PlayVideo.png';
 
 defineProps({
   classNames: {

+ 2 - 2
src/pages/travel.vue

@@ -173,10 +173,10 @@ const subTabs = [
     }) 
   },
   { 
-    name: '示范点', 
+    name: '重点区域', 
     icon: CategoryIcon5 , 
     onClick: () => navTo('/pages/article/common/list', {
-      title: '示范点',
+      title: '重点区域',
       mainBodyColumnId: 278,
       modelId: 17,
       itemType: 'article-common',

+ 2 - 3
src/pages/user/login.vue

@@ -1,7 +1,7 @@
 <template>
   <view class="p-3">
     <view v-if="type == 'mobile'" class="d-flex flex-column align-center justify-center">
-      <image class="width-300 m-5" :src="baseLogo" mode="widthFix"></image>
+      <image class="width-300 m-5" src="https://mn.wenlvti.net/app_static/minnan/logo.png" mode="widthFix"></image>
       <view class="w-100 mt-3 mb-3">
         <u-form
           labelPosition="top"
@@ -43,7 +43,7 @@
     </view>
 
     <view v-if="type == 'wechat'" class="d-flex flex-column align-center justify-center">
-      <image class="width-300 m-5" :src="baseLogo" mode="widthFix"></image>
+      <image class="width-300 m-5" src="https://mn.wenlvti.net/app_static/minnan/logo.png" mode="widthFix"></image>
       <view class="mt-3 mb-3">
         <text class="text-align-center">请点击微信登录,并授权获取公开信息, 登录后您将获得更多权益</text>
       </view>
@@ -60,7 +60,6 @@
 
 <script setup lang="ts">
 import { useAuthStore } from '@/store/auth';
-import baseLogo from 'https://mn.wenlvti.net/app_static/minnan/logo.png';
 import { onLoad } from '@dcloudio/uni-app';
 import { back } from '@/common/utils/PageAction';
 import { toast } from '@/common/utils/DialogAction';