fix: make page scene
This commit is contained in:
@@ -343,16 +343,16 @@ const sceneList = ref([
|
||||
id: 1,
|
||||
name: "节日祝福",
|
||||
icon: "/static/icon/celebrate.png",
|
||||
type: "holiday",
|
||||
scene: "holiday",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "生日纪念",
|
||||
icon: "/static/icon/guashi.png",
|
||||
type: "birthday",
|
||||
scene: "birthday",
|
||||
},
|
||||
{ id: 3, name: "每日问候", icon: "/static/icon/yunshi.png", type: "daily" },
|
||||
{ id: 4, name: "情感表达", icon: "/static/icon/hongbao.png", type: "love" },
|
||||
{ id: 3, name: "每日问候", icon: "/static/icon/yunshi.png", scene: "daily" },
|
||||
{ id: 4, name: "情感表达", icon: "/static/icon/hongbao.png", scene: "love" },
|
||||
]);
|
||||
|
||||
const wallpaperList = ref([]);
|
||||
@@ -405,7 +405,7 @@ const navTo = (url) => {
|
||||
};
|
||||
|
||||
const navToMake = (item) => {
|
||||
uni.switchTab({ url: "/pages/make/index" });
|
||||
uni.navigateTo({ url: `/pages/make/index?scene=${item.scene}` });
|
||||
};
|
||||
|
||||
const navToWallpaper = (item) => {
|
||||
|
||||
Reference in New Issue
Block a user