future 1 рік тому
батько
коміт
d8bc743fb3

+ 1 - 4
assets/resources/ui/car_lib.prefab

@@ -3138,10 +3138,7 @@
       "b": 255,
       "a": 255
     },
-    "_spriteFrame": {
-      "__uuid__": "4a51dca3-7478-42d3-be83-e61f77db176a@f9941",
-      "__expectedType__": "cc.SpriteFrame"
-    },
+    "_spriteFrame": null,
     "_type": 0,
     "_fillType": 0,
     "_sizeMode": 1,

+ 2 - 2
assets/resources/ui/setting.prefab

@@ -146,7 +146,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -3222,7 +3222,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 8 - 5
assets/resources/ui/user_info_view.prefab

@@ -143,7 +143,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1234,8 +1234,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -2,
-      "y": -16,
+      "x": 0,
+      "y": 11,
       "z": 0
     },
     "_lrot": {
@@ -1311,7 +1311,10 @@
       "b": 255,
       "a": 255
     },
-    "_spriteFrame": null,
+    "_spriteFrame": {
+      "__uuid__": "11977578-145b-4ebd-939c-5453f314c137@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
     "_type": 0,
     "_fillType": 0,
     "_sizeMode": 1,
@@ -2535,7 +2538,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 2 - 2
assets/script/config.ts

@@ -3,9 +3,9 @@ const { ccclass, property } = _decorator;
 
 @ccclass('config')
 export class config  {
-    static debug = true
+    static debug = false
     static gameName = "开局自行车";
-    public static websocket_domain = config.debug?'wss://snakews.xwrun.com':"" //websocket域名
+    public static websocket_domain = config.debug?'wss://snakews.xwrun.com':"wss://snakews.hainanmlwl.com" 
     public static Platform = {
         platform: "douyin",
         // platform: "wx"

+ 2 - 2
assets/script/http.ts

@@ -5,8 +5,8 @@ import { userDataManager } from './manager/userDataManager';
 const { ccclass, property } = _decorator;
 @ccclass('http')
 export class http {
-    public static domain = config.debug?"https://zcapi.xwrun.com":""
-    public static static_domain = config.debug?"https://zcapi.xwrun.com":""
+    public static domain = config.debug?"https://zcapi.xwrun.com":"https://zcapi.hainanmlwl.com"
+    public static static_domain = config.debug?"https://zcapi.xwrun.com":"https://zaoca.oss-cn-beijing.aliyuncs.com"
     public static statistics_domain = config.debug?"https://zcapi.xwrun.com":""
     public static post(url,opt, call_back,method:string='POST') {
         var xml = new XMLHttpRequest()

+ 2 - 0
assets/script/ui/setting.ts

@@ -47,6 +47,8 @@ export class setting extends base_ui {
         // 彩蛋
         if(config.debug) {
             this.btn_clear_local_data.active = true
+        } else{
+            this.btn_clear_local_data.active = false
         }
         this.onButtonListen(this.btn_user, ()=>{
             this.lab_user.active = true

BIN
assets/texture/car/home_car/1004.png