Z1hgq 7 лет назад
Родитель
Сommit
74a30a67d5
58 измененных файлов с 266 добавлено и 47 удалено
  1. 13 1
      Furniture/app.wxss
  2. 0 0
      Furniture/images/chakanpinglun.png
  3. 0 0
      Furniture/images/fengexian.png
  4. 0 0
      Furniture/images/fenxiang.png
  5. 0 0
      Furniture/images/huifufengexian.png
  6. BIN
      Furniture/images/回复按钮.png
  7. BIN
      Furniture/images/头像.png
  8. BIN
      Furniture/images/底部栏评论.png
  9. BIN
      Furniture/images/底部栏评论1.png
  10. BIN
      Furniture/images/查看全部回复按钮.png
  11. BIN
      Furniture/images/点赞.png
  12. BIN
      Furniture/images/返回文章按钮.png
  13. 5 0
      Furniture/page/homePage/detail/conment/conment.js
  14. 4 1
      Furniture/page/homePage/detail/conment/conment.wxml
  15. 12 1
      Furniture/page/homePage/detail/detail.js
  16. 12 7
      Furniture/page/homePage/detail/detail.wxml
  17. 53 30
      Furniture/page/homePage/detail/detail.wxss
  18. 5 0
      Furniture/page/user/user.js
  19. 4 1
      Furniture/page/user/user.wxml
  20. 5 0
      Furniture/pages/index/index.js
  21. 4 1
      Furniture/pages/index/index.wxml
  22. 5 0
      Furniture/pages/infor/assess.js
  23. 3 0
      Furniture/pages/infor/assess.wxml
  24. 5 0
      Furniture/pages/infor/details.js
  25. 4 1
      Furniture/pages/infor/details.wxml
  26. 5 0
      Furniture/pages/infor/infor.js
  27. 4 1
      Furniture/pages/infor/infor.wxml
  28. 1 1
      Furniture/pages/logs/guanggao.js
  29. 5 0
      Furniture/pages/make/make-detail.js
  30. 3 0
      Furniture/pages/make/make-detail.wxml
  31. 5 0
      Furniture/pages/make/make.js
  32. 3 0
      Furniture/pages/make/make.wxml
  33. 5 0
      Furniture/pages/manager/datacount.js
  34. 3 0
      Furniture/pages/manager/datacount.wxml
  35. 5 0
      Furniture/pages/manager/mana-detail.js
  36. 3 0
      Furniture/pages/manager/mana-detail.wxml
  37. 5 0
      Furniture/pages/manager/manage.js
  38. 3 0
      Furniture/pages/manager/manage.wxml
  39. 5 0
      Furniture/pages/manager/thedata/pingjia.js
  40. 3 0
      Furniture/pages/manager/thedata/pingjia.wxml
  41. 5 0
      Furniture/pages/manager/thedata/pinlei-list.js
  42. 3 0
      Furniture/pages/manager/thedata/pinlei-list.wxml
  43. 5 0
      Furniture/pages/manager/thedata/pinlei.js
  44. 3 0
      Furniture/pages/manager/thedata/pinlei.wxml
  45. 5 0
      Furniture/pages/manager/thedata/shouhou-list.js
  46. 3 0
      Furniture/pages/manager/thedata/shouhou-list.wxml
  47. 5 0
      Furniture/pages/manager/thedata/shouhou.js
  48. 3 0
      Furniture/pages/manager/thedata/shouhou.wxml
  49. 5 0
      Furniture/pages/manager/thedata/vorder-list.js
  50. 3 0
      Furniture/pages/manager/thedata/vorder-list.wxml
  51. 5 0
      Furniture/pages/manager/thedata/vorder.js
  52. 3 0
      Furniture/pages/manager/thedata/vorder.wxml
  53. 5 0
      Furniture/pages/packing/packing-detail.js
  54. 4 1
      Furniture/pages/packing/packing-detail.wxml
  55. 5 0
      Furniture/pages/packing/packing.js
  56. 3 0
      Furniture/pages/packing/packing.wxml
  57. 6 1
      Furniture/pages/search/search.js
  58. 3 0
      Furniture/pages/search/search.wxml

+ 13 - 1
Furniture/app.wxss

xqd
@@ -42,7 +42,19 @@ page{
     text-align: left;
     font-size: 14px;
 }
-
+.float-icon {
+    position: fixed;
+    z-index: 20;
+    right: 20rpx;
+    bottom: 110rpx;
+}
+.dial {
+    width: 130rpx;
+    height: 130rpx;
+    border-radius: 10rpx;
+    display: block;
+    margin-bottom: 32rpx;
+}
 .we7-bottom-placeholder { width: 100%; height: 134rpx; position: relative; bottom: 0; z-index: -1 }
 .we7-bottom { display: flex; overflow: hidden; position: fixed; left: 0; right: 0; bottom: 0; padding: 10rpx 0; border-top: 1px solid #eee; background-color: #fff; z-index:99; }
 .we7-bottom.active { background-color: #fff; }

+ 0 - 0
Furniture/images/查看评论按钮.png → Furniture/images/chakanpinglun.png


+ 0 - 0
Furniture/images/分割线.png → Furniture/images/fengexian.png


+ 0 - 0
Furniture/images/分享按钮.png → Furniture/images/fenxiang.png


+ 0 - 0
Furniture/images/回复与回复之间的分割线.png → Furniture/images/huifufengexian.png


BIN
Furniture/images/回复按钮.png


BIN
Furniture/images/头像.png


BIN
Furniture/images/底部栏评论.png


BIN
Furniture/images/底部栏评论1.png


BIN
Furniture/images/查看全部回复按钮.png


BIN
Furniture/images/点赞.png


BIN
Furniture/images/返回文章按钮.png


+ 5 - 0
Furniture/page/homePage/detail/conment/conment.js

xqd
@@ -196,6 +196,11 @@ Page({
    */
   onShareAppMessage: function() {
 
+  },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
   },
   reply: function(e) {
     var that = this

+ 4 - 1
Furniture/page/homePage/detail/conment/conment.wxml

xqd
@@ -36,11 +36,14 @@
         <text style='color:#1E90FF;font-size:30rpx' decode="{{true}}" space="{{true}}">共{{item.replys.total}}条回复  ></text>
       </view>
       <view class='container1' style='margin-top:0rpx;margin-left:100rpx'>
-        <image src='/images/回复与回复之间的分割线.png ' style='width:630rpx;height:1rpx;margin-top:0rpx;margin-left:0rpx'></image>
+        <image src='/images/huifufengexian.png ' style='width:630rpx;height:1rpx;margin-top:0rpx;margin-left:0rpx'></image>
       </view>
     </view>
     <view class='sousuo'>
       <input class='findit' placeholder='说点什么...' bindblur='reply' value='{{reply_content}}'></input>
     </view>
   </view>
+  <view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 </view>

+ 12 - 1
Furniture/page/homePage/detail/detail.js

xqd xqd xqd
@@ -34,6 +34,7 @@ Page({
         newsid:id
       },
       success:function(res){
+        console.log(res.data)
         that.setData({
           next_page_url: res.data.data.news_comments.next_page_url,
           news:res.data.data.news,
@@ -171,7 +172,12 @@ Page({
    * 用户点击右上角分享
    */
   onShareAppMessage: function () {
-
+    var that = this
+    return {
+      title: '天天家居惠',
+      desc: that.data.news.title,
+      path: '/page/homePage/detail/detail?id='+that.data.news.id
+    }
   },
   like: function () {
     var that = this
@@ -469,4 +475,9 @@ Page({
       console.log(e.message)
     }
   },
+  backhome:function(){
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  }
 })

+ 12 - 7
Furniture/page/homePage/detail/detail.wxml

xqd xqd
@@ -15,9 +15,6 @@
             <import src="../../../wxParse/wxParse.wxml" />
             <template is="wxParse" data="{{wxParseData:article.nodes}}" />
           </view>
-          <view class="weui-article__p">
-            <image src="{{news.thumb}}" mode="aspectFit" style="width: 100%" />
-          </view>
         </view>
       </view>
 
@@ -67,17 +64,25 @@
         <text style='color:#1E90FF;font-size:30rpx' decode="{{true}}" space="{{true}}">共{{item.replys.total}}条回复  ></text>
       </view>
       <view class='container1' style='margin-top:0rpx;margin-left:100rpx'>
-        <image src='/images/回复与回复之间的分割线.png ' style='width:630rpx;height:1rpx;margin-top:0rpx;margin-left:0rpx;'></image>
+        <image src='/images/huifufengexian.png ' style='width:630rpx;height:1rpx;margin-top:0rpx;margin-left:0rpx;'></image>
       </view>
     </view>
     <view class='sousuo'>
       <input class='findit' placeholder='{{placeholder}}' bindblur='comment' value='{{comment_content}}' focus='{{focus}}'></input>
       <view class='sweep' bindtap='set_is_reply_false'>
-        <image src='/images/查看评论按钮.png'></image>
+        <!-- <image src='/images/查看评论按钮.png'></image> -->
+        <button class="share-btn" plain="true">
+          <image src="/images/chakanpinglun.png" style="width: 50rpx;height: 50rpx"></image>
+        </button>
       </view>
-      <view class='sweep' bindtap=''>
-        <image src='/images/分享按钮.png'></image>
+      <view class='sweep' style='margin-left:10rpx'>
+        <button open-type='share' class="share-btn" plain="true">
+          <image src="/images/fenxiang.png" style="width: 50rpx;height: 50rpx"></image>
+        </button>
       </view>
     </view>
   </view>
+  <view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 </view>

+ 53 - 30
Furniture/page/homePage/detail/detail.wxss

xqd xqd
@@ -1,41 +1,47 @@
 /* page/homePage/detail/detail.wxss */
 @import '/pages/login/login.wxss';
-.page{
+
+.page {
   overflow-x: hidden;
 }
+
 .container1 {
   flex-direction: column;
-  color:#515151;
+  color: #515151;
   font-size: 26rpx;
   position: absolute;
-  font-weight:900;
-  font-family: "幼圆","方正姚体",Geneva,"Times New Roman";
-  margin-left:80rpx;
+  font-weight: 900;
+  font-family: "幼圆", "方正姚体", Geneva, "Times New Roman";
+  margin-left: 80rpx;
   margin-top: 18rpx;
-} 
-.conment{
-  margin:20rpx;
+}
+
+.conment {
+  margin: 20rpx;
   margin-bottom: 50rpx;
 }
-.textInput{
-  height:8%;
+
+.textInput {
+  height: 8%;
   display: flex;
   position: fixed;
   bottom: 0;
   width: 100%;
 }
-.relative{
+
+.relative {
   height: 100%;
-  width:100%;
-  position:relative;
+  width: 100%;
+  position: relative;
 }
- 
-.pic_background{
+
+.pic_background {
   height: 100%;
   width: 100%;
-  position:absolute;
+  position: absolute;
 }
-.sousuo{
+
+.sousuo {
   background-color: #fff;
   width: 100%;
   height: 100rpx;
@@ -44,40 +50,57 @@
   display: flex;
   font-size: 32rpx;
 }
-.sousuo .findit{
+
+.share-btn {
+  margin-top: 5rpx;
+  line-height: normal;
+  padding: 0 10rpx;
+  border: 1px solid white;
+  background: none;
+  border-radius: 0;
+  box-shadow: none;
+  display: inline-block;
+  font-size: 8pt;
+}
+
+.sousuo .findit {
   width: 520rpx;
   height: 70rpx;
   background: #eee;
   margin: 15rpx 0 15rpx 15rpx;
-  border-radius:35rpx; 
+  border-radius: 35rpx;
   padding-left: 25rpx;
 }
-.sousuo .sweep{
+
+.sousuo .sweep {
   width: 70rpx;
   height: 70rpx;
   margin: 15rpx;
 }
-.sousuo .sweep image{
-  width:60rpx;
+
+.sousuo .sweep image {
+  width: 60rpx;
   height: 60rpx;
   margin-top: 5rpx;
 }
-.like{
+
+.like {
   margin-left: 350rpx;
   width: 250rpx;
   height: 80rpx;
-  color:#EA6F5A;
-  border:1px solid #EA6F5A;
+  color: #ea6f5a;
+  border: 1px solid #ea6f5a;
   border-radius: 50rpx;
   display: flex;
 }
-.like1{
+
+.like1 {
   margin-left: 350rpx;
-  background-color: #EA6F5A;
+  background-color: #ea6f5a;
   width: 250rpx;
   height: 80rpx;
-  color:#fff;
-  border:1px solid #EA6F5A;
+  color: #fff;
+  border: 1px solid #ea6f5a;
   border-radius: 50rpx;
   display: flex;
-}
+}

+ 5 - 0
Furniture/page/user/user.js

xqd
@@ -135,4 +135,9 @@ Page({
       console.log(e.message)
     }
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
 })

+ 4 - 1
Furniture/page/user/user.wxml

xqd
@@ -23,4 +23,7 @@
     <view class='btn quan' bindtap='quan'><image src='/img/quan.png'></image></view>
     <view class='btn daili' bindtap='daili'><image src='/img/daili.png'></image></view>
   </view>
-</view>
+</view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/index/index.js

xqd
@@ -248,6 +248,11 @@ Page({
       }
     })
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   orderup: function(e) {
     console.log(urlArr)
     var that = this

+ 4 - 1
Furniture/pages/index/index.wxml

xqd
@@ -75,4 +75,7 @@
     <text class='user'>我的</text>
   </zan-col>
   </zan-row>
-</view>
+</view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/infor/assess.js

xqd
@@ -35,6 +35,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     showpic: function (event) {
       // var that = this
       // that.setData({

+ 3 - 0
Furniture/pages/infor/assess.wxml

xqd
@@ -47,3 +47,6 @@
   <image class='add' src='../../img/add.png' bindtap='addimg'></image>
 </view>
 <button class='sub' bindtap='tijiao'>提交</button>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/infor/details.js

xqd
@@ -122,6 +122,11 @@ Page({
       complete: function() {}
     })
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   quxiao: function() {
     app.request({
       url: 'https://t6.9026.com/api/furniture/updatestatus',

+ 4 - 1
Furniture/pages/infor/details.wxml

xqd
@@ -90,4 +90,7 @@
   <button wx:if="{{status==1}}" bindtap='quxiao'>取消订单</button>
   <button wx:if="{{status==2}}" bindtap='shouhuo'>确认收货</button>
   <button wx:if="{{status==3&&!pingjia}}" bindtap='assess' id='vorder-id'>评价</button> 
-</view> -->
+</view> -->
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/infor/infor.js

xqd
@@ -166,6 +166,11 @@ Page({
       }
     })
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   allOrder:function(){
     wx.setStorageSync('us', 0)
     var that = this

+ 4 - 1
Furniture/pages/infor/infor.wxml

xqd
@@ -96,4 +96,7 @@
     <text class='user'>我的</text>
   </zan-col>
   </zan-row>
-</view>
+</view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 1 - 1
Furniture/pages/logs/guanggao.js

xqd
@@ -76,7 +76,7 @@ Component({
     },
     getin:function(){
       var a = 1;
-      wx.switchTab({
+      wx.redirectTo({
         url: '/page/homePage/homePage',
       })
     }

+ 5 - 0
Furniture/pages/make/make-detail.js

xqd
@@ -54,6 +54,11 @@ Page({
       }
     })
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   onLoad: function() {
     var that = this
     console.log('detailpage')

+ 3 - 0
Furniture/pages/make/make-detail.wxml

xqd
@@ -66,4 +66,7 @@
     </zan-col>
     <zan-col col="7" offset="1"><button class='back' bindtap='fanhui'>返回</button></zan-col>
   </zan-row>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 

+ 5 - 0
Furniture/pages/make/make.js

xqd
@@ -165,6 +165,11 @@ Page({
     }
   },
 //<<<<<<< HEAD
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   allOrder: function() {
     wx.setStorageSync('ma', 0)
     var that = this

+ 3 - 0
Furniture/pages/make/make.wxml

xqd
@@ -84,3 +84,6 @@
     </view>
   </view>
 </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/datacount.js

xqd
@@ -26,6 +26,11 @@ Component({
         url: 'manage',
       })
     },
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     datacount: function () {
       this.setData({
         select: 1

+ 3 - 0
Furniture/pages/manager/datacount.wxml

xqd
@@ -22,3 +22,6 @@
   </view>
 </view>
 <include src='foot.wxml'/>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/mana-detail.js

xqd
@@ -31,6 +31,11 @@ Page({
     }
     ],
   },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   onLoad: function () {
     var that = this
     console.log('detailpage')

+ 3 - 0
Furniture/pages/manager/mana-detail.wxml

xqd
@@ -55,4 +55,7 @@
     <zan-col col="16"><text style='color:rgba(0,0,0,0)'>0</text></zan-col>
     <zan-col col="7" offset="1"><button class='back' bindtap='fanhui'>返回</button></zan-col>
   </zan-row>
+  <view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 

+ 5 - 0
Furniture/pages/manager/manage.js

xqd
@@ -82,6 +82,11 @@ Page({
   /**
    * 生命周期函数--监听页面加载
    */
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   onLoad: function(options) {
     var that = this
     if (app.globalData.userInfo) {

+ 3 - 0
Furniture/pages/manager/manage.wxml

xqd
@@ -92,6 +92,9 @@
   </view>
 </view>
 <include src="foot.wxml"/>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 
 
 

+ 5 - 0
Furniture/pages/manager/thedata/pingjia.js

xqd
@@ -25,6 +25,11 @@ Component({
   methods: {
     onLoad(){
       
+    },
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
     },
     tap1:function(){
       this.setData({

+ 3 - 0
Furniture/pages/manager/thedata/pingjia.wxml

xqd
@@ -7,3 +7,6 @@
 <view class='zz'>
   <canvas canvas-id="columnCanvas" class="canvas" bindtouchstart="touchHandler"></canvas>
 </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/thedata/pinlei-list.js

xqd
@@ -25,6 +25,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     onLoad: function (options) {
       var that = this
       that.setData({

+ 3 - 0
Furniture/pages/manager/thedata/pinlei-list.wxml

xqd
@@ -5,3 +5,6 @@
   <view class='zz'>
     <canvas canvas-id="columnCanvas" disable-scroll="true" class="canvas" bindtouchstart="touchHandler" bindtouchmove="moveHandler" bindtouchend="touchEndHandler"></canvas>
   </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/thedata/pinlei.js

xqd
@@ -28,6 +28,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     list: function(e) {
       var that = this
       var a = e.currentTarget.id

+ 3 - 0
Furniture/pages/manager/thedata/pinlei.wxml

xqd
@@ -15,3 +15,6 @@
     <zan-cell id='{{item}}' wx:for="{{list}}" wx:key="{{index}}" title="{{item}}"  is-link bindtap='list'></zan-cell>
   </zan-cell-group>
 </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/thedata/shouhou-list.js

xqd
@@ -28,6 +28,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     onLoad: function(options) {
       var that = this
       var type = options.type

+ 3 - 0
Furniture/pages/manager/thedata/shouhou-list.wxml

xqd
@@ -5,3 +5,6 @@
   <view class='zz'>
     <canvas canvas-id="columnCanvas" disable-scroll="true" class="canvas" bindtouchstart="touchHandler" bindtouchmove="moveHandler" bindtouchend="touchEndHandler"></canvas>
   </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/manager/thedata/shouhou.js

xqd
@@ -59,6 +59,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     list: function(e) {
       var that = this
       var a = e.currentTarget.id

+ 3 - 0
Furniture/pages/manager/thedata/shouhou.wxml

xqd
@@ -15,5 +15,8 @@
     <zan-cell id='{{item}}' wx:for="{{list}}" wx:key="{{index}}" title="{{item}}"  is-link bindtap='list'></zan-cell>
   </zan-cell-group>
 </view>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 
 

+ 5 - 0
Furniture/pages/manager/thedata/vorder-list.js

xqd
@@ -25,6 +25,11 @@ Component({
   * 组件的方法列表
   */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     onLoad: function (options) {
       var that = this
       var id = options.id

+ 3 - 0
Furniture/pages/manager/thedata/vorder-list.wxml

xqd
@@ -4,4 +4,7 @@
 	</view>
   <view class='zz'>
     <canvas canvas-id="columnCanvas" disable-scroll="true" class="canvas" bindtouchstart="touchHandler" bindtouchmove="moveHandler" bindtouchend="touchEndHandler"></canvas>
+  </view>
+  <view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
   </view>

+ 5 - 0
Furniture/pages/manager/thedata/vorder.js

xqd
@@ -27,6 +27,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     list:function(e){
       var a = e.currentTarget.id
       console.log(a)

+ 3 - 0
Furniture/pages/manager/thedata/vorder.wxml

xqd
@@ -11,3 +11,6 @@
     <zan-cell title="未签收" id='5' is-link bindtap='list'></zan-cell>
     <zan-cell title="逾期" id='6' is-link bindtap='list'></zan-cell>
   </zan-cell-group>
+  <view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/packing/packing-detail.js

xqd
@@ -85,6 +85,11 @@ Page({
    * 组件的方法列表
    */
   // methods: {
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
+  },
   onLoad: function(options) {
     var that = this
     console.log('detailpage')

+ 4 - 1
Furniture/pages/packing/packing-detail.wxml

xqd
@@ -88,4 +88,7 @@
 </zan-row>
 <modal hidden="{{hiddenmodalput}}" title="发货" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="confirm">
 <input type='text' placeholder="请添加备注" bindblur='getRemark'/>
-</modal>
+</modal>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>

+ 5 - 0
Furniture/pages/packing/packing.js

xqd
@@ -622,6 +622,11 @@ Page({
    */
   onShareAppMessage: function() {
 
+  },
+  backhome: function () {
+    wx.reLaunch({
+      url: '/page/homePage/homePage',
+    })
   },
   handleClick() {
     Dialog({

+ 3 - 0
Furniture/pages/packing/packing.wxml

xqd
@@ -99,4 +99,7 @@
   <input form-type="submit" type='text' placeholder="请添加备注" bindblur='getRemark'/>
 </form>
 </modal>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>
 

+ 6 - 1
Furniture/pages/search/search.js

xqd xqd
@@ -81,6 +81,11 @@ Component({
    * 组件的方法列表
    */
   methods: {
+    backhome: function () {
+      wx.reLaunch({
+        url: '/page/homePage/homePage',
+      })
+    },
     upFormID: function (e) {
       console.log('....')
       app.request({
@@ -104,7 +109,7 @@ Component({
       }else{
         if (user.role == 0) {
           that.setData({
-            role: 2
+            role: 0
           })
         } else if (user.role == 1) {
           that.setData({

+ 3 - 0
Furniture/pages/search/search.wxml

xqd
@@ -89,4 +89,7 @@
 <modal hidden="{{hiddenmodalput}}" title="发货" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="confirm">
 <input type='text' placeholder="请添加备注" bindblur='getRemark'/>
 </modal>
+<view class='float-icon'>
+    <view class='dial' style='background-image:url("https://t6.9026.com/upload/images/20180815/884b8b528800f9fdecd901bb5b871f4a.png");background-size:100% 100%' catchtap='backhome'></view>
+  </view>