修改分包问题
This commit is contained in:
parent
3967a563f6
commit
08788f2996
@ -169,7 +169,7 @@
|
||||
// 跳转详情
|
||||
// toDetail(id, orderId) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// url: "/packageA/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
@ -253,12 +253,12 @@
|
||||
// 跳转详情
|
||||
toDetail(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detail?id=" + id
|
||||
url: "/packageA/center/detail?id=" + id
|
||||
})
|
||||
},
|
||||
toTeacher(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/teacherDetail?id=" + id
|
||||
url: "/packageA/center/teacherDetail?id=" + id
|
||||
})
|
||||
}
|
||||
}
|
@ -358,7 +358,7 @@
|
||||
},
|
||||
getShare() {
|
||||
uni.$u.http.post('/api/wechat_util/link', {
|
||||
path: 'pages/center/detail',
|
||||
path: 'packageA/center/detail',
|
||||
query: `id=${this.id}`,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
@ -433,7 +433,7 @@
|
||||
this.type = 3;
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/center/orderDetail?id=' + this.id
|
||||
// url: '/packageA/center/orderDetail?id=' + this.id
|
||||
// })
|
||||
|
||||
},
|
@ -393,7 +393,7 @@ export default {
|
||||
return {
|
||||
title: this.detail.title, //分享的标题
|
||||
imageUrl: this.detail.images[0], //展示的图片,这里是本地路径的写法,也可以写http或https开头的图片路径
|
||||
path: `/pages/center/detail?id=${this.id}&isShare=1`
|
||||
path: `/packageA/center/detail?id=${this.id}&isShare=1`
|
||||
}
|
||||
},
|
||||
//发送朋友圈
|
||||
@ -529,7 +529,7 @@ export default {
|
||||
},
|
||||
getShare() {
|
||||
uni.$u.http.post('/api/wechat_util/link', {
|
||||
path: 'pages/center/detail',
|
||||
path: 'packageA/center/detail',
|
||||
query: `id=${this.id}`,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
@ -676,7 +676,7 @@ export default {
|
||||
|
||||
sign() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/center/applyDetail?id=' + this.id
|
||||
url: '/packageA/center/applyDetail?id=' + this.id
|
||||
})
|
||||
|
||||
},
|
||||
@ -712,7 +712,7 @@ export default {
|
||||
// 机构详情
|
||||
toMeDetail() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
url: "/packageA/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
})
|
||||
},
|
||||
|
@ -337,7 +337,7 @@
|
||||
},
|
||||
toSgindetail(){
|
||||
uni.navigateTo({
|
||||
url: '/pages/center/signDetail?id=' + this.id
|
||||
url: '/packageA/center/signDetail?id=' + this.id
|
||||
});
|
||||
},
|
||||
// 获取报名详情
|
||||
@ -428,7 +428,7 @@
|
||||
// this.type = 3;
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/center/applyDetail?id=' + this.id
|
||||
url: '/packageA/center/applyDetail?id=' + this.id
|
||||
})
|
||||
|
||||
},
|
||||
@ -519,7 +519,7 @@
|
||||
// 机构详情
|
||||
toMeDetail() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
url: "/packageA/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
})
|
||||
},
|
||||
|
@ -460,14 +460,14 @@
|
||||
// 教师详情
|
||||
toTeacher(id) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/center/teacherDetail?id=${id}`
|
||||
url: `/packageA/center/teacherDetail?id=${id}`
|
||||
})
|
||||
},
|
||||
// 机构详情
|
||||
toMeDetail() {
|
||||
const jigouId = this.detail.shop.id
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/MechanismDetail?id=" + jigouId
|
||||
url: "/packageA/center/MechanismDetail?id=" + jigouId
|
||||
})
|
||||
},
|
||||
|
@ -185,7 +185,7 @@
|
||||
// 跳转详情
|
||||
// toDetail(id, orderId) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// url: "/packageA/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
@ -261,7 +261,7 @@
|
||||
},
|
||||
againBuy(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detail?id=" + id
|
||||
url: "/packageA/center/detail?id=" + id
|
||||
})
|
||||
},
|
||||
// 取消支付
|
||||
@ -285,8 +285,8 @@
|
||||
// 跳转预约
|
||||
toMake(id, orderId, classes_lib_id, type) {
|
||||
uni.navigateTo({
|
||||
// url: "/pages/center/applyDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2
|
||||
url: "/pages/center/orderDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2 +
|
||||
// url: "/packageA/center/applyDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2
|
||||
url: "/packageA/center/orderDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2 +
|
||||
"&classes_lib_id=" + classes_lib_id
|
||||
})
|
||||
},
|
||||
|
@ -20,7 +20,7 @@
|
||||
</view> -->
|
||||
<view class="centerBox flex justify-start align-items flex-column">
|
||||
<view class="flex w-100 center flex-column" style="align-items: center;" v-for="(item,index) in list"
|
||||
:key="index" @click.stop="openUrl('/pages/center/applyDetail?id='+item.id)">
|
||||
:key="index" @click.stop="openUrl('/packageA/center/applyDetail?id='+item.id)">
|
||||
<view class="flex" style="width: 690rpx;">
|
||||
<image :src="item.detail.headimage" mode="" style="width: 280rpx; height: 200rpx;border-radius: 12rpx;"></image>
|
||||
<view class="flex flex-column rightBox">
|
||||
@ -351,7 +351,7 @@
|
||||
// 跳转详情
|
||||
// toDetail(id, orderId) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// url: "/packageA/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
@ -271,7 +271,7 @@
|
||||
// 跳转详情
|
||||
// toDetail(id, orderId) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// url: "/packageA/center/detail?id=" + id + "&orderId=" + orderId
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
@ -268,7 +268,7 @@ export default {
|
||||
// 跳转详情
|
||||
detail(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detailSys?id=" + id,
|
||||
url: "/packageA/center/detailSys?id=" + id,
|
||||
});
|
||||
},
|
||||
tofb() {
|
||||
@ -336,7 +336,7 @@ export default {
|
||||
},
|
||||
againBuy(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detail?id=" + id,
|
||||
url: "/packageA/center/detail?id=" + id,
|
||||
});
|
||||
},
|
||||
toHexiao(){
|
||||
@ -394,9 +394,9 @@ export default {
|
||||
// 跳转预约
|
||||
toMake(id, orderId, classes_lib_id, type) {
|
||||
uni.navigateTo({
|
||||
// url: "/pages/center/applyDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2
|
||||
// url: "/packageA/center/applyDetail?id=" + id + "&orderId=" + orderId + "&type=" + 2
|
||||
url:
|
||||
"/pages/center/orderDetail?id=" +
|
||||
"/packageA/center/orderDetail?id=" +
|
||||
id +
|
||||
"&orderId=" +
|
||||
orderId +
|
||||
@ -423,7 +423,7 @@ export default {
|
||||
}
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/center/orderDetail?id=" +
|
||||
"/packageA/center/orderDetail?id=" +
|
||||
id +
|
||||
"&orderId=" +
|
||||
orderId +
|
||||
@ -439,7 +439,7 @@ export default {
|
||||
toPay(id, orderId, classes_lib_id, order_no, type) {
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/center/orderDetail?id=" +
|
||||
"/packageA/center/orderDetail?id=" +
|
||||
id +
|
||||
"&orderId=" +
|
||||
orderId +
|
||||
|
@ -342,7 +342,7 @@
|
||||
},
|
||||
getShare() {
|
||||
uni.$u.http.post('/api/wechat_util/link', {
|
||||
path: 'pages/center/detail',
|
||||
path: 'packageA/center/detail',
|
||||
query: `id=${this.id}`,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
@ -483,7 +483,7 @@
|
||||
// this.type = 3;
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/center/applyDetail?id=' + this.id
|
||||
url: '/packageA/center/applyDetail?id=' + this.id
|
||||
})
|
||||
|
||||
},
|
||||
@ -598,7 +598,7 @@
|
||||
// 教师详情
|
||||
toTeacher(id) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/center/teacherDetail?id=${id}`
|
||||
url: `/packageA/center/teacherDetail?id=${id}`
|
||||
})
|
||||
},
|
||||
// 导航
|
||||
@ -615,7 +615,7 @@
|
||||
// 机构详情
|
||||
toMeDetail() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
url: "/packageA/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
})
|
||||
},
|
||||
|
||||
|
@ -395,7 +395,7 @@
|
||||
},
|
||||
getShare() {
|
||||
uni.$u.http.post('/api/wechat_util/link', {
|
||||
path: 'pages/center/detail',
|
||||
path: 'packageA/center/detail',
|
||||
query: `id=${this.id}`,
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
@ -478,7 +478,7 @@
|
||||
// this.type = 3;
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/center/applyDetail?id=' + this.id
|
||||
url: '/packageA/center/applyDetail?id=' + this.id
|
||||
})
|
||||
|
||||
},
|
||||
@ -559,7 +559,7 @@
|
||||
// 教师详情
|
||||
toTeacher(id) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/center/teacherDetail?id=${id}`
|
||||
url: `/packageA/center/teacherDetail?id=${id}`
|
||||
})
|
||||
},
|
||||
// 导航
|
||||
@ -576,7 +576,7 @@
|
||||
// 机构详情
|
||||
toMeDetail() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
url: "/packageA/center/MechanismDetail?id=" + this.detail.shop.id
|
||||
})
|
||||
},
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
<view style="font-size: 28rpx;color: #C2C2C2;text-align: center;margin: 20rpx;">上午</view>
|
||||
<view style="display: flex;align-self: center;align-items: center; margin-top: 32rpx;"
|
||||
v-for="(item,index) in morning" :key="index"
|
||||
@click.stop="openUrl('/pages/center/applyDetail?id='+item.id)">
|
||||
@click.stop="openUrl('/packageA/center/applyDetail?id='+item.id)">
|
||||
<view style="width: 45%;">
|
||||
<image :src="item.detail.headimage" style="width: 280rpx; height: 200rpx;border-radius: 12rpx;" mode="aspectFill">
|
||||
</image>
|
||||
|
101
pages.json
101
pages.json
@ -17,6 +17,13 @@
|
||||
"navigationStyle": "custom" //单个页面设置
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/Apply",
|
||||
"style": {
|
||||
"navigationBarTitleText": "申请入驻"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/activity/index",
|
||||
"style": {
|
||||
@ -25,10 +32,10 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/index", // 确保此处与 tabBar 匹配
|
||||
"path": "pages/activity/stationStemys",
|
||||
"style": {
|
||||
"navigationBarTitleText": "选课中心",
|
||||
"navigationStyle": "custom" //单个页面设置
|
||||
"navigationBarTitleText": "系统消息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -46,56 +53,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/detail",
|
||||
"path": "pages/center/index", // 确保此处与 tabBar 匹配
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarTitleText": "选课中心",
|
||||
"navigationStyle": "custom" //单个页面设置
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/detailSys",
|
||||
"style": {
|
||||
"navigationBarTitleText": "", // 发布活动详情
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/signDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "报名信息"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/MechanismDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "机构详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/Apply",
|
||||
"style": {
|
||||
"navigationBarTitleText": "申请入驻"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/orderDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/center/applyDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "支付参加"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/activity/stationStemys",
|
||||
"style": {
|
||||
"navigationBarTitleText": "系统消息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
"subPackages": [{
|
||||
"root": "packageA",
|
||||
@ -281,6 +245,45 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "发起退款"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "center/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom" //单个页面设置
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "center/detailSys",
|
||||
"style": {
|
||||
"navigationBarTitleText": "", // 发布活动详情
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "center/signDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "报名信息"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "center/MechanismDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "机构详情"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "center/orderDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "center/applyDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "支付参加"
|
||||
}
|
||||
}
|
||||
]
|
||||
}],
|
||||
|
@ -587,7 +587,7 @@ export default {
|
||||
}else{
|
||||
wx.navigateToMiniProgram({
|
||||
appId: 'wx867e324c44b9e016',
|
||||
path: 'pages/center/detail?id='+id,
|
||||
path: 'packageA/center/detail?id='+id,
|
||||
extraData: res.data,
|
||||
envVersion: 'trial',
|
||||
success(res) {
|
||||
@ -617,7 +617,7 @@ export default {
|
||||
}else{
|
||||
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detail?id=" + id,
|
||||
url: "/packageA/center/detail?id=" + id,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -394,7 +394,7 @@ export default {
|
||||
// 跳转详情
|
||||
detail(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/center/detail?id=" + id,
|
||||
url: "/packageA/center/detail?id=" + id,
|
||||
});
|
||||
},
|
||||
iszhuliren() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user