sc
This commit is contained in:
@@ -5,13 +5,13 @@ VITE_APP_TITLE = 耕读社
|
||||
VITE_APP_ENV = 'development'
|
||||
|
||||
# 耕读社/开发环境
|
||||
VITE_APP_BASE_API = 'https://cloud.ahfkbg.com/'
|
||||
VITE_APP_BASE_API = 'https://cloud.cloud.com/'
|
||||
# VITE_APP_BASE_API = 'https://xj.ahduima.com/'
|
||||
|
||||
# 资源地址
|
||||
VITE_UPLOAD_URL = 'https://cloud.ahfkbg.com/'
|
||||
VITE_UPLOAD_URL = 'https://cloud.ahduima.com/'
|
||||
|
||||
# 静态资源地址
|
||||
VITE_STATIC_URL = 'https://cloud.ahfkbg.com/gds'
|
||||
VITE_STATIC_URL = 'https://cloud.ahduima.com/gds'
|
||||
|
||||
#
|
||||
@@ -5,12 +5,12 @@ VITE_APP_TITLE = 耕读社
|
||||
VITE_APP_ENV = 'production'
|
||||
|
||||
#开发环境
|
||||
VITE_APP_BASE_API = 'https://xj.ahduima.com/'
|
||||
VITE_APP_BASE_API = 'https://cloud.ahduima.com/'
|
||||
|
||||
#
|
||||
VITE_WEB_BASE_URL = 'https://xj.ahduima.com'
|
||||
VITE_WEB_BASE_URL = 'https://cloud.ahduima.com'
|
||||
|
||||
# 资源地址
|
||||
VITE_UPLOAD_URL = 'http://huodong.ahduima.com'
|
||||
VITE_UPLOAD_URL = 'http://cloud.ahduima.com'
|
||||
|
||||
VITE_STATIC_URL = 'https://cloud.ahduima.com/gds'
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"appid": "wx0668c6fabb1a9c44",
|
||||
"appid": "wxc170fcbfd0c96f88",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.3.3",
|
||||
"packOptions": {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
"quickapp": {},
|
||||
"mp-weixin": {
|
||||
"appid": "wx0668c6fabb1a9c44",
|
||||
"appid": "wxc170fcbfd0c96f88",
|
||||
"setting": {
|
||||
"urlCheck": true,
|
||||
"minified": true,
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages//index",
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "耕读社",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"backgroundColor": "#FFF"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,20 @@
|
||||
<template>
|
||||
<view>
|
||||
<web-view :webview-styles="webviewStyles" src="https://uniapp.dcloud.io/static/web-view.html"></web-view>
|
||||
<web-view :webview-styles="webviewStyles" :src="webUrl"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
webviewStyles: {
|
||||
top: '0px',
|
||||
bottom: '0px'
|
||||
},
|
||||
webUrl: import.meta.env.VITE_STATIC_URL
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user