Handy_Cao 2 gadi atpakaļ
vecāks
revīzija
51ffaf4b74

+ 2 - 2
GuangZuan/miniprogram/config/index.ts

@@ -1,6 +1,6 @@
 export const appConfig = {
   version: '1.0.01',
-  // apiUrl: 'http://218.17.158.45:23015/cfg?key=test_gzzs',
-  apiUrl: 'http://192.168.31.104:8080/cfg?key=test_104',
+  apiUrl: 'http://218.17.158.45:23015/cfg?key=test_gzzs',
+  // apiUrl: 'http://192.168.31.104:8080/cfg?key=test_104',
   imgUrl: 'http://218.17.158.45:23012/mtp2-onlineopen/uploadFile/gz/'
 }

+ 1 - 2
GuangZuan/miniprogram/mHome/pages/goodsdetail/index.ts

@@ -61,7 +61,6 @@ Page({
         }
       })
     })
-    
   },
 
    /// 获取履约模板信息
@@ -85,7 +84,7 @@ Page({
     })
   },
 
-  /// 钻石买摘牌接口
+  /// 钻石买摘牌接口 
   doZSBuyOrderDesting() {
     /// showModel
     showModel(() => {

+ 1 - 1
GuangZuan/miniprogram/mHome/pages/msg/msglist/index.ts

@@ -9,7 +9,7 @@ Page({
    */
   data: {
     /// 公告消息
-    msgs: [{}],
+    msgs: <GuangZuan.Notice[]>[],
     /// tabs
     tabs: [{id: 1, title: '公告'}, {id: 2, title: '消息'}],
     /// 是否空数据

+ 2 - 2
GuangZuan/miniprogram/mHome/pages/presell/list/index.ts

@@ -28,9 +28,9 @@ Page({
       /// 是否空数据
       isEmpty: false,
       /// 预售大厅/我的预售/集采大厅/我的集采 列表查询
-      perSells: <GuangZuan.GZPreSell[]>[{}],
+      perSells: <GuangZuan.GZPreSell[]>[],
       /// 我参与的预售(预售中\执行中)\我参与的集采(集采中\执行中) 列表查询
-      myTradingPreSells: <GuangZuan.GZMyTradingPreSell[]>[{}],
+      myTradingPreSells: <GuangZuan.GZMyTradingPreSell[]>[],
       /// 显示数据信息
       values: <{}>[]
   },

+ 1 - 1
GuangZuan/miniprogram/pages/circle/index.ts

@@ -34,7 +34,7 @@ Page({
     /// 是否空数据
     isEmpty: true,
     /// 显示的值
-    values: [{ up: [''], dwn: [''] }],
+    values: [{ up: <string[]>[], dwn: <string[]>[] }],
     /// 左滑宽度
     width: 50,
   },

+ 3 - 3
GuangZuan/miniprogram/pages/home/index.ts

@@ -17,7 +17,7 @@ Page({
     /// 窗口高度
     windowHeight: getApp().globalData.windowHeight,
     /// banner轮播图
-    banners: [''],
+    banners: <string[]>[],
     /// 功能菜单
     menus: [{id: 1,  icon: 'home-gpdt',  title: '挂牌大厅',   path: '/pages/trade/index'}, 
             {id: 2,  icon: 'home-ss',    title: '钻石首饰',   path: '/mHome/pages/jewelry/list/index'},
@@ -32,13 +32,13 @@ Page({
     /// 统计
     statistics: { top: [{id: 1, title: '出售中', value: 0, class: ''}], rate: '' },
     /// tabs
-    tabs:[{id: 1, title: '公告'}, {id: 2, title: '消息'}],
+    tabs: [{id: 1, title: '公告'}, {id: 2, title: '消息'}],
     /// 公告消息
     notice: {},
     /// 公告消息
     msgs: [{}],
     /// 会员信息
-    members: <GuangZuan.GZMemberInfo[]>[{}],
+    members: <GuangZuan.GZMemberInfo[]>[],
     /// 是否为空
     isEmpty: true
   },