Skip to content

Commit

Permalink
perf: 将一些图标放入图床
Browse files Browse the repository at this point in the history
  • Loading branch information
python-No2 committed Dec 19, 2023
1 parent 6a58a0e commit d596f1e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/pages/plan/GoToMyPlans.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template>
<view class="goToMyPlans">
<image
:src="Pictures.HelpedPlanLogo"
:src="Icons.HelpedPlanLogo"
class="small-icon"
@click="goToHelpedPlans()"
/>
</view>
</template>

<script setup lang="ts">
import { Pages, Pictures } from "@/utils/url";
import { Pages, Icons } from "@/utils/url";
const goToHelpedPlans = () => {
uni.navigateTo({
url: Pages.HelpedPlans
Expand Down
Binary file removed src/static/images/plan/GoToPath_heart_tag.png
Binary file not shown.
Binary file removed src/static/images/plan/plan_logo.png
Binary file not shown.
Binary file removed src/static/images/plan/plan_tag.png
Binary file not shown.
Binary file removed src/static/images/plan/plan_tag1.png
Binary file not shown.
Binary file removed src/static/images/plan/plan_tag2.png
Binary file not shown.
Binary file removed src/static/images/plan/task_logo.png
Binary file not shown.
Binary file removed src/static/images/plan/toast.png
Binary file not shown.
18 changes: 9 additions & 9 deletions src/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ export const enum Pictures {
NoData = "https://static.xhpolaris.com/nodata.png",
ProfileBackground = "https://static.xhpolaris.com/static/meowchat/profile_background.png",
NoCatHere = "/static/images/no_cat_here.png",
NoMore = "/static/images/nomore.png",
HelpedPlanLogo = "https://static.xhpolaris.com/static/meowchat/helped_plan_logo.png"
NoMore = "/static/images/nomore.png"
}

export const enum Icons {
Expand All @@ -21,11 +20,11 @@ export const enum Icons {
Tag = "/static/images/tag.png",
Cam = "/static/images/campus_cat.png",
View = "/static/images/view_the_illustration.png",
Plan_PlanHealthTag = "/static/images/plan/plan_tag1.png",
Plan_PlanSnacksTag = "/static/images/plan/plan_tag2.png",
Plan_Logo = "/static/images/plan/plan_logo.png",
Plan_Toast = "/static/images/plan/toast.png",
GoToPath_Tag = "/static/images/plan/GoToPath_heart_tag.png",
Plan_PlanHealthTag = "https://static.xhpolaris.com/static/meowchat/plan_tag1.png",
Plan_PlanSnacksTag = "https://static.xhpolaris.com/static/meowchat/plan_tag2.png",
Plan_Logo = "https://static.xhpolaris.com/static/meowchat/plan_logo.png",
Plan_Toast = "https://static.xhpolaris.com/static/meowchat/toast.png",
GoToPath_Tag = "https://static.xhpolaris.com/static/meowchat/GoToPath_heart_tag.png",
GoToArrow = "/static/images/plan/GoToPath_right_arrow.png",
CatExample = "/static/images/cat-example.png",
LittleFish = "/static/images/Little_Fish.png",
Expand All @@ -37,10 +36,11 @@ export const enum Icons {
Pic_Right = "/static/images/pic-right.png",
Button_Increment = "/static/images/button-increment.png",
Button_Decrement = "/static/images/button-decrement.png",
TaskLogo = "/static/images/plan/task_logo.png",
TaskLogo = "https://static.xhpolaris.com/static/meowchat/task_logo.png",
UnFinishedTask = "/static/images/plan/unfinished.png",
FinishedTask = "/static/images/plan/finished.png",
FinishedTaskIcon = "/static/images/plan/finished_icon.png"
FinishedTaskIcon = "/static/images/plan/finished_icon.png",
HelpedPlanLogo = "https://static.xhpolaris.com/static/meowchat/helped_plan_logo.png"
}

export const enum Pages {
Expand Down

0 comments on commit d596f1e

Please sign in to comment.