换域名+品牌卡片、技能集市组件跳转详情逻辑+品牌详情页面

This commit is contained in:
BAKEYi 2026-05-29 13:50:58 +08:00
parent d3ae42b664
commit 87fae84240
5 changed files with 1136 additions and 9 deletions

View File

@ -1007,6 +1007,18 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/jingxuan/brand-detail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/jingxuan/skill-detail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/ruzhu/successruzhu",
"style": {

View File

@ -79,8 +79,17 @@ export default {
}
},
methods: {
//
onClick() {
this.$emit('click', this.item)
// 1. emit便
this.$emit('click', this.item);
// 2.
if (this.item && this.item.id) {
uni.navigateTo({
url: `/pages/jingxuan/brand-detail?id=${this.item.id}`
});
}
},
getTagStyle(tag) {
const len = this.tagsLength

View File

@ -66,14 +66,16 @@ export default {
return views.toString()
},
handleClick() {
// /
if (this.item.id) {
// 1. emit便
this.$emit('click', this.item);
// 2.
if (this.item && this.item.id) {
uni.navigateTo({
url: `/pages/skill/detail?id=${this.item.id}`
})
} else {
uni.showToast({ title: '详情页开发中', icon: 'none' })
url: `/pages/jingxuan/skill-detail?id=${this.item.id}`
});
}
// /
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -135,8 +135,8 @@ const request = async (options, isUpdate) => {
if (process.env.NODE_ENV === 'development') {
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = 'http://116.63.163.121:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://116.63.163.121:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'https://app.mrrweb.com.cn';
} else {
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。