main
lion 1 month ago
parent 3087f791ff
commit 2f6c7ce269

@ -1,6 +1,7 @@
const mode = 'production'; //devLocal本地测试、devOnline线上测试、production生产环境 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://vr.langye.net';
let ROOTPATH = "https://jscnsaas.115.langye.net"
switch (mode) { switch (mode) {
case 'devLocal': case 'devLocal':
ROOTPATH = ROOTPATH ROOTPATH = ROOTPATH

@ -88,7 +88,7 @@ const initWxSDK = (shareConfig = {}) => {
title: shareConfig.title || '打卡苏州市党史教育基地', title: shareConfig.title || '打卡苏州市党史教育基地',
desc: shareConfig.desc || '打卡苏州市党史教育基地', desc: shareConfig.desc || '打卡苏州市党史教育基地',
link: shareConfig.link || window.location.href, 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: () => { success: () => {
console.log('分享到朋友成功') console.log('分享到朋友成功')
} }
@ -98,7 +98,7 @@ const initWxSDK = (shareConfig = {}) => {
wx.updateTimelineShareData({ wx.updateTimelineShareData({
title: shareConfig.title || '打卡苏州市党史教育基地', title: shareConfig.title || '打卡苏州市党史教育基地',
link: shareConfig.link || window.location.href, 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: () => { success: () => {
console.log('分享到朋友圈成功') console.log('分享到朋友圈成功')
} }

@ -85,7 +85,7 @@
// src ../storage // src ../storage
const regex = /src=["']\..\/storage/g; 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');
} }
} }
} }

@ -2,16 +2,17 @@
<view class="wrap"> <view class="wrap">
<view class="container"> <view class="container">
<image class="container-bg" :src="require('@/static/index-bg1.png')"></image> <!-- <image class="container-bg" :src="require('@/static/index-bg1.png')"></image> -->
<image class="container-bg" :src="require('@/static/qus-bg.jpg')"></image>
<view class="imgwrap"> <view class="imgwrap">
<!-- <image class="imgwrap-map" :src="require('@/static/index-map.png')"></image> --> <image class="imgwrap-map" :src="require('@/static/index-map.png')"></image>
<!-- <image class="imgwrap-title" :src="require('@/static/index-title.png')"></image> --> <image class="imgwrap-title" :src="require('@/static/index-title.png')"></image>
<view class="titlewrap"> <view class="titlewrap">
<!-- <view class="title-progress"> <view class="title-progress">
<view class="progress-bar-container"> <view class="progress-bar-container">
<view class="progress-bar" :style="{'width':progressPercentage+'%'}"></view> <view class="progress-bar" :style="{'width':progressPercentage+'%'}"></view>
</view> </view>
</view> --> </view>
<view @click="toHome" style="min-height:240rpx"> <view @click="toHome" style="min-height:240rpx">
<image class="title-btn" v-if="showBtn" :src="require('@/static/index-btn.png')"></image> <image class="title-btn" v-if="showBtn" :src="require('@/static/index-btn.png')"></image>
</view> </view>
@ -90,7 +91,7 @@
// height: 100vh; // height: 100vh;
width: 100vw; width: 100vw;
position: relative; position: relative;
// padding-bottom:200rpx; padding-bottom:200rpx;
height: 100vh; height: 100vh;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Loading…
Cancel
Save