分包
@ -76,7 +76,7 @@
|
||||
},
|
||||
showOrderDetail() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/orderDetail/orderDetail?info=' + encodeURIComponent(JSON.stringify(this.orderInfo))
|
||||
url: '/pages-order/orderDetail/orderDetail?info=' + encodeURIComponent(JSON.stringify(this.orderInfo))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -88,13 +88,13 @@
|
||||
if (index == 1) {
|
||||
this.aindex = index
|
||||
uni.reLaunch({
|
||||
url: '/pages/home/home'
|
||||
url: '/pages-home/home/home'
|
||||
})
|
||||
}
|
||||
if (index == 2) {
|
||||
this.aindex = index
|
||||
uni.reLaunch({
|
||||
url: '/pages/orderList/orderList'
|
||||
url: '/pages-order/orderList/orderList'
|
||||
})
|
||||
}
|
||||
if (index == 3) {
|
||||
|
@ -57,7 +57,7 @@ export default {
|
||||
},
|
||||
toActivity(){
|
||||
uni.navigateTo({
|
||||
url: '/pages/home/active'
|
||||
url: '/pages-home/home/active'
|
||||
})
|
||||
}
|
||||
}
|
@ -80,7 +80,7 @@
|
||||
{
|
||||
title: '活动礼包',
|
||||
icon: require('@/static/icons/homeMenuIcon/menu3.png'),
|
||||
path: '/pages/home/active'
|
||||
path: '/pages-home/home/active'
|
||||
},
|
||||
{
|
||||
title: '操作指南',
|
||||
@ -135,7 +135,7 @@
|
||||
},
|
||||
toContent(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/home/content?id=" + id,
|
||||
url: "/pages-home/home/content?id=" + id,
|
||||
})
|
||||
},
|
||||
async getBannerList() {
|
||||
@ -151,7 +151,7 @@
|
||||
gotoShopDetail(row) {
|
||||
// 直接把那一行的数据转发过去
|
||||
uni.navigateTo({
|
||||
url: '/pages/shopDetail/shopDetail?info=' + encodeURIComponent(JSON.stringify(row))
|
||||
url: '/pages-shop/shopDetail/shopDetail?info=' + encodeURIComponent(JSON.stringify(row))
|
||||
})
|
||||
},
|
||||
gotoPage(menu) {
|
||||
@ -170,7 +170,7 @@
|
||||
})
|
||||
this.shopList = res.data.records
|
||||
this.shopList.forEach(item => {
|
||||
item['image'] = require("@/static/images/outImage.jpg")
|
||||
item['image'] = require("../static/outImage.jpg")
|
||||
})
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 811 KiB After Width: | Height: | Size: 811 KiB |
@ -58,7 +58,7 @@
|
||||
})
|
||||
this.evaluateList = res.data.records
|
||||
this.evaluateList.forEach(item => {
|
||||
item.image = require("@/static/images/inImage.jpg")
|
||||
item.image = require("../static/inImage.jpg")
|
||||
})
|
||||
}
|
||||
}
|
@ -42,7 +42,7 @@
|
||||
},
|
||||
onLoad(data){
|
||||
this.info = JSON.parse(decodeURIComponent(data.info))
|
||||
this.info['image'] = require("@/static/images/inImage.jpg")
|
||||
this.info['image'] = require("../static/inImage.jpg")
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
@ -152,7 +152,7 @@
|
||||
methods: {
|
||||
gotoEvaluate() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/orderDetail/evaluate'
|
||||
url: '/pages-order/orderDetail/evaluate'
|
||||
})
|
||||
},
|
||||
async getTicketsInfo(id){
|
@ -224,17 +224,17 @@ export default {
|
||||
gotoDetail(row) {
|
||||
if (row.goodsType === '2'){
|
||||
uni.navigateTo({
|
||||
url: '/pages/orderDetail/orderDetail?ticketsId=' + row.goodsId
|
||||
url: '/pages-order/orderDetail/orderDetail?ticketsId=' + row.goodsId
|
||||
})
|
||||
}else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/orderDetail/orderDetail'
|
||||
url: '/pages-order/orderDetail/orderDetail'
|
||||
})
|
||||
}
|
||||
},
|
||||
gotoEvaluate(row) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/orderDetail/evaluate?info=' + encodeURIComponent(JSON.stringify(row))
|
||||
url: '/pages-order/orderDetail/evaluate?info=' + encodeURIComponent(JSON.stringify(row))
|
||||
})
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 588 KiB After Width: | Height: | Size: 588 KiB |
BIN
pages-order/static/outImage.jpg
Normal file
After Width: | Height: | Size: 811 KiB |
@ -10,7 +10,7 @@
|
||||
</template>
|
||||
</VNavigationBar>
|
||||
</view>
|
||||
<image class="shopImg" src="@/static/images/outImage.jpg" mode="aspectFill"></image>
|
||||
<image class="shopImg" src="../static/outImage.jpg" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="shopBody">
|
||||
<view class="shopDetail">
|
||||
@ -133,7 +133,7 @@
|
||||
})
|
||||
this.busiList = res.data.servicePackages
|
||||
this.busiList.forEach(item => {
|
||||
item['image'] = require("@/static/images/inImage.jpg")
|
||||
item['image'] = require("../static/inImage.jpg")
|
||||
item['desc'] = this.info.business
|
||||
})
|
||||
}
|
BIN
pages-shop/static/inImage.jpg
Normal file
After Width: | Height: | Size: 588 KiB |
BIN
pages-shop/static/outImage.jpg
Normal file
After Width: | Height: | Size: 811 KiB |
188
pages.json
@ -9,13 +9,6 @@
|
||||
// // "navigationBarTitleText": "uni-app"
|
||||
// // }
|
||||
// // },
|
||||
{
|
||||
"path" : "pages/home/home",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
@ -23,151 +16,154 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderList/orderList",
|
||||
"style" :
|
||||
"path": "pages/my/my",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/myReservation/myReservation",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/my",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/myCar/myCar",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/home/active",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/my/myInfo",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/myReservation/myReservation",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/myCar/carDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/myCar/myCar",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/my/myEquity",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/shopDetail/shopDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/my/register",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderDetail/orderDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/myReservation/addReservation",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/myInfo",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/my/message",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/myCar/carDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/my/cardRoll",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/myEquity",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/myReservation/reservationSuccess",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/register",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/guideList/guideList",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/myReservation/addReservation",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "pages/guideList/guideDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/message",
|
||||
"style" :
|
||||
"path": "pages/login/bindPhoe",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"root": "pages-order",
|
||||
"pages": [
|
||||
{
|
||||
"path": "orderList/orderList",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/evaluate",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "orderDetail/evaluate",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/cardRoll",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "orderDetail/orderDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/myReservation/reservationSuccess",
|
||||
"style" :
|
||||
"path": "my/evaluate",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"root": "pages-shop",
|
||||
"pages": [
|
||||
{
|
||||
"path": "shopDetail/shopDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages-home",
|
||||
"pages": [
|
||||
{
|
||||
"path": "home/home",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderDetail/evaluate",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "home/active",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/guideList/guideList",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "home/content",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/guideList/guideDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/login/bindPhoe",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/home/content",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
@ -16,7 +16,7 @@
|
||||
onLoad() {
|
||||
if (getToken()) {
|
||||
uni.reLaunch({
|
||||
url: '/pages/home/home'
|
||||
url: '/pages-home/home/home'
|
||||
})
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
|
@ -137,7 +137,7 @@ import request from '../../utils/request';
|
||||
if (res.code == 200) {
|
||||
setToken(uni.getStorageSync('validaCodeToken'))
|
||||
uni.reLaunch({
|
||||
url: '/pages/home/home'
|
||||
url: '/pages-home/home/home'
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
@ -167,7 +167,7 @@
|
||||
})
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
url: '/pages/home/home'
|
||||
url: '/pages-home/home/home'
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
@ -90,7 +90,7 @@
|
||||
menuCard1: [
|
||||
{ title: '我的资料', icon: require('@/static/icons/my-menu-icon1.png'), path: '/pages/my/myInfo' },
|
||||
{ title: '我的卡券', icon: require('@/static/icons/my-menu-icon5.png'), path: "/pages/my/cardRoll" },
|
||||
{ title: '我的评价', icon: require('@/static/icons/my-menu-icon3.png'), path: '/pages/my/evaluate' },
|
||||
{ title: '我的评价', icon: require('@/static/icons/my-menu-icon3.png'), path: '/pages-order/my/evaluate' },
|
||||
],
|
||||
menuCard2: [
|
||||
{ title: '消息中心', icon: require('@/static/icons/my-menu-icon2.png'), path: '/pages/my/message' },
|
||||
|
@ -102,7 +102,7 @@ export default {
|
||||
methods: {
|
||||
goHome(){
|
||||
uni.reLaunch({
|
||||
url:'/pages/home/home'
|
||||
url:'/pages-home/home/home'
|
||||
})
|
||||
},
|
||||
/**
|
||||
@ -120,7 +120,7 @@ export default {
|
||||
}).then((res) => {
|
||||
if (res.code==200) {
|
||||
uni.reLaunch({
|
||||
url: '/pages/home/home'
|
||||
url: '/pages-home/home/home'
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
Before Width: | Height: | Size: 512 KiB |