分包
@ -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))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
@ -57,7 +57,7 @@ export default {
|
|||||||
},
|
},
|
||||||
toActivity(){
|
toActivity(){
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/home/active'
|
url: '/pages-home/home/active'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 811 KiB After Width: | Height: | Size: 811 KiB |
@ -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")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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() {
|
@ -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){
|
@ -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))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
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>
|
</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
|
||||||
})
|
})
|
||||||
}
|
}
|
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 |
222
pages.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"easycom": {
|
"easycom": {
|
||||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||||
},
|
},
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
// // {
|
// // {
|
||||||
// // "path": "pages/index/index",
|
// // "path": "pages/index/index",
|
||||||
@ -9,13 +9,6 @@
|
|||||||
// // "navigationBarTitleText": "uni-app"
|
// // "navigationBarTitleText": "uni-app"
|
||||||
// // }
|
// // }
|
||||||
// // },
|
// // },
|
||||||
{
|
|
||||||
"path" : "pages/home/home",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "pages/login/login",
|
"path": "pages/login/login",
|
||||||
"style": {
|
"style": {
|
||||||
@ -23,151 +16,154 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/orderList/orderList",
|
"path": "pages/my/my",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"path": "pages/myReservation/myReservation",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/my",
|
"path": "pages/myCar/myCar",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/home/active",
|
"path": "pages/my/myInfo",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/myReservation/myReservation",
|
"path": "pages/myCar/carDetail",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/myCar/myCar",
|
"path": "pages/my/myEquity",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/shopDetail/shopDetail",
|
"path": "pages/my/register",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/orderDetail/orderDetail",
|
"path": "pages/myReservation/addReservation",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/myInfo",
|
"path": "pages/my/message",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/myCar/carDetail",
|
"path": "pages/my/cardRoll",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/myEquity",
|
"path": "pages/myReservation/reservationSuccess",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/register",
|
"path": "pages/guideList/guideList",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/myReservation/addReservation",
|
"path": "pages/guideList/guideDetail",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/message",
|
"path": "pages/login/bindPhoe",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": ""
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"subPackages": [
|
||||||
|
{
|
||||||
|
"root": "pages-order",
|
||||||
|
"pages": [
|
||||||
|
{
|
||||||
|
"path": "orderList/orderList",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "orderDetail/evaluate",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "orderDetail/orderDetail",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "my/evaluate",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/evaluate",
|
"root": "pages-shop",
|
||||||
"style" :
|
"pages": [
|
||||||
{
|
{
|
||||||
"navigationBarTitleText" : ""
|
"path": "shopDetail/shopDetail",
|
||||||
}
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/my/cardRoll",
|
"root": "pages-home",
|
||||||
"style" :
|
"pages": [
|
||||||
{
|
{
|
||||||
"navigationBarTitleText" : ""
|
"path": "home/home",
|
||||||
}
|
"style": {
|
||||||
},
|
"navigationBarTitleText": ""
|
||||||
{
|
}
|
||||||
"path" : "pages/myReservation/reservationSuccess",
|
},
|
||||||
"style" :
|
{
|
||||||
{
|
"path": "home/active",
|
||||||
"navigationBarTitleText" : ""
|
"style": {
|
||||||
}
|
"navigationBarTitleText": ""
|
||||||
},
|
}
|
||||||
{
|
},
|
||||||
"path" : "pages/orderDetail/evaluate",
|
{
|
||||||
"style" :
|
"path": "home/content",
|
||||||
{
|
"style": {
|
||||||
"navigationBarTitleText" : ""
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
{
|
]
|
||||||
"path" : "pages/guideList/guideList",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path" : "pages/guideList/guideDetail",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path" : "pages/login/bindPhoe",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path" : "pages/home/content",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
@ -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({
|
||||||
|
@ -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({
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/home/home'
|
url: '/pages-home/home/home'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -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' },
|
||||||
|
@ -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({
|
||||||
|
Before Width: | Height: | Size: 512 KiB |