安卓手机下载APP路径位置放到globalConfig
| | |
| | | <script src="/ai_html/views/mobileDownload/js/vue.js"></script> |
| | | <script src="/ai_html/views/mobileDownload/js/vant.js"></script> |
| | | <script src="/ai_html/views/mobileDownload/js/config.js?v=241012"></script> |
| | | <script src="/customer_list/ch/static/config/globalConfig.js"></script> |
| | | </head> |
| | | <style> |
| | | .set-btn { |
| | |
| | | }, |
| | | methods: { |
| | | getAndroidDownPath() { |
| | | let androidURL = `${window.globalConfig.WebApiUrl.PhoneUrl}/WI水务智能助手.apk`; |
| | | var ua = navigator.userAgent.toLowerCase(); |
| | | if (ua.match(/MicroMessenger/i) == 'micromessenger') { |
| | | this.isWxOpenLink = true; |
| | | } else { |
| | | window.location.href = this.m_mobileDownloadConfig.SoftwareConfig.DownPath; |
| | | window.location.href = androidURL; |
| | | } |
| | | }, |
| | | getAppleDownPath() { |
| | |
| | | |
| | | const url = 'https://wi.beng35.com/mobile/prod' |
| | | let mobileDownloadConfig = { |
| | | SoftwareConfig: { |
| | | Name: "WI 水务智能助手", |
| | | Desc: "工具", |
| | | Icon: "./image/corpIcon.webp", |
| | | DownPath: `${url}/WI水务智能助手.apk`, |
| | | downLoadGuideImg: "./image/wx_phone_tip.webp", |
| | | }, |
| | | FunctionalVersion: { |
| | | Name: "当前功能", |
| | | Version: "版本 v1.0", |
| | | Time: "2024.11.26", |
| | | Desc: "切换任意场景, 显示水情数据, 优化用户体验", |
| | | }, |
| | | let mobileDownloadConfig = { |
| | | SoftwareConfig: { |
| | | Name: 'WI 水务智能助手', |
| | | Desc: '工具', |
| | | Icon: './image/corpIcon.webp', |
| | | downLoadGuideImg: './image/wx_phone_tip.webp', |
| | | }, |
| | | FunctionalVersion: { |
| | | Name: '当前功能', |
| | | Version: '版本 v1.0', |
| | | Time: '2024.11.26', |
| | | Desc: '切换任意场景, 显示水情数据, 优化用户体验', |
| | | }, |
| | | |
| | | LocalInfo: { |
| | | Preview: "预览", |
| | | Images: [ |
| | | "./image/1.webp", |
| | | "./image/2.webp", |
| | | "./image/3.webp", |
| | | "./image/4.webp", |
| | | ], |
| | | LocalInfo: { |
| | | Preview: '预览', |
| | | Images: ['./image/1.webp', './image/2.webp', './image/3.webp', './image/4.webp'], |
| | | |
| | | InformationData: [ |
| | | { |
| | | infoTitle: "大小", |
| | | infoContent: "5.62 MB", |
| | | }, |
| | | { |
| | | infoTitle: "类别", |
| | | infoContent: "工具", |
| | | }, |
| | | { |
| | | infoTitle: "语言", |
| | | infoContent: "简体中文", |
| | | }, |
| | | { |
| | | infoTitle: "年龄分级", |
| | | infoContent: "17岁以上", |
| | | }, |
| | | { |
| | | infoTitle: "版权", |
| | | infoContent: "归上海拉瓦锡卡文智能科技有限公司所有", |
| | | }, |
| | | ], |
| | | }, |
| | | InformationData: [ |
| | | { |
| | | infoTitle: '大小', |
| | | infoContent: '5.62 MB', |
| | | }, |
| | | { |
| | | infoTitle: '类别', |
| | | infoContent: '工具', |
| | | }, |
| | | { |
| | | infoTitle: '语言', |
| | | infoContent: '简体中文', |
| | | }, |
| | | { |
| | | infoTitle: '年龄分级', |
| | | infoContent: '17岁以上', |
| | | }, |
| | | { |
| | | infoTitle: '版权', |
| | | infoContent: '归上海拉瓦锡卡文智能科技有限公司所有', |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | |
| | | MainUrl: 'https://widev.cpolar.top/ai_dev/', |
| | | AuthUrl: 'http://47.100.245.85:8190/', |
| | | // 分享链接 |
| | | ShareUrl:'http://101.133.133.173:8084/sharedev' |
| | | ShareUrl:'http://101.133.133.173:8084/sharedev', |
| | | PhoneUrl:'https://wi.beng35.com/mobile/prod' |
| | | }, |
| | | SoftWareInfo: { |
| | | // 网站主标题(菜单导航、浏览器当前网页标题) |
| | |
| | | //#region ====================== 分享地址 ====================== |
| | | export const SHARE_URL = window.globalConfig.WebApiUrl.ShareUrl; |
| | | //#endregion |
| | | //#region ====================== 手机下载apk地址 ====================== |
| | | export const PHONE_URL = window.globalConfig.WebApiUrl.PhoneUrl; |
| | | //#endregion |
| | | //#region ====================== 前端地址 ====================== |
| | | // 最后一个字符是 '/' |
| | | export const SERVE_URL = window.location.origin + window.location.pathname; |