This commit is contained in:
ChuShiZ 2024-09-28 00:17:38 +08:00
parent ccf6bea361
commit c23969ee2f
22 changed files with 142 additions and 146 deletions

View File

@ -76,7 +76,7 @@
}, },
showOrderDetail() { showOrderDetail() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/orderDetail/orderDetail?info=' + encodeURIComponent(JSON.stringify(this.orderInfo)) url: '/pages-order/orderDetail/orderDetail?info=' + encodeURIComponent(JSON.stringify(this.orderInfo))
}) })
} }
} }

View File

@ -88,13 +88,13 @@
if (index == 1) { if (index == 1) {
this.aindex = index this.aindex = index
uni.reLaunch({ uni.reLaunch({
url: '/pages/home/home' url: '/pages-home/home/home'
}) })
} }
if (index == 2) { if (index == 2) {
this.aindex = index this.aindex = index
uni.reLaunch({ uni.reLaunch({
url: '/pages/orderList/orderList' url: '/pages-order/orderList/orderList'
}) })
} }
if (index == 3) { if (index == 3) {

View File

@ -57,7 +57,7 @@ export default {
}, },
toActivity(){ toActivity(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/home/active' url: '/pages-home/home/active'
}) })
} }
} }

View File

@ -80,7 +80,7 @@
{ {
title: '活动礼包', title: '活动礼包',
icon: require('@/static/icons/homeMenuIcon/menu3.png'), icon: require('@/static/icons/homeMenuIcon/menu3.png'),
path: '/pages/home/active' path: '/pages-home/home/active'
}, },
{ {
title: '操作指南', title: '操作指南',
@ -135,7 +135,7 @@
}, },
toContent(id) { toContent(id) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/home/content?id=" + id, url: "/pages-home/home/content?id=" + id,
}) })
}, },
async getBannerList() { async getBannerList() {
@ -151,7 +151,7 @@
gotoShopDetail(row) { gotoShopDetail(row) {
// //
uni.navigateTo({ uni.navigateTo({
url: '/pages/shopDetail/shopDetail?info=' + encodeURIComponent(JSON.stringify(row)) url: '/pages-shop/shopDetail/shopDetail?info=' + encodeURIComponent(JSON.stringify(row))
}) })
}, },
gotoPage(menu) { gotoPage(menu) {
@ -170,7 +170,7 @@
}) })
this.shopList = res.data.records this.shopList = res.data.records
this.shopList.forEach(item => { this.shopList.forEach(item => {
item['image'] = require("@/static/images/outImage.jpg") item['image'] = require("../static/outImage.jpg")
}) })
} }
} }

View File

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 811 KiB

View File

@ -58,7 +58,7 @@
}) })
this.evaluateList = res.data.records this.evaluateList = res.data.records
this.evaluateList.forEach(item => { this.evaluateList.forEach(item => {
item.image = require("@/static/images/inImage.jpg") item.image = require("../static/inImage.jpg")
}) })
} }
} }

View File

@ -42,7 +42,7 @@
}, },
onLoad(data){ onLoad(data){
this.info = JSON.parse(decodeURIComponent(data.info)) this.info = JSON.parse(decodeURIComponent(data.info))
this.info['image'] = require("@/static/images/inImage.jpg") this.info['image'] = require("../static/inImage.jpg")
}, },
methods: { methods: {
submit() { submit() {

View File

@ -152,7 +152,7 @@
methods: { methods: {
gotoEvaluate() { gotoEvaluate() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/orderDetail/evaluate' url: '/pages-order/orderDetail/evaluate'
}) })
}, },
async getTicketsInfo(id){ async getTicketsInfo(id){

View File

@ -224,17 +224,17 @@ export default {
gotoDetail(row) { gotoDetail(row) {
if (row.goodsType === '2'){ if (row.goodsType === '2'){
uni.navigateTo({ uni.navigateTo({
url: '/pages/orderDetail/orderDetail?ticketsId=' + row.goodsId url: '/pages-order/orderDetail/orderDetail?ticketsId=' + row.goodsId
}) })
}else { }else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/orderDetail/orderDetail' url: '/pages-order/orderDetail/orderDetail'
}) })
} }
}, },
gotoEvaluate(row) { gotoEvaluate(row) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/orderDetail/evaluate?info=' + encodeURIComponent(JSON.stringify(row)) url: '/pages-order/orderDetail/evaluate?info=' + encodeURIComponent(JSON.stringify(row))
}) })
} }
} }

View File

Before

Width:  |  Height:  |  Size: 588 KiB

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB

View File

@ -10,7 +10,7 @@
</template> </template>
</VNavigationBar> </VNavigationBar>
</view> </view>
<image class="shopImg" src="@/static/images/outImage.jpg" mode="aspectFill"></image> <image class="shopImg" src="../static/outImage.jpg" mode="aspectFill"></image>
</view> </view>
<view class="shopBody"> <view class="shopBody">
<view class="shopDetail"> <view class="shopDetail">
@ -133,7 +133,7 @@
}) })
this.busiList = res.data.servicePackages this.busiList = res.data.servicePackages
this.busiList.forEach(item => { this.busiList.forEach(item => {
item['image'] = require("@/static/images/inImage.jpg") item['image'] = require("../static/inImage.jpg")
item['desc'] = this.info.business item['desc'] = this.info.business
}) })
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB

View File

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

View File

@ -16,7 +16,7 @@
onLoad() { onLoad() {
if (getToken()) { if (getToken()) {
uni.reLaunch({ uni.reLaunch({
url: '/pages/home/home' url: '/pages-home/home/home'
}) })
} else { } else {
uni.reLaunch({ uni.reLaunch({

View File

@ -137,7 +137,7 @@ import request from '../../utils/request';
if (res.code == 200) { if (res.code == 200) {
setToken(uni.getStorageSync('validaCodeToken')) setToken(uni.getStorageSync('validaCodeToken'))
uni.reLaunch({ uni.reLaunch({
url: '/pages/home/home' url: '/pages-home/home/home'
}) })
} else { } else {
uni.showToast({ uni.showToast({

View File

@ -167,7 +167,7 @@
}) })
} else { } else {
uni.reLaunch({ uni.reLaunch({
url: '/pages/home/home' url: '/pages-home/home/home'
}) })
} }
} else { } else {

View File

@ -90,7 +90,7 @@
menuCard1: [ menuCard1: [
{ title: '我的资料', icon: require('@/static/icons/my-menu-icon1.png'), path: '/pages/my/myInfo' }, { 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-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: [ menuCard2: [
{ title: '消息中心', icon: require('@/static/icons/my-menu-icon2.png'), path: '/pages/my/message' }, { title: '消息中心', icon: require('@/static/icons/my-menu-icon2.png'), path: '/pages/my/message' },

View File

@ -102,7 +102,7 @@ export default {
methods: { methods: {
goHome(){ goHome(){
uni.reLaunch({ uni.reLaunch({
url:'/pages/home/home' url:'/pages-home/home/home'
}) })
}, },
/** /**
@ -120,7 +120,7 @@ export default {
}).then((res) => { }).then((res) => {
if (res.code==200) { if (res.code==200) {
uni.reLaunch({ uni.reLaunch({
url: '/pages/home/home' url: '/pages-home/home/home'
}) })
} else { } else {
uni.showToast({ uni.showToast({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB