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() {
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) {
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) {

View File

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

View File

@ -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")
})
}
}

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.forEach(item => {
item.image = require("@/static/images/inImage.jpg")
item.image = require("../static/inImage.jpg")
})
}
}

View File

@ -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() {

View File

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

View File

@ -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))
})
}
}

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>
</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
})
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB

View File

@ -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": {

View File

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

View File

@ -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({

View File

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

View File

@ -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' },

View File

@ -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({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB