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();