fix: tab icon
16
pages.json
@@ -74,24 +74,24 @@
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#999999",
|
||||
"selectedColor": "#7DBB9D",
|
||||
"backgroundColor": "#f6f1ec",
|
||||
"iconWidth": "8px",
|
||||
"selectedColor": "#ff3b30",
|
||||
"backgroundColor": "#ffffff",
|
||||
"iconWidth": "24px",
|
||||
"list": [
|
||||
{
|
||||
"text": "祝福",
|
||||
"text": "首页",
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/images/tabBar/home.png",
|
||||
"selectedIconPath": "static/images/tabBar/home_s.png"
|
||||
},
|
||||
{
|
||||
"text": "制作",
|
||||
"text": "定制贺卡",
|
||||
"pagePath": "pages/make/index",
|
||||
"iconPath": "static/images/tabBar/message.png",
|
||||
"selectedIconPath": "static/images/tabBar/message_s.png"
|
||||
"iconPath": "static/images/tabBar/creation.png",
|
||||
"selectedIconPath": "static/images/tabBar/creation_s.png"
|
||||
},
|
||||
{
|
||||
"text": "个人中心",
|
||||
"text": "我的",
|
||||
"pagePath": "pages/mine/mine",
|
||||
"iconPath": "static/images/tabBar/me.png",
|
||||
"selectedIconPath": "static/images/tabBar/me_s.png"
|
||||
|
||||
@@ -127,10 +127,10 @@ const features = ref([
|
||||
type: "card",
|
||||
},
|
||||
{
|
||||
title: "红包封面",
|
||||
subtitle: "获取新年红包封面",
|
||||
icon: "/static/icon/hongbao.png",
|
||||
type: "video",
|
||||
title: "新年运势",
|
||||
subtitle: "抽取新年关键词",
|
||||
icon: "/static/icon/yunshi.png",
|
||||
type: "fortune",
|
||||
},
|
||||
{
|
||||
title: "新春头像",
|
||||
@@ -139,10 +139,10 @@ const features = ref([
|
||||
type: "avatar_decor",
|
||||
},
|
||||
{
|
||||
title: "新年运势",
|
||||
subtitle: "抽取新年关键词",
|
||||
icon: "/static/icon/yunshi.png",
|
||||
type: "fortune",
|
||||
title: "精美壁纸",
|
||||
subtitle: "获取精美壁纸",
|
||||
icon: "/static/icon/bizhi.png",
|
||||
type: "video",
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -178,16 +178,16 @@ const popularCards = ref([
|
||||
]);
|
||||
|
||||
const onFeatureTap = (item) => {
|
||||
if (item.type === "avatar_decor" || item.type === "avatar_frame") {
|
||||
uni.navigateTo({ url: "/pages/avatar/index" });
|
||||
return;
|
||||
}
|
||||
if (item.type === "fortune") {
|
||||
uni.navigateTo({ url: "/pages/fortune/index" });
|
||||
return;
|
||||
}
|
||||
if (item.type === "card") {
|
||||
uni.navigateTo({ url: "/pages/make/index" });
|
||||
uni.switchTab({ url: "/pages/make/index" });
|
||||
return;
|
||||
}
|
||||
if (item.type === "avatar_decor" || item.type === "avatar_frame") {
|
||||
uni.navigateTo({ url: "/pages/avatar/index" });
|
||||
return;
|
||||
}
|
||||
uni.showToast({ title: `进入:${item.title}`, icon: "none" });
|
||||
|
||||
BIN
static/icon/bizhi.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
static/images/tabBar/creation.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
static/images/tabBar/creation_s.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
static/images/tabBar/home_old.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
static/images/tabBar/home_s_old.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 5.9 KiB |
BIN
static/images/tabBar/me_old.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 5.8 KiB |
BIN
static/images/tabBar/me_s_old.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |