diff --git a/pages.json b/pages.json index 890800f..b6727e3 100644 --- a/pages.json +++ b/pages.json @@ -41,6 +41,18 @@ "navigationBarTitleText" : "全部订单" } }, + { + "path": "letter/index", + "style": { + "navigationBarTitleText": "非遗手札" + } + }, + { + "path": "letter/detail", + "style": { + "navigationBarTitleText": "文章详情" + } + }, { "path": "techan/index", "style": { diff --git a/pages/user/user.vue b/pages/user/user.vue index 7444496..1d44f47 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -134,7 +134,7 @@ { src: 'https://static.ticket.sz-trip.com/cgc/images/user/shdz.png', title: '收货地址', - path: '', + path: '/subPackages/user/travelerList', isShow: true }, { diff --git a/static/js/request.js b/static/js/request.js index 17d364d..4a2c0a7 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -2,8 +2,8 @@ import Vue from 'vue'; import store from '@/store'; // 定义 API URL -const DEV_API_URL = 'https://tlgz.sz-trip.com'; -const PROD_API_URL = 'https://tlgz.sz-trip.com'; +const DEV_API_URL = 'https://cgc.js-dyyj.com'; +const PROD_API_URL = 'https://cgc.js-dyyj.com/'; const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; // 获取token diff --git a/subPackages/letter/detail.vue b/subPackages/letter/detail.vue new file mode 100644 index 0000000..fef619c --- /dev/null +++ b/subPackages/letter/detail.vue @@ -0,0 +1,125 @@ + + + + + + + + + + + + + {{detail.title}} + + + + {{detail.author}} + + + + {{detail.view}} + + {{detail.view}} + + + + + + + + + + + + \ No newline at end of file diff --git a/subPackages/letter/index.vue b/subPackages/letter/index.vue new file mode 100644 index 0000000..50cc418 --- /dev/null +++ b/subPackages/letter/index.vue @@ -0,0 +1,134 @@ + + + + + + + + + {{item.title}} + {{item.title}} + + + + {{item.author}} + + + + {{item.view}} + + {{item.view}} + + + + + + + + + + + + \ No newline at end of file