From 78d226bcc6c96740bd975bee574ae23d1f69b7c1 Mon Sep 17 00:00:00 2001 From: "1054425342@qq.com" <1054425342@qq.com> Date: Thu, 11 Sep 2025 19:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bmzm/home/home.vue | 2 +- components/IPComponents.vue | 26 ++----- main.js | 2 + mixins/myMixins.js | 2 +- pages.json | 10 ++- pages/agent/index.vue | 1 + pages/index/iSoul.vue | 17 +++-- pages/stratIndex.vue | 2 +- pig/home/home.vue | 2 +- project.config.json | 2 +- subPackages/equityGoods/detail.vue | 4 +- subPackages/memorialAlbum/detail.vue | 4 +- subPackages/orderQy/confrimWriteOff.vue | 18 ++--- subPackages/orderQy/detail.vue | 6 +- subPackages/orderQy/list.vue | 2 +- subPackages/other/evita.vue | 1 + subPackages/other/ipPoster.vue | 99 +++++++++++++++++++++++++ taozi/home/home.vue | 2 +- xqk/chapter1/index.vue | 1 + xqk/chapter2/index.vue | 1 + xqk/chapter3/index.vue | 1 + xqk/chapter4/index.vue | 1 + xqk/chapter5/index.vue | 1 + xqk/chapter6/index.vue | 1 + xqk/home/home.vue | 2 +- xrcc/home/home.vue | 2 +- xxdf/chapter4/cover.vue | 2 +- xxdf/home/home.vue | 2 +- 28 files changed, 162 insertions(+), 54 deletions(-) create mode 100644 subPackages/other/ipPoster.vue diff --git a/bmzm/home/home.vue b/bmzm/home/home.vue index cc6a375..ef273fd 100644 --- a/bmzm/home/home.vue +++ b/bmzm/home/home.vue @@ -109,7 +109,7 @@ export default { onShareAppMessage() { return { title: "不眠之夜·Endless Dream|「Epic Soul」阅读体 issue03", - mpId: "wx8954209bb3ad489e", + mpId: "wx9660f8c5776663e0", path: "/bmzm/home/home", imageUrl: "https://static.ticket.sz-trip.com/epicSoul/bmzm/share.jpg", }; diff --git a/components/IPComponents.vue b/components/IPComponents.vue index eda50d9..a9007d1 100644 --- a/components/IPComponents.vue +++ b/components/IPComponents.vue @@ -21,7 +21,7 @@ - @@ -98,25 +98,11 @@ url: '/pages/index/readingBody' }) }, - gotoDetail(item) { - if(item.mini){ - wx.navigateToMiniProgram({ - appId: item.mini.appID, - path: item.mini.path, - envVersion: 'release', - success(res) { - // 打开成功 - }, - fail(e){ - console.log(e) - } - }) - }else{ - uni.showToast({ - title: '功能暂未开放', - icon: 'none' - }) - } + gotoDetail(item,index) { + + uni.navigateTo({ + url:`/subPackages/other/ipPoster?index=${index}&item=${encodeURIComponent(JSON.stringify(item))}` + }) }, getList() { diff --git a/main.js b/main.js index 8d4d7f8..5366ce1 100644 --- a/main.js +++ b/main.js @@ -7,10 +7,12 @@ import '@/static/js/CommonFunction.js' import '@/utils/globalAudioManager.js' import {myMixins} from '@/mixins/myMixins.js' import main from "@/common/index.js" + import BackButton from "@/components/BackButton.vue"; Vue.prototype.$main = main Vue.mixin(myMixins) Vue.config.productionTip = false +Vue.component('BackButton', BackButton) // 去除生产环境console if (uni.getSystemInfoSync().platform !== "devtools") { diff --git a/mixins/myMixins.js b/mixins/myMixins.js index 4131108..d9abc0d 100644 --- a/mixins/myMixins.js +++ b/mixins/myMixins.js @@ -36,7 +36,7 @@ export const myMixins ={ title: 'Epic Soul交响', // 分享的名称 path: `${view.route}?url=${url}`, // 将 url 作为参数传递 // imageUrl: "https://cgc.js-dyyj.com/uploads/20250619/172a730c88bd8894dee1e64c703795eb.jpg", - mpId: 'wx8954209bb3ad489e' // 此处配置微信小程序的 AppId + mpId: 'wx9660f8c5776663e0' // 此处配置微信小程序的 AppId }; } } \ No newline at end of file diff --git a/pages.json b/pages.json index af5712a..d247ec7 100644 --- a/pages.json +++ b/pages.json @@ -321,7 +321,15 @@ "style": { "navigationBarTitleText": "优惠券" } - } + }, + { + "path": "other/ipPoster", + "style": { + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + } + ] }, { diff --git a/pages/agent/index.vue b/pages/agent/index.vue index 72e290b..cd7197f 100644 --- a/pages/agent/index.vue +++ b/pages/agent/index.vue @@ -17,6 +17,7 @@ export default { } }, onLoad(option) { + wx.hideShareMenu() const app = getApp(); const bgMusic = app.globalData.bgMusic; bgMusic.pause(); diff --git a/pages/index/iSoul.vue b/pages/index/iSoul.vue index 70d9721..e28b9c9 100644 --- a/pages/index/iSoul.vue +++ b/pages/index/iSoul.vue @@ -107,7 +107,7 @@