Commit 50a8335b by xiexiaoqin

Merge branch 'dev' into release_beta/1.0.0

parents 6e2ec912 0e500706
...@@ -24,11 +24,13 @@ export default function xFetch({ url, method, data, type }) { ...@@ -24,11 +24,13 @@ export default function xFetch({ url, method, data, type }) {
if (res.data.code == 401) { if (res.data.code == 401) {
login(); login();
} }
alertOnce('请求异常,请重试', rejects); alertOnce(res.data.msg || '请求异常,请重试', rejects);
} }
}, },
fail: function (err) { fail: function (err) {
console.log(err) if (err && err.status == 401) {
login();
}
alertOnce('网络异常,请重试', rejects); alertOnce('网络异常,请重试', rejects);
} }
}); });
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
.iconicon_attender { .iconicon_attender {
position: relative; position: relative;
top: 4rpx; top: 6rpx;
} }
.participator-title { .participator-title {
......
...@@ -116,7 +116,6 @@ page { ...@@ -116,7 +116,6 @@ page {
position: relative; position: relative;
width: 100%; width: 100%;
padding-bottom: 0; padding-bottom: 0;
height: 200rpx;
} }
.hideTitle { .hideTitle {
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<!-- 动态列表 --> <!-- 动态列表 -->
<import src="../../template/avater/index.axml"/> <import src="../../template/avater/index.axml"/>
<import src="../../template/affairBlank/index.axml"/> <import src="../../template/affairBlank/index.axml"/>
<scroll-view class="affair-list {{isExpand? '' : 'affair-list-margin-top'}} {{!isExpand&&$data.participatorList.length>1 ? 'addPadding' : ''}}" onTap="hideFileOperate" scroll-y="{{true}}" lower-threshold="{{400}}" onScrollToLower="onScrollToLower"> <view class="affair-list {{isExpand? '' : 'affair-list-margin-top'}} {{!isExpand&&$data.participatorList.length>1 ? 'addPadding' : ''}}" onTap="hideFileOperate">
<view a:if="{{!isExpand}}" class="affair-list-title">会议动态</view> <view a:if="{{!isExpand}}" class="affair-list-title">会议动态</view>
<block a:if="{{!affairLoading}}"> <block a:if="{{!affairLoading}}">
<block a:for="{{affairList}}" key="{{item.id}}"> <block a:for="{{affairList}}" key="{{item.id}}">
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
</view> </view>
<view a:if="{{item.content && ((item.category == 1 || item.taskViewList && item.taskViewList.length > 0) || ( item.fileView && item.fileView.fileInfos && item.fileView.fileInfos.length > 0 ))}}" class='simple-column'>{{item.content}} {{item.createTime}}</view> <view a:if="{{item.content && ((item.category == 1 || item.taskViewList && item.taskViewList.length > 0) || ( item.fileView && item.fileView.fileInfos && item.fileView.fileInfos.length > 0 ))}}" class='simple-column'>{{item.content}} {{item.createTime}}</view>
</block> </block>
<view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">加载更多动态...</view> <view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">点击加载更多动态...</view>
<view class="affair-placeholder" a:if="{{affairList.length == 1 && affairList[0].logType == 'create_schedule'}}"> <view class="affair-placeholder" a:if="{{affairList.length == 1 && affairList[0].logType == 'create_schedule'}}">
<template is="affair-placeholder" data="{{title: '添加文件', tip: '我们不开无准备的会,快来上传会议文件吧。'}}"/> <template is="affair-placeholder" data="{{title: '添加文件', tip: '我们不开无准备的会,快来上传会议文件吧。'}}"/>
</view> </view>
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
<!-- 任务修改弹出框 --> <!-- 任务修改弹出框 -->
<task-panel a:if="{{pop.type === 'updateTask'}}" action='update' onDeleteTask="deleteTask"/> <task-panel a:if="{{pop.type === 'updateTask'}}" action='update' onDeleteTask="deleteTask"/>
</popup> </popup>
</scroll-view> </view>
</view> </view>
</block> </block>
<view class="loading" a:if="{{loading || !getData}}"> <view class="loading" a:if="{{loading || !getData}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment