zhanghongrui 2 년 전
부모
커밋
752d445a31

+ 5 - 1
app.json

@@ -26,7 +26,11 @@
     "pages/notice/notice_details",
     "pages/material/material",
     "pages/denglu/denglu",
-    "pages/material/material_details"
+    "pages/material/material_details",
+    "pages/teamlist/teamlist",
+    "pages/teamlist/team_details",
+    "pages/warehouselist/warehouselist",
+    "pages/warehouselist/warehouse_details"
  
   
   ],

+ 1 - 1
base/httputil.js

@@ -5,7 +5,7 @@
 
 
 
-//  let BASE_Server = "https://192.168.1.100:18080"
+  //let BASE_Server = "https://192.168.1.100:18080"
 let BASE_Server = "https://sookajs.top:18080"
 
 let app = getApp()

+ 16 - 0
pages/index/index.js

@@ -100,6 +100,18 @@ Page({
       url: '../material/material',
     })
   },
+   //队伍跳转
+   bindViewDuiWu() {
+    wx.navigateTo({
+      url: '../teamlist/teamlist',
+    })
+  },
+  //仓库跳转
+  bindViewCangKu() {
+    wx.navigateTo({
+      url: '../warehouselist/warehouselist',
+    })
+  },
   // 新手指南跳转
   bindViewNewComer() {
     wx.navigateTo({
@@ -199,6 +211,10 @@ Page({
       this.bindViewGengDuo()
     } else if (name == "bindViewWuZi") {
       this.bindViewWuZi()
+    }else if(name=="bindViewDuiWu"){
+      this.bindViewDuiWu()
+    }else if(name=="bindViewCangKu"){
+      this.bindViewCangKu()
     }
   },
 

+ 2 - 2
pages/index/index.wxml

@@ -107,13 +107,13 @@
       </view>
         <text>物资</text>
       </view>
-      <view class="icon_vi">
+      <view class="icon_vi" bindtap="bindViewCangKu">
         <view class="icon_bg icon_ck">
         <i class="iconfont icon-cangkukucun"></i>
       </view>
         <text>仓库</text>
       </view>
-      <view class="icon_vi">
+      <view class="icon_vi" bindtap="bindViewDuiWu">
         <view class="icon_bg icon_dw">
         <i class="iconfont icon-dangjian_duiwujianshe"></i>
       </view>

+ 0 - 32
pages/material/material_details copy.wxml

@@ -1,32 +0,0 @@
-<view class="container">
-  <view>
-        <span>标题:</span>
-        <i>{{noticeTitle}}</i>
-      </view>
-      <view>
-        <span>时间:</span>
-        <i>{{noticeTime}}</i>
-      </view>
-      <view>
-        <span>作者:</span>
-        <i>{{noticeBy}}</i>
-      </view>
-
-      <view>
-        <span>类型:</span>
-        <i>{{noticeType=='1'?'通知':'公告'}}</i>
-      </view>
-      <view>
-        <span>内容:</span>
-        <i>{{noticeContent}}</i>
-      </view>
-
-</view>
-
-
-
-
-
-
-
-

+ 112 - 0
pages/teamlist/team_details.js

@@ -0,0 +1,112 @@
+// pages/material/material_details.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    charger: "",
+    createBy: "",
+    createTime: "",
+
+    deptName: "",
+    emergencyPhone: "",
+    equipmentNum: "",
+    goodat: "",
+
+    remark: "",
+    searchValue: "",
+    teamCategory: "",
+
+    teamName: "",
+    teamNature: "",
+    teamPnum: "",
+    teamPos: ""
+
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+    let details = JSON.parse(options.details)
+    this.setData({
+      charger: details.charger,
+      createBy: details.createBy,
+      createTime: details.createTime,
+  
+      deptName: details.deptName,
+      emergencyPhone: details.emergencyPhone,
+      equipmentNum: details.equipmentNum,
+      goodat: details.goodat,
+  
+      remark: details.remark,
+      searchValue:details.searchValue,
+      teamCategory: details.teamCategory,
+  
+      teamName: details.teamName,
+      teamNature: details.teamNature,
+      teamPnum: details.teamPnum,
+      teamPos: details.teamPos
+  
+
+    })
+
+  },
+  //拨打电话
+  Call() {
+    console.log("@@##" + this.data.connectorPhone)
+    wx.makePhoneCall({
+      phoneNumber: this.data.connectorPhone
+    })
+  },
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
+})

+ 13 - 0
pages/teamlist/team_details.json

@@ -0,0 +1,13 @@
+{
+  "component": true, 
+  "usingComponents": {
+    
+  },
+
+
+  "navigationBarBackgroundColor": "#f94b0e",
+  "navigationBarTextStyle": "white",
+  "navigationBarTitleText": "队伍详情"
+
+}
+

+ 59 - 0
pages/teamlist/team_details.wxml

@@ -0,0 +1,59 @@
+<!-- 队伍详情页面 -->
+<view class="container">
+<view class="map_view">
+
+
+
+<view>
+  <span>队伍名称:</span>
+  <i>{{teamName}}</i>
+</view>
+<view>
+  <span>队伍分类:</span>
+  <i>{{teamCategory}}</i>
+</view>
+<view>
+  <span>队伍性质:</span>
+  <i>{{teamNature}}</i>
+</view>
+ <!-- <view class="phone" bindtap="Call"></view>>
+  <span>联系电话:</span>
+  <i>{{connectorPhone}}</i>
+</view> -->
+<view>
+  <span>队伍人数:</span>
+  <i>{{teamPnum}}</i>
+</view>
+<view>
+  <span>核心装备及数量:</span>
+  <i>{{equipmentNum}}</i>
+</view>
+<view>
+  <span>部门名称:</span>
+  <i>{{deptName}}</i>
+</view>
+<view>
+  <span>负责人:</span>
+  <i>{{charger}}</i>
+</view>
+<view>
+  <span>应急联系人及电话:</span>
+  <i>{{emergencyPhone}}</i>
+</view>
+<view>
+  <span>所在地点:</span>
+  <i>{{teamPos}}</i>
+</view>
+<!-- <view class="phone" bindtap="Call">
+  <span>负责人电话:</span>
+  <i>{{enterpriseDetails.mainPersonPhone}}</i>
+</view> -->
+
+<view>
+  <span>备注:</span>
+  <i>{{remark}}</i>
+</view>
+
+</view>
+</view>
+

+ 59 - 0
pages/teamlist/team_details.wxss

@@ -0,0 +1,59 @@
+/* pages/material/material_details.wxss */
+
+
+map{
+  height: 40vh;
+  width: 100vw;
+}
+.map{
+  height: 40vh;
+  width: 100vw;
+  position: relative;
+}
+.map canvas{
+  width:100%;
+  height: 100%;
+}
+.map_view{
+  margin: 30rpx 30rpx;
+}
+.map_view view{
+  display: flex;
+  flex-direction: row;
+  font-size: 34rpx;
+  line-height: 50rpx;
+  padding-bottom: 10rpx;
+}
+.map_view view span{
+  width: 240rpx;
+  text-align: right;
+  color: #181818;
+}
+.map_view view i{
+ color: rgb(146, 146, 146);
+ white-space:normal;
+word-break:break-all;
+word-wrap:break-word
+}
+.map_btn{
+  background: rgba(0, 0, 0, 0.479);
+  display: flex;
+  flex-direction: row;
+  width: 220rpx;
+  height: 70rpx;
+  position: absolute;
+  right:20rpx;
+  bottom:20rpx;
+  z-index: 99999;
+  border-radius: 50rpx;
+  justify-content: space-evenly;
+  align-items: center;
+}
+.map_btn .iconfont{
+  color: #fff;
+  font-size: 50rpx;
+}
+.logo-text{
+  display: none;
+}
+

+ 165 - 0
pages/teamlist/teamlist.js

@@ -0,0 +1,165 @@
+import http from '../../base/httputil'
+const app = getApp()
+
+Page({
+  data: {
+
+    /**
+     * 控制上拉到底部时是否出现 "数据加载中..."
+     */
+    hidden: true,
+    /**
+     * 数据是否正在加载中,避免数据多次加载
+     */
+    loadingData: false,
+    enterpriseList: [],
+    isRefresh: true,
+    total: 0,
+    pageNum: 1 // 页码
+  },
+  onLoad: function () {
+    // wx.showLoading({
+    //   title: '加载中'
+    // })
+    this.loadData()
+  },
+  //加载数据
+  loadData: function () {
+    let obj = new Object()
+    obj.pageNum = this.data.pageNum
+    obj.pageSize = 10
+    obj.reasonable= false
+    http.send_get("/system/AppTeamController/getTeamList", obj, this.getQiyeEnterpriseListSuccess)
+
+
+  },
+
+  getQiyeEnterpriseListSuccess(res) {
+
+console.log("@@@@",res)
+if(res.code==200){
+     // 显示加载图标
+     wx.showLoading({
+      title: '玩命加载中',
+    })
+  
+    var that = this
+
+    if(res.data.rows.length==0){
+      wx.showToast({
+        title: '暂无更多数据',
+        icon:"none"
+      })
+      wx.hideLoading()
+    }
+    if (this.data.isRefresh) {
+      this.setData({
+        enterpriseList: res.data.rows,
+        total: res.data.total
+      })
+
+
+
+      // 隐藏导航栏加载框
+      setTimeout(function () {
+        that.setData({
+          loadingData: false
+        });
+        wx.hideNavigationBarLoading();
+        // 停止下拉动作
+        wx.stopPullDownRefresh();
+        wx.hideLoading()
+
+      }, 1000)
+
+    } else {
+      this.setData({
+        enterpriseList: this.data.enterpriseList.concat(res.data.rows)
+      })
+      // 隐藏加载框
+
+      setTimeout(function () {
+        that.setData({
+          hidden: true,
+          loadingData: false
+        });
+
+        wx.hideLoading();
+      }, 1000)
+
+    }
+  }else{
+    console.log("@@!","请求失败")
+  }
+  },
+  onPullDownRefresh: function () {
+    // 显示顶部刷新图标
+    wx.showNavigationBarLoading();
+    var that = this;
+    var loadingData = this.data.loadingData
+    if (loadingData) {
+      return;
+    }
+    that.setData({
+      pageNum: 1,
+      isRefresh: true
+    })
+    this.loadData()
+  },
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+    let that = this
+    var loadingData = that.data.loadingData
+   
+    var hidden = that.data.hidden
+    // 页数+1
+    that.setData({
+      pageNum: that.data.pageNum + 1,
+      isRefresh: false
+    })
+    if (hidden) {
+      that.setData({
+        hidden: false
+      });
+      console.info(that.data.hidden);
+    }
+
+    if (loadingData) {
+      return;
+    }
+    that.setData({
+      loadingData: true
+    });
+
+    
+    //console.log("@@@@"+Math.ceil(this.data.total/10))
+   // if(Math.ceil(that.data.total/10)>=that.data.pageNum){
+      that.loadData();
+  
+    // }else{
+     
+    //   setTimeout(function () {
+    //     that.setData({
+    //       hidden: true,
+    //     });
+
+    //   }, 2000)
+    // }
+
+   
+  },
+
+
+  bindViewDetails(e) {
+    let teamlist_details = e.currentTarget.dataset.index
+   
+ 
+
+ 
+    wx.navigateTo({
+      url: '../teamlist/team_details?details='+JSON.stringify(teamlist_details)
+    })
+  }
+})

+ 14 - 0
pages/teamlist/teamlist.json

@@ -0,0 +1,14 @@
+{
+  "component": true, 
+  "usingComponents": {
+  },
+
+
+  "navigationBarBackgroundColor": "#f94b0e",
+  "navigationBarTextStyle": "white",
+  "enablePullDownRefresh": true,
+  "onPullDownRefresh": true,
+  "onReachBottom": true,
+  "navigationBarTitleText": "救援队伍"
+
+}

+ 34 - 0
pages/teamlist/teamlist.wxml

@@ -0,0 +1,34 @@
+<!--pages/teamlist/teamlist.wxml-->
+<!-- 队伍列表页面 -->
+<view class="container">
+  <!-- 搜索 -->
+  <view class="search-container">
+    <view class="search-left">
+      <input type="text" bindtap="bindViewSearchEnd" placeholder="搜索" />
+    </view>
+    <button bindtap="bindViewSearchEnd" class="search-right">
+      <text class="iconfont icon-sousuo"></text>
+    </button>
+  </view>
+  <!-- 列表 -->
+<view class="list_vi">
+    <view class="list_li" catchtap="bindViewDetails" wx:for="{{enterpriseList}}" wx:key="index" data-index="{{item}}">
+      <!-- <i class="list_icon iconfont icon-queding" wx:if="{{item.riskCount == 0}}"></i>
+      <i class="list_icon iconfont icon-yingjipingtai" wx:if="{{item.riskCount > 0}}"></i> -->
+      <text>{{item.teamName}}</text>
+      
+      <i class="iconfont icon-xiangyou list_right"></i>
+    </view>
+</view>
+    <view class='data-loading' hidden='{{hidden}}'>
+    数据加载中...
+  </view>
+    </view>
+
+    
+
+
+
+
+
+

+ 47 - 0
pages/teamlist/teamlist.wxss

@@ -0,0 +1,47 @@
+.qy_con {
+  display: flex;
+  flex-direction: row;
+  justify-content: space-around;
+  text-align: center;
+  margin: 30rpx 30rpx;
+}
+
+.qy_con view {
+  height: 140rpx;
+  color: #fff;
+  display: flex;
+  flex-direction: column;
+  padding: 15rpx 40rpx;
+  position: relative;
+}
+
+.qy_con view image {
+  position: absolute;
+  top: 0px;
+  left: 0px;
+  width: 100%;
+  height: 100%;
+  z-index: -1;
+}
+
+.qy_con view h2 {
+  font-size: 58rpx;
+  font-weight: bolder;
+  padding-top: 10rpx;
+}
+
+.qy_con view p {
+  font-size: 35rpx;
+}
+
+.icon-jiahao {
+  font-size: 60rpx;
+}
+
+.data-loading {
+  height: 100rpx;
+  line-height: 100rpx;
+  background-color: #fff;
+  text-align: center;
+  font-size: 14px;
+}

+ 112 - 0
pages/warehouselist/warehouse_details.js

@@ -0,0 +1,112 @@
+// pages/material/material_details.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    charger: "",
+    createBy: "",
+    createTime: "",
+
+    deptName: "",
+    emergencyPhone: "",
+    equipmentNum: "",
+    goodat: "",
+
+    remark: "",
+    searchValue: "",
+    teamCategory: "",
+
+    teamName: "",
+    teamNature: "",
+    teamPnum: "",
+    teamPos: ""
+
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+    let details = JSON.parse(options.details)
+    this.setData({
+      charger: details.charger,
+      createBy: details.createBy,
+      createTime: details.createTime,
+  
+      deptName: details.deptName,
+      emergencyPhone: details.emergencyPhone,
+      equipmentNum: details.equipmentNum,
+      goodat: details.goodat,
+  
+      remark: details.remark,
+      searchValue:details.searchValue,
+      teamCategory: details.teamCategory,
+  
+      teamName: details.teamName,
+      teamNature: details.teamNature,
+      teamPnum: details.teamPnum,
+      teamPos: details.teamPos
+  
+
+    })
+
+  },
+  //拨打电话
+  Call() {
+    console.log("@@##" + this.data.connectorPhone)
+    wx.makePhoneCall({
+      phoneNumber: this.data.connectorPhone
+    })
+  },
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
+})

+ 13 - 0
pages/warehouselist/warehouse_details.json

@@ -0,0 +1,13 @@
+{
+  "component": true, 
+  "usingComponents": {
+    
+  },
+
+
+  "navigationBarBackgroundColor": "#f94b0e",
+  "navigationBarTextStyle": "white",
+  "navigationBarTitleText": "队伍详情"
+
+}
+

+ 59 - 0
pages/warehouselist/warehouse_details.wxml

@@ -0,0 +1,59 @@
+<!-- 队伍详情页面 -->
+<view class="container">
+<view class="map_view">
+
+
+
+<view>
+  <span>队伍名称:</span>
+  <i>{{teamName}}</i>
+</view>
+<view>
+  <span>队伍分类:</span>
+  <i>{{teamCategory}}</i>
+</view>
+<view>
+  <span>队伍性质:</span>
+  <i>{{teamNature}}</i>
+</view>
+ <!-- <view class="phone" bindtap="Call"></view>>
+  <span>联系电话:</span>
+  <i>{{connectorPhone}}</i>
+</view> -->
+<view>
+  <span>队伍人数:</span>
+  <i>{{teamPnum}}</i>
+</view>
+<view>
+  <span>核心装备及数量:</span>
+  <i>{{equipmentNum}}</i>
+</view>
+<view>
+  <span>部门名称:</span>
+  <i>{{deptName}}</i>
+</view>
+<view>
+  <span>负责人:</span>
+  <i>{{charger}}</i>
+</view>
+<view>
+  <span>应急联系人及电话:</span>
+  <i>{{emergencyPhone}}</i>
+</view>
+<view>
+  <span>所在地点:</span>
+  <i>{{teamPos}}</i>
+</view>
+<!-- <view class="phone" bindtap="Call">
+  <span>负责人电话:</span>
+  <i>{{enterpriseDetails.mainPersonPhone}}</i>
+</view> -->
+
+<view>
+  <span>备注:</span>
+  <i>{{remark}}</i>
+</view>
+
+</view>
+</view>
+

+ 59 - 0
pages/warehouselist/warehouse_details.wxss

@@ -0,0 +1,59 @@
+/* pages/material/material_details.wxss */
+
+
+map{
+  height: 40vh;
+  width: 100vw;
+}
+.map{
+  height: 40vh;
+  width: 100vw;
+  position: relative;
+}
+.map canvas{
+  width:100%;
+  height: 100%;
+}
+.map_view{
+  margin: 30rpx 30rpx;
+}
+.map_view view{
+  display: flex;
+  flex-direction: row;
+  font-size: 34rpx;
+  line-height: 50rpx;
+  padding-bottom: 10rpx;
+}
+.map_view view span{
+  width: 240rpx;
+  text-align: right;
+  color: #181818;
+}
+.map_view view i{
+ color: rgb(146, 146, 146);
+ white-space:normal;
+word-break:break-all;
+word-wrap:break-word
+}
+.map_btn{
+  background: rgba(0, 0, 0, 0.479);
+  display: flex;
+  flex-direction: row;
+  width: 220rpx;
+  height: 70rpx;
+  position: absolute;
+  right:20rpx;
+  bottom:20rpx;
+  z-index: 99999;
+  border-radius: 50rpx;
+  justify-content: space-evenly;
+  align-items: center;
+}
+.map_btn .iconfont{
+  color: #fff;
+  font-size: 50rpx;
+}
+.logo-text{
+  display: none;
+}
+

+ 165 - 0
pages/warehouselist/warehouselist.js

@@ -0,0 +1,165 @@
+import http from '../../base/httputil'
+const app = getApp()
+
+Page({
+  data: {
+
+    /**
+     * 控制上拉到底部时是否出现 "数据加载中..."
+     */
+    hidden: true,
+    /**
+     * 数据是否正在加载中,避免数据多次加载
+     */
+    loadingData: false,
+    enterpriseList: [],
+    isRefresh: true,
+    total: 0,
+    pageNum: 1 // 页码
+  },
+  onLoad: function () {
+    // wx.showLoading({
+    //   title: '加载中'
+    // })
+    this.loadData()
+  },
+  //加载数据
+  loadData: function () {
+    let obj = new Object()
+    obj.pageNum = this.data.pageNum
+    obj.pageSize = 10
+    obj.reasonable= false
+    http.send_get("/system/AppTeamController/getTeamList", obj, this.getQiyeEnterpriseListSuccess)
+
+
+  },
+
+  getQiyeEnterpriseListSuccess(res) {
+
+console.log("@@@@",res)
+if(res.code==200){
+     // 显示加载图标
+     wx.showLoading({
+      title: '玩命加载中',
+    })
+  
+    var that = this
+
+    if(res.data.rows.length==0){
+      wx.showToast({
+        title: '暂无更多数据',
+        icon:"none"
+      })
+      wx.hideLoading()
+    }
+    if (this.data.isRefresh) {
+      this.setData({
+        enterpriseList: res.data.rows,
+        total: res.data.total
+      })
+
+
+
+      // 隐藏导航栏加载框
+      setTimeout(function () {
+        that.setData({
+          loadingData: false
+        });
+        wx.hideNavigationBarLoading();
+        // 停止下拉动作
+        wx.stopPullDownRefresh();
+        wx.hideLoading()
+
+      }, 1000)
+
+    } else {
+      this.setData({
+        enterpriseList: this.data.enterpriseList.concat(res.data.rows)
+      })
+      // 隐藏加载框
+
+      setTimeout(function () {
+        that.setData({
+          hidden: true,
+          loadingData: false
+        });
+
+        wx.hideLoading();
+      }, 1000)
+
+    }
+  }else{
+    console.log("@@!","请求失败")
+  }
+  },
+  onPullDownRefresh: function () {
+    // 显示顶部刷新图标
+    wx.showNavigationBarLoading();
+    var that = this;
+    var loadingData = this.data.loadingData
+    if (loadingData) {
+      return;
+    }
+    that.setData({
+      pageNum: 1,
+      isRefresh: true
+    })
+    this.loadData()
+  },
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+    let that = this
+    var loadingData = that.data.loadingData
+   
+    var hidden = that.data.hidden
+    // 页数+1
+    that.setData({
+      pageNum: that.data.pageNum + 1,
+      isRefresh: false
+    })
+    if (hidden) {
+      that.setData({
+        hidden: false
+      });
+      console.info(that.data.hidden);
+    }
+
+    if (loadingData) {
+      return;
+    }
+    that.setData({
+      loadingData: true
+    });
+
+    
+    //console.log("@@@@"+Math.ceil(this.data.total/10))
+   // if(Math.ceil(that.data.total/10)>=that.data.pageNum){
+      that.loadData();
+  
+    // }else{
+     
+    //   setTimeout(function () {
+    //     that.setData({
+    //       hidden: true,
+    //     });
+
+    //   }, 2000)
+    // }
+
+   
+  },
+
+
+  bindViewDetails(e) {
+    let teamlist_details = e.currentTarget.dataset.index
+   
+ 
+
+ 
+    wx.navigateTo({
+      url: '../teamlist/team_details?details='+JSON.stringify(teamlist_details)
+    })
+  }
+})

+ 14 - 0
pages/warehouselist/warehouselist.json

@@ -0,0 +1,14 @@
+{
+  "component": true, 
+  "usingComponents": {
+  },
+
+
+  "navigationBarBackgroundColor": "#f94b0e",
+  "navigationBarTextStyle": "white",
+  "enablePullDownRefresh": true,
+  "onPullDownRefresh": true,
+  "onReachBottom": true,
+  "navigationBarTitleText": "救援队伍"
+
+}

+ 34 - 0
pages/warehouselist/warehouselist.wxml

@@ -0,0 +1,34 @@
+<!--pages/teamlist/teamlist.wxml-->
+<!-- 队伍列表页面 -->
+<view class="container">
+  <!-- 搜索 -->
+  <view class="search-container">
+    <view class="search-left">
+      <input type="text" bindtap="bindViewSearchEnd" placeholder="搜索" />
+    </view>
+    <button bindtap="bindViewSearchEnd" class="search-right">
+      <text class="iconfont icon-sousuo"></text>
+    </button>
+  </view>
+  <!-- 列表 -->
+<view class="list_vi">
+    <view class="list_li" catchtap="bindViewDetails" wx:for="{{enterpriseList}}" wx:key="index" data-index="{{item}}">
+      <!-- <i class="list_icon iconfont icon-queding" wx:if="{{item.riskCount == 0}}"></i>
+      <i class="list_icon iconfont icon-yingjipingtai" wx:if="{{item.riskCount > 0}}"></i> -->
+      <text>{{item.teamName}}</text>
+      
+      <i class="iconfont icon-xiangyou list_right"></i>
+    </view>
+</view>
+    <view class='data-loading' hidden='{{hidden}}'>
+    数据加载中...
+  </view>
+    </view>
+
+    
+
+
+
+
+
+

+ 47 - 0
pages/warehouselist/warehouselist.wxss

@@ -0,0 +1,47 @@
+.qy_con {
+  display: flex;
+  flex-direction: row;
+  justify-content: space-around;
+  text-align: center;
+  margin: 30rpx 30rpx;
+}
+
+.qy_con view {
+  height: 140rpx;
+  color: #fff;
+  display: flex;
+  flex-direction: column;
+  padding: 15rpx 40rpx;
+  position: relative;
+}
+
+.qy_con view image {
+  position: absolute;
+  top: 0px;
+  left: 0px;
+  width: 100%;
+  height: 100%;
+  z-index: -1;
+}
+
+.qy_con view h2 {
+  font-size: 58rpx;
+  font-weight: bolder;
+  padding-top: 10rpx;
+}
+
+.qy_con view p {
+  font-size: 35rpx;
+}
+
+.icon-jiahao {
+  font-size: 60rpx;
+}
+
+.data-loading {
+  height: 100rpx;
+  line-height: 100rpx;
+  background-color: #fff;
+  text-align: center;
+  font-size: 14px;
+}