分包
@ -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 |
154
pages.json
@ -9,165 +9,161 @@
|
||||
// // "navigationBarTitleText": "uni-app"
|
||||
// // }
|
||||
// // },
|
||||
{
|
||||
"path" : "pages/home/home",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderList/orderList",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/my",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/home/active",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/myReservation/myReservation",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/myCar/myCar",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/shopDetail/shopDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderDetail/orderDetail",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/myInfo",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/myCar/carDetail",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/myEquity",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/register",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/myReservation/addReservation",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/message",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/evaluate",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/cardRoll",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/myReservation/reservationSuccess",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/orderDetail/evaluate",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/guideList/guideList",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/guideList/guideDetail",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/bindPhoe",
|
||||
"style" :
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages-order",
|
||||
"pages": [
|
||||
{
|
||||
"path": "orderList/orderList",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/home/content",
|
||||
"style" :
|
||||
{
|
||||
"path": "orderDetail/evaluate",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "orderDetail/orderDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "my/evaluate",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages-shop",
|
||||
"pages": [
|
||||
{
|
||||
"path": "shopDetail/shopDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages-home",
|
||||
"pages": [
|
||||
{
|
||||
"path": "home/home",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "home/active",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "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 |