This commit is contained in:
GaoHao
2024-12-11 17:17:42 +08:00
2 changed files with 14 additions and 8 deletions

10
App.vue
View File

@@ -468,7 +468,10 @@
content: res.des, content: res.des,
success: res => { success: res => {
if (res.confirm) { if (res.confirm) {
that.$queue.showLoading('下载中...'); uni.showLoading({
title: '下载中...',
mask: true
});
if (uni.getSystemInfoSync().platform == if (uni.getSystemInfoSync().platform ==
'android') { 'android') {
uni.downloadFile({ uni.downloadFile({
@@ -525,7 +528,10 @@
content: res.des, content: res.des,
success: res => { success: res => {
if (res.confirm) { if (res.confirm) {
that.$queue.showLoading('下载中...'); uni.showLoading({
title: '下载中...',
mask: true
});
if (uni.getSystemInfoSync().platform == if (uni.getSystemInfoSync().platform ==
'android') { 'android') {
uni.downloadFile({ uni.downloadFile({

View File

@@ -1,10 +1,10 @@
const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // // const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 // const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 // const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
module.exports = { module.exports = {
APIHOST: ROOTPATH, APIHOST: ROOTPATH,