sc
This commit is contained in:
@@ -5,13 +5,13 @@ VITE_APP_TITLE = 耕读社
|
|||||||
VITE_APP_ENV = 'development'
|
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_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_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'
|
VITE_STATIC_URL = 'https://cloud.ahduima.com/gds'
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"appid": "wx0668c6fabb1a9c44",
|
"appid": "wxc170fcbfd0c96f88",
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "3.3.3",
|
"libVersion": "3.3.3",
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"quickapp": {},
|
"quickapp": {},
|
||||||
"mp-weixin": {
|
"mp-weixin": {
|
||||||
"appid": "wx0668c6fabb1a9c44",
|
"appid": "wxc170fcbfd0c96f88",
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": true,
|
"urlCheck": true,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
|
|||||||
@@ -4,16 +4,16 @@
|
|||||||
},
|
},
|
||||||
"pages": [
|
"pages": [
|
||||||
{
|
{
|
||||||
"path": "pages//index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "耕读社",
|
"navigationBarTitleText": "耕读社",
|
||||||
"navigationBarBackgroundColor": "#FFF",
|
"navigationBarBackgroundColor": "#FFF",
|
||||||
"backgroundColor": "#FFF"
|
"backgroundColor": "#FFF"
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
webviewStyles: {
|
||||||
|
top: '0px',
|
||||||
|
bottom: '0px'
|
||||||
|
},
|
||||||
|
webUrl: import.meta.env.VITE_STATIC_URL
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user