Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
e955ee18
Commit
e955ee18
authored
Apr 03, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add affairlist blank placeholder template and replace
parent
f4bf6607
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
65 deletions
+51
-65
myDynamic.acss
PageComponents/myDynamic/myDynamic.acss
+1
-32
myDynamic.axml
PageComponents/myDynamic/myDynamic.axml
+3
-9
swipe.js
components/swipe/swipe.js
+1
-0
meetingDetail.acss
pages/meetingDetail/meetingDetail.acss
+4
-19
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+2
-5
index.acss
template/affairBlank/index.acss
+28
-0
index.axml
template/affairBlank/index.axml
+12
-0
No files found.
PageComponents/myDynamic/myDynamic.acss
View file @
e955ee18
@import "../../template/affairBlank/index.acss";
.dynamicBox {
.dynamicBox {
height: 100vh;
height: 100vh;
width: 100%;
width: 100%;
...
@@ -148,37 +149,6 @@
...
@@ -148,37 +149,6 @@
width: 100%;
width: 100%;
height: 100%;
height: 100%;
display: flex;
display: flex;
align-items: center;
justify-content: center;
justify-content: center;
}
.noDate>view {
display: flex;
flex-direction: column;
align-items: center;
align-items: center;
margin-top: -116rpx;
}
.noDate image {
width: 280rpx;
height: 290rpx;
display: block;
}
.noDateTitle {
margin: 56rpx 0 24rpx 0;
font-size: 32rpx;
color: #191F25;
letter-spacing: 0;
text-align: center;
line-height: 32rpx;
}
.noDateTip {
font-size: 28rpx;
width: 524rpx;
color: rgba(25, 31, 37, 0.40);
letter-spacing: 0;
text-align: center;
line-height: 1.5;
}
}
\ No newline at end of file
PageComponents/myDynamic/myDynamic.axml
View file @
e955ee18
<import src="../../template/affairBlank/index.axml"/>
<scroll-view a:if="{{dynamicList.length !== 0}}" scroll-y="{{true}}" class="dynamicBox" onScrollToLower="onScrollToLower">
<scroll-view a:if="{{dynamicList.length !== 0}}" scroll-y="{{true}}" class="dynamicBox" onScrollToLower="onScrollToLower">
<view class="dynamicList">
<view class="dynamicList">
<swipe rightWidth="{{ 78 }}" leftWidth="{{ 0 }}" a:for="{{dynamicList}}" class="dynamicContent">
<swipe rightWidth="{{ 78 }}" leftWidth="{{ 0 }}" a:for="{{dynamicList}}" class="dynamicContent">
...
@@ -30,13 +31,5 @@
...
@@ -30,13 +31,5 @@
</view>
</view>
</scroll-view>
</scroll-view>
<view class="noDate" a:else>
<view class="noDate" a:else>
<view>
<template is="affair-placeholder" data="{{title: '展示安排的所有动态', tip: '实时同步所有事件的最新动态,便于随时处理工作内容'}}"/>
<image mode="widthFix" src="../../assests/noDynamic.png"/>
<view class="noDateTitle">
展示安排的所有动态
</view>
<view class="noDateTip">
实时同步所有事件的最新动态,便于随时处理工作内容
</view>
</view>
</view>
</view>
\ No newline at end of file
components/swipe/swipe.js
View file @
e955ee18
...
@@ -37,6 +37,7 @@ Component({
...
@@ -37,6 +37,7 @@ Component({
},
},
methods
:
{
methods
:
{
close
:
function
()
{
close
:
function
()
{
this
.
dragging
=
false
;
this
.
swipeMove
(
0
);
this
.
swipeMove
(
0
);
},
},
destroyed
:
function
()
{
destroyed
:
function
()
{
...
...
pages/meetingDetail/meetingDetail.acss
View file @
e955ee18
@import "../../template/affairBlank/index.acss";
page {
page {
background: rgba(232, 237, 240, 1);
background: rgba(232, 237, 240, 1);
}
}
...
@@ -514,34 +515,18 @@ input {
...
@@ -514,34 +515,18 @@ input {
.affair-placeholder {
.affair-placeholder {
border-top: 1px solid rgba(239, 242, 245, 1);
border-top: 1px solid rgba(239, 242, 245, 1);
padding
: 168rpx 72rpx 0 72
rpx;
padding
-top: 168
rpx;
text-align: center;
text-align: center;
}
}
.affair-placeholder image {
.affair-placeholder image {
width: 28
0rpx;
margin-top: 5
0rpx;
}
}
.affair-placeholder .affair-placeholder-text {
.affair-placeholder .affair-blank-tip {
color: rgba(10, 10, 10, 0.4);
text-align: center;
padding: 96rpx 0 56rpx 0;
font-size: 28rpx;
white-space: nowrap;
white-space: nowrap;
}
}
.affair-placeholder .affair-placeholder-button {
color: #fff;
border-radius: 48rpx;
padding: 0 38rpx;
height: 72rpx;
line-height: 72rpx;
font-size: 30rpx;
text-align: center;
background: rgb(234, 12, 40);
display: inline-block;
}
.metingDetail {
.metingDetail {
overflow: hidden;
overflow: hidden;
height: 100vh;
height: 100vh;
...
...
pages/meetingDetail/meetingDetail.axml
View file @
e955ee18
...
@@ -190,6 +190,7 @@
...
@@ -190,6 +190,7 @@
<selectpopup showSelectPopup="{{conSelectPopupData.showSelectPopup}}" selectPopupList="{{conSelectPopupData.selectType==='noParticipateStatus' ? conSelectPopupData.noParticipateStatusList : conSelectPopupData.selectType==='delSheudle' ? conSelectPopupData.delSheudleList : (conSelectPopupData.selectType === 'participateStatus' ? conSelectPopupData.participateStatusList : conSelectPopupData.editSaveList)}}" onSelectPopup="onSelectPopup" onSelectPopupCancel="onSelectPopupCancel"></selectpopup>
<selectpopup showSelectPopup="{{conSelectPopupData.showSelectPopup}}" selectPopupList="{{conSelectPopupData.selectType==='noParticipateStatus' ? conSelectPopupData.noParticipateStatusList : conSelectPopupData.selectType==='delSheudle' ? conSelectPopupData.delSheudleList : (conSelectPopupData.selectType === 'participateStatus' ? conSelectPopupData.participateStatusList : conSelectPopupData.editSaveList)}}" onSelectPopup="onSelectPopup" onSelectPopupCancel="onSelectPopupCancel"></selectpopup>
<!-- 动态列表 -->
<!-- 动态列表 -->
<import src="../../template/avater/index.axml"/>
<import src="../../template/avater/index.axml"/>
<import src="../../template/affairBlank/index.axml"/>
<view class="affair-list" onTap="hideFileOperate">
<view class="affair-list" onTap="hideFileOperate">
<view class="affair-list-title">会议动态</view>
<view class="affair-list-title">会议动态</view>
<block a:for="{{affairList}}">
<block a:for="{{affairList}}">
...
@@ -214,12 +215,8 @@
...
@@ -214,12 +215,8 @@
<view a:if="{{item.content}}" class='simple-column'>{{item.content}} {{item.createTime}}</view>
<view a:if="{{item.content}}" class='simple-column'>{{item.content}} {{item.createTime}}</view>
</block>
</block>
<view class="affair-placeholder" a:if="{{affairList.length <= 1}}">
<view class="affair-placeholder" a:if="{{affairList.length <= 1}}">
<image mode="widthFix" src="../../assests/noDynamic.png"/>
<template is="affair-placeholder" data="{{title: '添加文件', tip: '我们不开无准备的会,快来上传会议文件吧。'}}"/>
<view class="affair-placeholder-text">我们不开无准备的会,快来上传会议文件吧。</view>
<view onTap="addMeetingFile" class="affair-placeholder-button">添加会议文件</view>
</view>
</view>
<!--<view class="delMetting" onTap="delSheudle"><view class=" iconfont iconicon_close"></view><view>
删除该会议</view></view> -->
<popup title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<popup title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<meeting-time-picker a:if="{{'time' === comType}}" onComplete="onComplete" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}"></meeting-time-picker>
<meeting-time-picker a:if="{{'time' === comType}}" onComplete="onComplete" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}"></meeting-time-picker>
<hlist a:if="{{'participator' === comType}}" dataComList="{{comHListData.contactData}}" onSelectComHList="selectComHList"></hlist>
<hlist a:if="{{'participator' === comType}}" dataComList="{{comHListData.contactData}}" onSelectComHList="selectComHList"></hlist>
...
...
template/affairBlank/index.acss
0 → 100644
View file @
e955ee18
.affair-blank {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 72rpx;
text-align: center;
margin-top: -96rpx;
}
.affair-blank image {
width: 280rpx;
display: block;
}
.affair-blank-title {
margin: 56rpx 0 24rpx 0;
font-size: 32rpx;
color: #191F25;
}
.affair-blank-tip {
font-size: 28rpx;
color: rgba(25, 31, 37, 0.40);
line-height: 1.5;
padding: 0 20rpx;
}
\ No newline at end of file
template/affairBlank/index.axml
0 → 100644
View file @
e955ee18
<template name='affair-placeholder'>
<view class="affair-blank">
<image mode="widthFix" src="../../assests/noDynamic.png"/>
<view class="affair-blank-title">
{{title}}
</view>
<view class="affair-blank-tip">
{{tip}}
</view>
</view>
</template>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment