From e7b18345366502820dc015bf1f1d15dd4789dbfe Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 20 Nov 2023 20:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20vue3=20=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=90=8E=E9=A6=96=E9=A1=B5=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 20 ++++++++++++++++++++ pages/index/index.vue | 1 + 2 files changed, 21 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 00000000..da303d9b --- /dev/null +++ b/.env @@ -0,0 +1,20 @@ +# 版本号 +SHOPRO_VERSION = v1.8.3 + +# 正式环境接口域名 +SHOPRO_BASE_URL = https://api.shopro.sheepjs.com + +# 开发环境接口域名 +SHOPRO_DEV_BASE_URL = https://api.shopro.sheepjs.com + +# 开发环境运行端口 +SHOPRO_DEV_PORT = 3000 + +# 接口地址前缀 +SHOPRO_API_PATH = /shop/api/ + +# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀 +SHOPRO_STATIC_URL = https://file.sheepjs.com + +# 是否开启直播 1 开启直播 | 0 关闭直播 (小程序官方后台未审核开通直播权限时请勿开启) +SHOPRO_MPLIVE_ON = 0 \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index d9ece7bb..92546704 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -22,6 +22,7 @@ } from '@dcloudio/uni-app'; import sheep from '@/sheep'; import $share from '@/sheep/platform/share'; + import index2Api from '@/sheep/api/index2'; // 隐藏原生tabBar uni.hideTabBar();