diff --git a/common/config.js b/common/config.js index 2c6088b..5801610 100644 --- a/common/config.js +++ b/common/config.js @@ -1,6 +1,7 @@ const mode = 'production'; //devLocal:本地测试、devOnline:线上测试、production:生产环境 -let ROOTPATH = 'https://h5.jscnsaas.cn'; +// let ROOTPATH = 'https://h5.jscnsaas.cn'; // let ROOTPATH = 'https://vr.langye.net'; +let ROOTPATH = "https://jscnsaas.115.langye.net" switch (mode) { case 'devLocal': ROOTPATH = ROOTPATH diff --git a/common/wechat-jssdk.js b/common/wechat-jssdk.js index 2e6e55e..1906702 100644 --- a/common/wechat-jssdk.js +++ b/common/wechat-jssdk.js @@ -88,7 +88,7 @@ const initWxSDK = (shareConfig = {}) => { title: shareConfig.title || '打卡苏州市党史教育基地', desc: shareConfig.desc || '打卡苏州市党史教育基地', link: shareConfig.link || window.location.href, - imgUrl: shareConfig.imgUrl || `${window.location.origin}/static/share.jpg`, + imgUrl: shareConfig.imgUrl || `${window.location.origin}/h5walksz/static/share.jpg`, success: () => { console.log('分享到朋友成功') } @@ -98,7 +98,7 @@ const initWxSDK = (shareConfig = {}) => { wx.updateTimelineShareData({ title: shareConfig.title || '打卡苏州市党史教育基地', link: shareConfig.link || window.location.href, - imgUrl: shareConfig.imgUrl || `${window.location.origin}/static/share.jpg`, + imgUrl: shareConfig.imgUrl || `${window.location.origin}/h5walksz/static/share.jpg`, success: () => { console.log('分享到朋友圈成功') } diff --git a/packages/detail/articleDetail.vue b/packages/detail/articleDetail.vue index ddab569..a07d682 100644 --- a/packages/detail/articleDetail.vue +++ b/packages/detail/articleDetail.vue @@ -85,7 +85,7 @@ // 正则匹配 src 属性中包含 ../storage 的部分(支持双引号或单引号) const regex = /src=["']\..\/storage/g; // 替换为目标路径(保持原有的引号) - return htmlStr.replace(regex, 'src="https://h5.jscnsaas.cn/storage'); + return htmlStr.replace(regex, 'src="https://jscnsaas.115.langye.net/storage'); } } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 8f56b39..361b0a6 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,16 +2,17 @@ - + + - - + + - + @@ -90,7 +91,7 @@ // height: 100vh; width: 100vw; position: relative; - // padding-bottom:200rpx; + padding-bottom:200rpx; height: 100vh; } diff --git a/static/index-map.png b/static/index-map.png new file mode 100644 index 0000000..5c6a112 Binary files /dev/null and b/static/index-map.png differ