zhaoxiaohai před 3 roky
rodič
revize
8985c00878

+ 6 - 5
components/My_TwoDimensionalCode/analyze.js

@@ -1,15 +1,16 @@
 function showModel(data, content) {
     wx.setStorageSync('qrCodeMsg', data);
-    wx.showModal({
+    wx.reLaunch({
+        url: '/pages/login/index',
+    })
+    /* wx.showModal({
         title: '提示',
         content: content,
         showCancel: false,
         success: (res => {
-            if (res.confirm) wx.reLaunch({
-                url: '/pages/login/index',
-            })
+            if (res.confirm) 
         })
-    });
+    }); */
 }
 //解析二维码链接
 function setDataUrl(url, login) {

+ 1 - 1
components/My_navBar/index.js

@@ -22,7 +22,7 @@ Component({
                 that.setData({
                     userName
                 })
-            }, 300)
+            }, 500)
         },
         detached: function () {
             // 在组件实例被从页面节点树移除时执行

+ 13 - 10
pages/annunciate/details.wxml

@@ -22,15 +22,18 @@
         </view>
         <view style="width: 702rpx;height: 2rpx;margin:0 auto; background-color: rgba(151,151,151, .1); margin-bottom: 18rpx;"></view>
         <!-- 更多推荐 -->
-        <My_CenterTheTitle title='附件查看'></My_CenterTheTitle>
-        <view class="filesList">
-            <navigator url="#" class="files-item" wx:for="{{defaultFiles}}" data-index="{{index}}" catchtap="downLoadFiles">
-                <view class="files-item-img">
-                    <image src="/static/annunciate/icon-file.png"></image>
-                </view>
-                <view class="files-item-name u-line-1">{{item.postfix}}附件<image src="/static/annunciate/icon-downLoad.png"></image>
-                </view>
-            </navigator>
-        </view>
+        <block wx:if="{{defaultFiles.length>=1}}">
+            <My_CenterTheTitle title='附件查看'></My_CenterTheTitle>
+            <view class="filesList">
+                <navigator url="#" class="files-item" wx:for="{{defaultFiles}}" data-index="{{index}}" catchtap="downLoadFiles">
+                    <view class="files-item-img">
+                        <image src="/static/annunciate/icon-file.png"></image>
+                    </view>
+                    <view class="files-item-name u-line-1">{{item.postfix}}附件<image src="/static/annunciate/icon-downLoad.png"></image>
+                    </view>
+                </navigator>
+            </view>
+        </block>
+        <view style="height: 40px;"></view>
     </scroll-view>
 </view>

+ 1 - 1
pages/tabbar-pages/home/index.wxml

@@ -22,7 +22,7 @@
     <!-- 标题前图片 -->
     <image slot="display-box-img" class="display-title_image" src="/static/icon-03.png" mode="aspectFit"></image>
     <!-- 圆角按钮tabs -->
-    <My_RoundedCornerButtonTabs list="{{roundedList}}" bind:tabsSelectedIitem="tabsSelectedIitem"></My_RoundedCornerButtonTabs>
+    <!-- <My_RoundedCornerButtonTabs list="{{roundedList}}" bind:tabsSelectedIitem="tabsSelectedIitem"></My_RoundedCornerButtonTabs> -->
     <!-- 列表展示区 -->
     <view slot="display-box-showList">
         <My_DisplayItem wx:for="{{productList}}" content="{{item}}" padTop="{{index==0?'0':'20'}}" borTop="{{index==0?'0':'2'}}" anonymity="true">

+ 3 - 1
pages/teamManagement/change.js

@@ -79,7 +79,6 @@ Page({
                 "tenterprise_userid": this.data.tenterprise_userid
             }
         }).then(res => {
-            console.log("转让主账号", res)
             if (res.data != '成功') return;
             const that = this;
             /* 已将验证码发送到受让方 */
@@ -140,6 +139,9 @@ Page({
                     title: '转让成功!请您重新登录',
                     icon: "none",
                 });
+                _Http.logout({
+                    "accesstoken": wx.getStorageSync('userData').token
+                }, false)
                 setTimeout(() => {
                     wx.reLaunch({
                         url: '/pages/login/index',