diff --git a/api/product.js b/api/product.js index 9df683e..3214618 100644 --- a/api/product.js +++ b/api/product.js @@ -85,6 +85,13 @@ export function getFestival() { return request.get('/contentFestival', {}, {login: false}) } +/** + * 尖货专题 + * */ +export function getContentBest(id) { + return request.get(`/contentBest/${id}`, {}, {login: false}) +} + /* * 非遗文化 * */ diff --git a/api/public.js b/api/public.js index 1acbf7a..d9d233c 100644 --- a/api/public.js +++ b/api/public.js @@ -8,8 +8,8 @@ export function getSplashScreen() { * 首页 * @returns {*} */ -export function getHomeData() { - return request.get("index", {}, { +export function getHomeData(params) { + return request.get("index", params, { login: false }); } diff --git a/components/xdd-product-item/index.vue b/components/xdd-product-item/index.vue new file mode 100644 index 0000000..9b84ea9 --- /dev/null +++ b/components/xdd-product-item/index.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/components/xdd-tabbar/index.vue b/components/xdd-tabbar/index.vue new file mode 100644 index 0000000..ca6ecdf --- /dev/null +++ b/components/xdd-tabbar/index.vue @@ -0,0 +1,183 @@ + + + + + diff --git a/pages.json b/pages.json index e61a01f..5121505 100644 --- a/pages.json +++ b/pages.json @@ -814,10 +814,10 @@ "text": "首页" }, { - "pagePath": "pages/home/landMark", + "pagePath": "pages/cloud/haveFun", "iconPath": "static/tabbar/icon-land.png", "selectedIconPath": "static/tabbar/icon-land-hot.png", - "text": "地标好物" + "text": "寻趣味" }, { "pagePath": "pages/cart", diff --git a/pages/cart.vue b/pages/cart.vue index 240dd75..e4059db 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -3,7 +3,7 @@ :style="{ 'padding-top': (statusBarHeight + 54) + 'px' }" - class="pages-cart" + class="pages-cart tabbar-page" > + \ No newline at end of file diff --git a/pages/home/index_bak20240730.vue b/pages/home/index_bak20240730.vue new file mode 100644 index 0000000..9f29ff8 --- /dev/null +++ b/pages/home/index_bak20240730.vue @@ -0,0 +1,1131 @@ + + + + + \ No newline at end of file diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue index f5180a1..3871592 100644 --- a/pages/user/User/index.vue +++ b/pages/user/User/index.vue @@ -1,5 +1,5 @@