dufeng 2 kuukautta sitten
vanhempi
commit
99953dbd70
5 muutettua tiedostoa jossa 47 lisäystä ja 6 poistoa
  1. 38 0
      androidPrivacy.json
  2. 5 2
      manifest.json
  3. 1 1
      modifyManifest.js
  4. BIN
      static/icon/a2be00a8f6a643cb112b7b1e0d2d040.png
  5. 3 3
      utils/config.js

+ 38 - 0
androidPrivacy.json

@@ -0,0 +1,38 @@
+{
+  "version": "1",
+  "prompt": "template",
+  "title": "服务协议和隐私政策",
+  "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://90.5000v.com/userProtocol.html\">《服务协议》</a>和<a href=\"https://90.5000v.com/PrivacyPolicy.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
+  "buttonAccept": "同意并接受",
+  "buttonRefuse": "暂不同意",
+  "hrefLoader": "system",
+  "backToExit":"false",
+  "second": {
+    "title": "确认提示",
+    "message": "  进入应用前,你需先同意<a href=\"https://90.5000v.com/userProtocol.html\">《服务协议》</a>和<a href=\"https://90.5000v.com/PrivacyPolicy.html\">《隐私政策》</a>,否则将退出应用。",
+    "buttonAccept": "同意并继续",
+    "buttonRefuse": "退出应用"
+  },
+  "disagreeMode":{
+    "support": false,
+    "loadNativePlugins": false,
+    "visitorEntry": false,
+    "showAlways": false
+  },
+  "styles": {
+    "backgroundColor": "#f2f2f2",
+    "borderRadius":"5px",
+    "title": {
+      "color": "#333333"
+    },
+    "buttonAccept": {
+      "color": "#333333"
+    },
+    "buttonRefuse": {
+      "color": "#00aaff"
+    },
+    "buttonVisitor": {
+      "color": "#00aaff"
+    }
+  }
+}

+ 5 - 2
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "巡逻鹰GPS",
+    "name" : "车辆定位",
     "appid" : "__UNI__C20958D",
     "description" : "",
     "versionName" : "1.0.0",
@@ -80,6 +80,9 @@
                         "spotlight@3x" : "unpackage/res/icons/120x120.png"
                     }
                 }
+            },
+            "splashscreen" : {
+                "useOriginalMsgbox" : true
             }
         }
     },
@@ -130,6 +133,6 @@
             }
         },
         "template" : "index.html",
-        "title" : "巡逻鹰GPS"
+        "title" : "车辆定位"
     }
 }

+ 1 - 1
modifyManifest.js

@@ -43,7 +43,7 @@ function replaceManifest(path, value) {
 // 动态配置appid
 if (PLATFORM === "enterprises") {
   // 企事业
-  let title = '"巡逻鹰GPS"'
+  let title = '"车辆定位"'
   replaceManifest("name", title);
   replaceManifest("h5.router.base", '"/mobile/"');
   replaceManifest("h5.title", title);

BIN
static/icon/a2be00a8f6a643cb112b7b1e0d2d040.png


+ 3 - 3
utils/config.js

@@ -4,7 +4,7 @@ const {PLATFORM} = env
 
 // #ifdef H5
 // const url_all = { 'DEV': '/dev-api', 'BUILD': '' }	 // h5配置
-const url_all = { 'DEV': 'https://90.5000v.com', 'BUILD': '' }	 // h5配置
+const url_all = { 'DEV': 'http://47.110.52.61:8011', 'BUILD': '' }	 // h5配置
 let protocol = window.location.protocol;
 if (protocol === "https:") {
     protocol = "wss:";
@@ -20,8 +20,8 @@ let url_all,ws_url_all
 
 if (PLATFORM === "enterprises") {
   // 企事业
-	 url_all = { 'DEV': 'https://90.5000v.com', 'BUILD': 'https://90.5000v.com' }	 // 非h5配置
-	 ws_url_all = { 'DEV': 'https://90.5000v.com', 'BUILD': 'https://90.5000v.com' }	 // 非h5配置
+	 url_all = { 'DEV': 'http://47.110.52.61:8011', 'BUILD': 'http://47.110.52.61:8011' }	 // 非h5配置
+	 ws_url_all = { 'DEV': 'http://47.110.52.61:8011', 'BUILD': 'http://47.110.52.61:8011' }	 // 非h5配置
 }else if (PLATFORM === "sanitation") {
 	 url_all = { 'DEV': 'http://tq.5000v.com:8025', 'BUILD': 'http://tq.5000v.com:8025' }	 // 非h5配置
 	 ws_url_all = { 'DEV': 'http://tq.5000v.com:8025', 'BUILD': 'http://tq.5000v.com:8025' }	 // 非h5配置