Browse Source

添加足迹路由

master
xuwenbo 5 years ago
parent
commit
aa7ef9bcc7
  1. 2
      manifest.json
  2. 6
      pages.json
  3. 2
      pages/shop/GoodsFoot/index.vue

2
manifest.json

@ -1,5 +1,5 @@
{ {
"name" : "yshop商城演示版", "name" : "yshopmall",
"appid" : "__UNI__C7A519E", "appid" : "__UNI__C7A519E",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",

6
pages.json

@ -93,6 +93,12 @@
"navigationBarTitleText": "商品收藏" "navigationBarTitleText": "商品收藏"
} }
}, },
{
"path": "pages/shop/GoodsFoot/index",
"style": {
"navigationBarTitleText": "我的足迹"
}
},
{ {
"path": "pages/shop/news/NewsDetail/index", "path": "pages/shop/news/NewsDetail/index",
"style": { "style": {

2
pages/shop/GoodsFoot/index.vue

@ -37,7 +37,7 @@ import Recommend from "@/components/Recommend";
import { getCollectUser, getCollectDel } from "@/api/user"; import { getCollectUser, getCollectDel } from "@/api/user";
import Loading from "@/components/Loading"; import Loading from "@/components/Loading";
export default { export default {
name: "GoodsCollection", name: "GoodsFoot",
components: { components: {
Recommend, Recommend,
Loading Loading

Loading…
Cancel
Save