Commit b10426fa by fengzhaoyu

换图标

parent 9594fa3d
...@@ -254,4 +254,12 @@ export function editFile(data) { ...@@ -254,4 +254,12 @@ export function editFile(data) {
data: JSON.stringify(data), data: JSON.stringify(data),
url: `/meet/schedule-accessory/update` url: `/meet/schedule-accessory/update`
}) })
}
// 参加 不参加
export function isParticipate(data) {
return $http({
method: 'post',
data: JSON.stringify(data),
url: `/meet/schedule/confirm`
})
} }
\ No newline at end of file
No preview for this file type
...@@ -6,179 +6,263 @@ ...@@ -6,179 +6,263 @@
"description": "", "description": "",
"glyphs": [ "glyphs": [
{ {
"icon_id": "12620785", "icon_id": "13183878",
"name": "youjinru", "name": "miaoshu",
"font_class": "youjinru", "font_class": "miaoshu",
"unicode": "e636", "unicode": "e69a",
"unicode_decimal": 58934 "unicode_decimal": 59034
}, },
{ {
"icon_id": "12620950", "icon_id": "13176749",
"name": "xuanzhong", "name": "sanjiao",
"font_class": "xuanzhong", "font_class": "sanjiao1",
"unicode": "e637", "unicode": "e699",
"unicode_decimal": 58935 "unicode_decimal": 59033
}, },
{ {
"icon_id": "12621118", "icon_id": "13176696",
"name": "weigouxuan", "name": "sanjiao",
"font_class": "weigouxuan", "font_class": "sanjiao",
"unicode": "e638", "unicode": "e698",
"unicode_decimal": 58936 "unicode_decimal": 59032
}, },
{ {
"icon_id": "12621397", "icon_id": "13174828",
"name": "yigouxuan", "name": "bianji",
"font_class": "yigouxuan", "font_class": "bianji",
"unicode": "e63a", "unicode": "e696",
"unicode_decimal": 58938 "unicode_decimal": 59030
}, },
{ {
"icon_id": "12621592", "icon_id": "13173695",
"name": "beifangren", "name": "xialakuang",
"font_class": "beifangren", "font_class": "xialakuang",
"unicode": "e63c", "unicode": "e695",
"unicode_decimal": 58940 "unicode_decimal": 59029
}, },
{ {
"icon_id": "12621601", "icon_id": "13173664",
"name": "dingwei", "name": "jiahao",
"font_class": "dingwei", "font_class": "jiahao",
"unicode": "e63d", "unicode": "e694",
"unicode_decimal": 58941 "unicode_decimal": 59028
}, },
{ {
"icon_id": "12622650", "icon_id": "13173351",
"name": "xialakuang", "name": "shijan",
"font_class": "xialakuang", "font_class": "shijan",
"unicode": "e63e", "unicode": "e693",
"unicode_decimal": 58942 "unicode_decimal": 59027
}, },
{ {
"icon_id": "12623341", "icon_id": "13173285",
"name": "sousuo", "name": "hengxian",
"font_class": "sousuo", "font_class": "hengxian",
"unicode": "e63f", "unicode": "e692",
"unicode_decimal": 58943 "unicode_decimal": 59026
}, },
{ {
"icon_id": "12624539", "icon_id": "13173282",
"name": "huiyizhuti", "name": "duigou",
"font_class": "huiyizhuti", "font_class": "duigou",
"unicode": "e641", "unicode": "e691",
"unicode_decimal": 58945 "unicode_decimal": 59025
}, },
{ {
"icon_id": "12624692", "icon_id": "13173264",
"name": "huiyimiaoshu", "name": "fenxiang",
"font_class": "huiyimiaoshu", "font_class": "fenxiang",
"unicode": "e642", "unicode": "e690",
"unicode_decimal": 58946 "unicode_decimal": 59024
}, },
{ {
"icon_id": "12624721", "icon_id": "13173248",
"name": "youjinru",
"font_class": "youjinru1",
"unicode": "e68f",
"unicode_decimal": 59023
},
{
"icon_id": "13173200",
"name": "youjinru",
"font_class": "youjinru",
"unicode": "e68d",
"unicode_decimal": 59021
},
{
"icon_id": "13172997",
"name": "xuanzhong",
"font_class": "xuanzhong1",
"unicode": "e68c",
"unicode_decimal": 59020
},
{
"icon_id": "13172977",
"name": "dingwei",
"font_class": "dingwei1",
"unicode": "e68b",
"unicode_decimal": 59019
},
{
"icon_id": "13172955",
"name": "sousuo",
"font_class": "sousuo1",
"unicode": "e68a",
"unicode_decimal": 59018
},
{
"icon_id": "13172911",
"name": "huiyizhuti",
"font_class": "huiyizhuti2",
"unicode": "e689",
"unicode_decimal": 59017
},
{
"icon_id": "13172878",
"name": "shijian", "name": "shijian",
"font_class": "shijian", "font_class": "shijian1",
"unicode": "e643", "unicode": "e687",
"unicode_decimal": 58947 "unicode_decimal": 59015
}, },
{ {
"icon_id": "12624765", "icon_id": "13172852",
"name": "chongfu", "name": "chongfu",
"font_class": "chongfu", "font_class": "chongfu2",
"unicode": "e644", "unicode": "e686",
"unicode_decimal": 58948 "unicode_decimal": 59014
}, },
{ {
"icon_id": "12624781", "icon_id": "13172832",
"name": "canhuiren", "name": "canhuiren1",
"font_class": "canhuiren1", "font_class": "canhuiren",
"unicode": "e646", "unicode": "e684",
"unicode_decimal": 58950 "unicode_decimal": 59012
}, },
{ {
"icon_id": "12624802", "icon_id": "13172826",
"name": "huiyishi", "name": "huiyishi",
"font_class": "huiyishi", "font_class": "huiyishi2",
"unicode": "e647", "unicode": "e683",
"unicode_decimal": 58951 "unicode_decimal": 59011
}, },
{ {
"icon_id": "12626853", "icon_id": "13172743",
"name": "didianmiaoshu", "name": "tixing",
"font_class": "didianmiaoshu", "font_class": "tixing",
"unicode": "e64b", "unicode": "e67f",
"unicode_decimal": 58955 "unicode_decimal": 59007
}, },
{ {
"icon_id": "12626991", "icon_id": "13172697",
"name": "huiqiantixing", "name": "tianjia",
"font_class": "huiqiantixing", "font_class": "tianjia1",
"unicode": "e64c", "unicode": "e67e",
"unicode_decimal": 58956 "unicode_decimal": 59006
}, },
{ {
"icon_id": "12627665", "icon_id": "13172692",
"name": "fuben", "name": "shanchu-2",
"font_class": "fuben", "font_class": "shanchu-1",
"unicode": "e64d", "unicode": "e67d",
"unicode_decimal": 58957 "unicode_decimal": 59005
}, },
{ {
"icon_id": "12628220", "icon_id": "13172671",
"name": "tianjia", "name": "xuanzhong",
"font_class": "tianjia", "font_class": "xuanzhong2",
"unicode": "e64e", "unicode": "e67b",
"unicode_decimal": 58958 "unicode_decimal": 59003
}, },
{ {
"icon_id": "12628546", "icon_id": "13172636",
"name": "shanchu", "name": "weigouxuan",
"font_class": "shanchu", "font_class": "weigouxuan",
"unicode": "e64f", "unicode": "e67a",
"unicode_decimal": 58959 "unicode_decimal": 59002
}, },
{ {
"icon_id": "12628872", "icon_id": "13172601",
"name": "kai", "name": "shanchu1",
"font_class": "kai", "font_class": "shanchu3",
"unicode": "e650", "unicode": "e679",
"unicode_decimal": 58960 "unicode_decimal": 59001
}, },
{ {
"icon_id": "12628961", "icon_id": "13172580",
"name": "guan", "name": "shangchuanwenjian",
"font_class": "guan", "font_class": "shangchuanwenjian1",
"unicode": "e651", "unicode": "e678",
"unicode_decimal": 58961 "unicode_decimal": 59000
}, },
{ {
"icon_id": "12645018", "icon_id": "13172482",
"name": "zhankai", "name": "dongtai",
"font_class": "zhankai", "font_class": "dongtai1",
"unicode": "e652", "unicode": "e677",
"unicode_decimal": 58962 "unicode_decimal": 58999
}, },
{ {
"icon_id": "12645078", "icon_id": "13172468",
"name": "shouqi", "name": "chengshi-2",
"font_class": "shouqi", "font_class": "chengshi-",
"unicode": "e653", "unicode": "e676",
"unicode_decimal": 58963 "unicode_decimal": 58998
}, },
{ {
"icon_id": "12827163", "icon_id": "13172321",
"name": "2xuanzhong", "name": "jianzhu",
"font_class": "xuanzhong1", "font_class": "jianzhu1",
"unicode": "e654", "unicode": "e675",
"unicode_decimal": 58964 "unicode_decimal": 58997
}, },
{ {
"icon_id": "12827169", "icon_id": "13172287",
"name": "weigouxuan", "name": "louceng-3",
"font_class": "weigouxuan1", "font_class": "louceng-",
"unicode": "e655", "unicode": "e674",
"unicode_decimal": 58965 "unicode_decimal": 58996
},
{
"icon_id": "13172270",
"name": "shebei",
"font_class": "shebei",
"unicode": "e673",
"unicode_decimal": 58995
},
{
"icon_id": "13172247",
"name": "bucanjia2",
"font_class": "bucanjia3",
"unicode": "e672",
"unicode_decimal": 58994
},
{
"icon_id": "13172223",
"name": "bucanjia",
"font_class": "bucanjia2",
"unicode": "e671",
"unicode_decimal": 58993
},
{
"icon_id": "13172130",
"name": "canjia",
"font_class": "canjia3",
"unicode": "e670",
"unicode_decimal": 58992
},
{
"icon_id": "13172079",
"name": "canjia2",
"font_class": "canjia2",
"unicode": "e66f",
"unicode_decimal": 58991
},
{
"icon_id": "13172059",
"name": "shanchu",
"font_class": "shanchu2",
"unicode": "e66e",
"unicode_decimal": 58990
} }
] ]
} }
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -93,4 +93,12 @@ page { ...@@ -93,4 +93,12 @@ page {
} }
.cancel { .cancel {
background: #E60012 ; background: #E60012 ;
}
.participatorStaus {
width: 20rpx;
height: 20rpx;
border-radius: 50%;
position: absolute;
bottom: 2rpx;
right: -5rpx;
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="headImg"> <view class="headImg">
<image mode="scaleToFill" src="{{item.participator.headUrl}}" a:if="{{item.participator.headUrl.length}}"/> <image mode="scaleToFill" src="{{item.participator.headUrl}}" a:if="{{item.participator.headUrl.length}}"/>
<text a:else>{{item.participator.username.substring(0,1)}}</text> <text a:else>{{item.participator.username.substring(0,1)}}</text>
<text a:if="{{!!item.participator.confirmAttendance}}" class="tip {{item.participator.confirmAttendance==1?'accept':'cancel'}} " ></text> <text a:if="{{item.confirmAttendance!=null}}" class="participatorStaus {{item.confirmAttendance==0 || item.participator.userId == organizer?'accept':'cancel'}} " ></text>
</view> </view>
<view class="info"> <view class="info">
<text class="name">{{item.participator.username}}</text> <text class="name">{{item.participator.username}}</text>
......
...@@ -5,11 +5,14 @@ create.Page({ ...@@ -5,11 +5,14 @@ create.Page({
useAll: true, useAll: true,
data: { data: {
allUserList: [], allUserList: [],
organizer: ''
}, },
onLoad(event) { onLoad(event) {
let allUserList = JSON.parse(event.userList) let allUserList = JSON.parse(event.userList)
let organizer = event.organizer
this.setData({ this.setData({
allUserList: allUserList allUserList: allUserList,
organizer: organizer
}) })
dd.setNavigationBar({ dd.setNavigationBar({
title: `参会人(${this.data.allUserList.length}人)` title: `参会人(${this.data.allUserList.length}人)`
......
...@@ -6,7 +6,9 @@ page { ...@@ -6,7 +6,9 @@ page {
color: #191F25; color: #191F25;
padding-bottom: 180rpx; padding-bottom: 180rpx;
} }
.iconfont {
font-size: 32rpx;
}
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none display: none
} }
...@@ -120,7 +122,7 @@ page { ...@@ -120,7 +122,7 @@ page {
} }
.icon { .icon {
font-size: 40rpx; /* font-size: 38rpx; */
width: 30rpx; width: 30rpx;
margin-right: 27rpx; margin-right: 27rpx;
text-align: center; text-align: center;
...@@ -137,7 +139,7 @@ page { ...@@ -137,7 +139,7 @@ page {
} }
.save { .save {
padding: 32rpx 34rpx; padding: 24rpx 34rpx;
background: #fff; background: #fff;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
...@@ -150,7 +152,7 @@ page { ...@@ -150,7 +152,7 @@ page {
text-align: center; text-align: center;
line-height: 96rpx; line-height: 96rpx;
width: 686rpx; width: 686rpx;
height: 96rpx; height: 90rpx;
color: #fff; color: #fff;
background: #3296FA; background: #3296FA;
border: 1px solid rgba(25, 31, 37, 0.12); border: 1px solid rgba(25, 31, 37, 0.12);
...@@ -195,7 +197,7 @@ page { ...@@ -195,7 +197,7 @@ page {
height: 58rpx; height: 58rpx;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
font-size: 72rpx; font-size: 61rpx;
border-radius: 50%; border-radius: 50%;
} }
...@@ -265,7 +267,7 @@ page { ...@@ -265,7 +267,7 @@ page {
justify-content: space-between; justify-content: space-between;
} }
.iconshanchu { .iconshanchu-1 {
color: rgba(25, 31, 37, 0.28); color: rgba(25, 31, 37, 0.28);
} }
...@@ -291,7 +293,6 @@ page { ...@@ -291,7 +293,6 @@ page {
.listIcon { .listIcon {
line-height: 30rpx; line-height: 30rpx;
text-align: center; text-align: center;
font-size: 38rpx;
margin-bottom: 9rpx; margin-bottom: 9rpx;
vertical-align: top; vertical-align: top;
} }
...@@ -310,8 +311,7 @@ page { ...@@ -310,8 +311,7 @@ page {
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12); border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
} }
.repeat .iconchongfu { .repeat .iconchongfu2 {
font-size: 40rpx;
vertical-align: top; vertical-align: top;
margin-right: 27rpx; margin-right: 27rpx;
text-align: center; text-align: center;
...@@ -347,8 +347,7 @@ page { ...@@ -347,8 +347,7 @@ page {
display: flex; display: flex;
} }
.describe .icondidianmiaoshu { .describe .iconmiaoshu {
font-size: 40rpx;
margin-right: 27rpx; margin-right: 27rpx;
} }
...@@ -356,7 +355,7 @@ page { ...@@ -356,7 +355,7 @@ page {
width: 574rpx; width: 574rpx;
} }
.describe .iconshanchu { .describe .iconshanchu-1 {
position: absolute; position: absolute;
right: 32rpx; right: 32rpx;
} }
...@@ -384,3 +383,9 @@ page { ...@@ -384,3 +383,9 @@ page {
.noPermissions { .noPermissions {
opacity: 0.6; opacity: 0.6;
} }
.iconshanchu3 {
color: #f25643;
}
.iconshanchu3+.listText {
color: #f25643;
}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</view> </view>
</view> </view>
<!-- 时间 --> <!-- 时间 -->
<view class="container {{!!scheduleItem?(organizer==permissions?'':'noPermissions'):''}}" > <view class="container {{!!scheduleItem?(organizer==permissions?'':'noPermissions'):''}}">
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
<view class="time"> <view class="time">
...@@ -48,12 +48,12 @@ ...@@ -48,12 +48,12 @@
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
<view class="place" a:if="{{!!scheduleItem?!!locationName:true}}"> <view class="place" a:if="{{!!scheduleItem?!!locationName:true}}">
<view class="icon iconfont icondingwei"> <view class="icon iconfont icondingwei1">
</view> </view>
<view class="text" data-nextPage="place" onTap="nextPage"> <view class="text" data-nextPage="place" onTap="nextPage">
<view class="selectPlace" a:if="{{!!locationName}}"> <view class="selectPlace" a:if="{{!!locationName}}">
<text>{{locationName}}</text> <text>{{locationName}}</text>
<text class="iconshanchu iconfont" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}" data-icon="icondingwei" catchTap="closeEditList"></text> <text class="iconshanchu-1 iconfont" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}" data-icon="icondingwei" catchTap="closeEditList"></text>
</view> </view>
<text a:else> <text a:else>
添加地点 添加地点
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</view> </view>
<!-- 参会人 --> <!-- 参会人 -->
<view class="participants"> <view class="participants">
<view class="icon iconfont iconcanhuiren1"> <view class="icon iconfont iconcanhuiren">
</view> </view>
<view class="text"> <view class="text">
<view a:if="{{participatorList.length}}"> <view a:if="{{participatorList.length}}">
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<text a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip"></text> <text a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip"></text>
</text> </text>
</view> </view>
<view class="addPeople iconfont icontianjia" onTap="addParticipants"> <view class="addPeople iconfont icontianjia1" onTap="addParticipants">
</view> </view>
<view class="rightPeople" catchTap="nextPage" data-nextPage="participantsDetail"> <view class="rightPeople" catchTap="nextPage" data-nextPage="participantsDetail">
<text>{{participatorList.length}}人</text> <text>{{participatorList.length}}人</text>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
<view class="remind" a:if="{{aheadTimes.length}}"> <view class="remind" a:if="{{aheadTimes.length}}">
<view class="icon iconfont iconfont iconhuiqiantixing"> <view class="icon iconfont iconfont icontixing">
</view> </view>
<view class="text" data-nextPage="remind" onTap="nextPage"> <view class="text" data-nextPage="remind" onTap="nextPage">
<text class="blank"> <text class="blank">
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<text a:if="{{aheadTimes.includes(10080)}}">1周前</text> <text a:if="{{aheadTimes.includes(10080)}}">1周前</text>
提醒 提醒
</text> </text>
<text class="close iconshanchu iconfont" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}" data-icon="iconhuiqiantixing" catchTap="closeEditList"></text> <text class="close iconshanchu-1 iconfont" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}" data-icon="iconhuiqiantixing" catchTap="closeEditList"></text>
</view> </view>
</view> </view>
</view> </view>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
<view class="repeat" a:if="{{!!scheduleItem&&!!repeatable}}"> <view class="repeat" a:if="{{!!scheduleItem&&!!repeatable}}">
<view class="iconfont iconchongfu"> <view class="iconfont iconchongfu2">
</view> </view>
<view class="repeatContaint"> <view class="repeatContaint">
<view class="repeatTime" data-nextPage="repeatMechanism" onTap="nextPage"> <view class="repeatTime" data-nextPage="repeatMechanism" onTap="nextPage">
...@@ -144,47 +144,47 @@ ...@@ -144,47 +144,47 @@
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
<view class="describe" a:if="{{!!remark}}"> <view class="describe" a:if="{{!!remark}}">
<view class="iconfont icondidianmiaoshu"> <view class="iconfont iconmiaoshu">
</view> </view>
<view class="describeText" data-nextPage="addRemark" onTap="nextPage"> <view class="describeText" data-nextPage="addRemark" onTap="nextPage">
{{remark}} {{remark}}
</view> </view>
<view class="iconfont iconshanchu" data-icon="icondidianmiaoshu" catchTap="closeEditList" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}"> <view class="iconfont iconshanchu-1" data-icon="icondidianmiaoshu" catchTap="closeEditList" a:if="{{!!scheduleItem?(organizer==permissions?true:false):true}}">
</view> </view>
</view> </view>
</view> </view>
<!-- 编辑列表 --> <!-- 编辑列表 -->
<view class="editList"> <view class="editList">
<view a:if="{{!!scheduleItem?organizer==permissions&&!locationName:false}}" class="listGroup" onTap="editSchedule" data-icon="icondingwei"> <view a:if="{{!!scheduleItem?organizer==permissions&&!locationName:false}}" class="listGroup" onTap="editSchedule" data-icon="icondingwei">
<view class="listIcon iconfont icondingwei"> <view class="listIcon iconfont icondingwei1">
</view> </view>
<view class="listText"> <view class="listText">
地点 地点
</view> </view>
</view> </view>
<view a:if="{{!!scheduleItem?!aheadTimes.length&&organizer==permissions:!aheadTimes.length}}" class="listGroup" onTap="editSchedule" data-icon="iconhuiqiantixing"> <view a:if="{{!!scheduleItem?!aheadTimes.length&&organizer==permissions:!aheadTimes.length}}" class="listGroup" onTap="editSchedule" data-icon="iconhuiqiantixing">
<view class="listIcon iconfont iconhuiqiantixing"> <view class="listIcon iconfont icontixing">
</view> </view>
<view class="listText"> <view class="listText">
提醒 提醒
</view> </view>
</view> </view>
<view a:if="{{!repeatable&&!!scheduleItem&&organizer==permissions}}" class="listGroup" onTap="editSchedule" data-icon="iconchongfu"> <view a:if="{{!repeatable&&!!scheduleItem&&organizer==permissions}}" class="listGroup" onTap="editSchedule" data-icon="iconchongfu">
<view class="listIcon iconfont iconchongfu"> <view class="listIcon iconfont iconchongfu2">
</view> </view>
<view class="listText"> <view class="listText">
重复 重复
</view> </view>
</view> </view>
<view a:if="{{!remark&&!!scheduleItem&&organizer==permissions}}" class="listGroup" onTap="editSchedule" data-icon="icondidianmiaoshu"> <view a:if="{{!remark&&!!scheduleItem&&organizer==permissions}}" class="listGroup" onTap="editSchedule" data-icon="icondidianmiaoshu">
<view class="listIcon iconfont icondidianmiaoshu"> <view class="listIcon iconfont iconmiaoshu">
</view> </view>
<view class="listText"> <view class="listText">
描述 描述
</view> </view>
</view> </view>
<view a:if="{{isRepeat==0&&!!scheduleItem}}" class="listGroup" onTap="editSchedule" data-icon="iconshanchu"> <view a:if="{{isRepeat==0&&!!scheduleItem}}" class="listGroup" onTap="editSchedule" data-icon="iconshanchu">
<view class="listIcon iconfont iconshanchu"> <view class="listIcon iconfont iconshanchu3">
</view> </view>
<view class="listText"> <view class="listText">
删除 删除
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
<view a:if="{{!!scheduleItem&&isRepeat==1}}"> <view a:if="{{!!scheduleItem&&isRepeat==1}}">
<picker range="{{['仅删除此次会议', '删除以后会议', '删除所有会议']}}" onChange="deleteRepeatSchedule"> <picker range="{{['仅删除此次会议', '删除以后会议', '删除所有会议']}}" onChange="deleteRepeatSchedule">
<view class="listGroup" data-icon="iconshanchu"> <view class="listGroup" data-icon="iconshanchu">
<view class="listIcon iconfont iconshanchu"> <view class="listIcon iconfont iconshanchu3">
</view> </view>
<view class="listText"> <view class="listText">
删除 删除
......
...@@ -95,7 +95,7 @@ page { ...@@ -95,7 +95,7 @@ page {
.createSchedule { .createSchedule {
vertical-align: top; vertical-align: top;
font-size: 80rpx; font-size: 40rpx;
width: 98rpx; width: 98rpx;
height: 98rpx; height: 98rpx;
border-radius: 50%; border-radius: 50%;
......
<!-- <mw-select></mw-select> --> <!-- <mw-select></mw-select> -->
版本号:108 版本号:109
<scroll-view a:if="{{todayStr !== ''}}" scroll-y="{{true}}" upper-threshold="50" lower-threshold="50" onScrollToLower="lower" onScroll="onScroll" style="height: 100vh;" scroll-into-view="{{todayStr}}"> <scroll-view a:if="{{todayStr !== ''}}" scroll-y="{{true}}" upper-threshold="50" lower-threshold="50" onScrollToLower="lower" onScroll="onScroll" style="height: 100vh;" scroll-into-view="{{todayStr}}">
<block a:for="{{scheduleList}}" a:for-item="scheduleYearList"> <block a:for="{{scheduleList}}" a:for-item="scheduleYearList">
<block a:for="{{scheduleYearList}}"> <block a:for="{{scheduleYearList}}">
...@@ -46,6 +46,6 @@ ...@@ -46,6 +46,6 @@
</block> </block>
</block> </block>
</scroll-view> </scroll-view>
<view class="createSchedule " onTap="nextPage"> <view class="createSchedule iconfont iconjiahao " onTap="nextPage">
+
</view> </view>
...@@ -64,11 +64,11 @@ create.Page({ ...@@ -64,11 +64,11 @@ create.Page({
requiredUsers: require, //必选用户(不可取消选中状态) requiredUsers: require, //必选用户(不可取消选中状态)
responseUserOnly: true, //返回人,或者返回人和部门 responseUserOnly: true, //返回人,或者返回人和部门
success: function (res) { success: function (res) {
_that.store.data.participatorList.push({ userId: getApp().globalData.userid, username: getApp().globalData.name, headUrl: getApp().globalData.avatar })
_that.store.data.participatorUserId.push(getApp().globalData.userid)
if (!_that.data.scheduleItem || _that.data.organizer === getApp().globalData.userid) { if (!_that.data.scheduleItem || _that.data.organizer === getApp().globalData.userid) {
_that.store.data.participatorList = [] _that.store.data.participatorList = []
_that.store.data.participatorUserId = [] _that.store.data.participatorUserId = []
_that.store.data.participatorList.push({ userId: getApp().globalData.userid, username: getApp().globalData.name, headUrl: getApp().globalData.avatar })
_that.store.data.participatorUserId.push(getApp().globalData.userid)
res.users.forEach((item, index) => { res.users.forEach((item, index) => {
_that.store.data.participatorList.push({ userId: item.userId, username: item.name, headUrl: item.avatar }) _that.store.data.participatorList.push({ userId: item.userId, username: item.name, headUrl: item.avatar })
_that.store.data.participatorUserId.push(item.userId) _that.store.data.participatorUserId.push(item.userId)
......
...@@ -5,7 +5,9 @@ page { ...@@ -5,7 +5,9 @@ page {
font-size: 32rpx; font-size: 32rpx;
color: #191F25; color: #191F25;
} }
.iconfont {
font-size: 32rpx;
}
.repeatList { .repeatList {
line-height: 112rpx; line-height: 112rpx;
height: 112rpx; height: 112rpx;
...@@ -23,7 +25,6 @@ page { ...@@ -23,7 +25,6 @@ page {
.icon { .icon {
float: right; float: right;
font-size: 40rpx;
color: white; color: white;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="repeatList" a:for="{{repeatList}}" data-item="{{item}}" onTap="selectRepeat"> <view class="repeatList" a:for="{{repeatList}}" data-item="{{item}}" onTap="selectRepeat">
<view class="repeatRight "> <view class="repeatRight ">
<text>{{item.text}}</text> <text>{{item.text}}</text>
<text class="iconfont iconxuanzhong icon {{recurrenceModel.model=='day_in_week'?(recurrenceModel.weekDayList.length==item.weekDayList.length?'select':''):recurrenceModel.model==item.model?'select': ''}} <text class="iconfont iconxuanzhong1 icon {{recurrenceModel.model=='day_in_week'?(recurrenceModel.weekDayList.length==item.weekDayList.length?'select':''):recurrenceModel.model==item.model?'select': ''}}
"></text> "></text>
</view> </view>
</view> </view>
......
...@@ -4,8 +4,8 @@ create.Page({ ...@@ -4,8 +4,8 @@ create.Page({
store: exampleStore, store: exampleStore,
useAll: true, useAll: true,
data: { data: {
week1: ['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'], weekEn: ['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'],
week2: ['每周一重复', '每周二重复', '每周三重复', '每周四重复', '每周五重复', '每周六重复', '每周日重复'], weekCh: ['每周一重复', '每周二重复', '每周三重复', '每周四重复', '每周五重复', '每周六重复', '每周日重复'],
repeatList: [ repeatList: [
{ model: 'no_repeat', text: '不重复', weekDayList: [] }, { model: 'no_repeat', text: '不重复', weekDayList: [] },
{ model: 'every_day', text: '每天重复', weekDayList: [] }, { model: 'every_day', text: '每天重复', weekDayList: [] },
...@@ -17,10 +17,12 @@ create.Page({ ...@@ -17,10 +17,12 @@ create.Page({
dd.setNavigationBar({ dd.setNavigationBar({
title: '选择重复' title: '选择重复'
}) })
let week1 = this.data.weekEn
let repeatList = this.data.repeatList
let week = new Date().getDay() let week = new Date().getDay()
this.data.repeatList[2].weekDayList = [this.data.week1[week -1]] repeatList[2].weekDayList = [ week1[week - 1] ]
this.setData({ this.setData({
repeatList: this.data.repeatList repeatList: repeatList
}) })
}, },
// 选择重复机制 // 选择重复机制
...@@ -45,6 +47,5 @@ create.Page({ ...@@ -45,6 +47,5 @@ create.Page({
dd.navigateBack({ dd.navigateBack({
delta: 1 delta: 1
}) })
} }
}); });
...@@ -6,7 +6,9 @@ page { ...@@ -6,7 +6,9 @@ page {
color: #191F25; color: #191F25;
padding-bottom: 180rpx; padding-bottom: 180rpx;
} }
.iconfont {
font-size: 32rpx;
}
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none display: none
} }
...@@ -26,7 +28,6 @@ page { ...@@ -26,7 +28,6 @@ page {
.icon { .icon {
line-height: 112rpx; line-height: 112rpx;
text-align: left; text-align: left;
font-size: 40rpx;
color: #191F25; color: #191F25;
vertical-align: center; vertical-align: center;
margin-right: 25rpx; margin-right: 25rpx;
...@@ -99,7 +100,6 @@ page { ...@@ -99,7 +100,6 @@ page {
.iconyoujinru, .icontianjia { .iconyoujinru, .icontianjia {
line-height: 112rpx; line-height: 112rpx;
font-size: 40rpx;
color: rgba(25, 31, 37, 0.40); color: rgba(25, 31, 37, 0.40);
} }
...@@ -245,8 +245,7 @@ page { ...@@ -245,8 +245,7 @@ page {
} }
.bottom .iconfont { .bottom .iconfont {
font-size: 40rpx; margin-right: 12rpx;
margin-right: 8rpx;
} }
.buttonGroup text { .buttonGroup text {
...@@ -388,4 +387,8 @@ page { ...@@ -388,4 +387,8 @@ page {
height: 100%; height: 100%;
width: 100%; width: 100%;
background: rgba(25, 31, 37, 0.12) background: rgba(25, 31, 37, 0.12)
}
.line {
color: rgba(25, 31, 37, 0.12)!important;
margin-right: 32rpx;
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="scheduleInfo"> <view class="scheduleInfo">
<!-- 标题 --> <!-- 标题 -->
<view class="title"> <view class="title">
<view class="icon icondidianmiaoshu iconfont"> <view class="icon iconhuiyizhuti2 iconfont">
</view> </view>
<view class="text"> <view class="text">
{{title}} {{title}}
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</view> </view>
<!-- 时间 --> <!-- 时间 -->
<view class="time"> <view class="time">
<view class="icon iconshijian iconfont"> <view class="icon iconshijian1 iconfont">
</view> </view>
<view class="text" a:if="{{isAcrossDay}}"> <view class="text" a:if="{{isAcrossDay}}">
<view> <view>
...@@ -45,19 +45,19 @@ ...@@ -45,19 +45,19 @@
</view> </view>
<!-- 参会人 --> <!-- 参会人 -->
<view class="participants" onTap="nextPage" data-nextPage="participants"> <view class="participants" onTap="nextPage" data-nextPage="participants">
<view class="icon iconcanhuiren1 iconfont"></view> <view class="icon iconcanhuiren iconfont"></view>
<view class="scroll" v-if="{{!!userList.length}}"> <view class="scroll" v-if="{{!!userList.length}}">
<text class="imageGroup" a:for="{{userList}}" a:for-item="item"> <text class="imageGroup" a:for="{{userList}}" a:for-item="item">
<text> <text>
<image a:if="{{!!item.participator.headUrl}}" mode="scaleToFill" src="{{item.participator.headUrl}}"/> <image a:if="{{!!item.participator.headUrl}}" mode="scaleToFill" src="{{item.participator.headUrl}}"/>
<text a:else class="name">{{item.participator.username.substring(item.participator.username.length - 2, item.participator.username.length)}}</text> <text a:else class="name">{{item.participator.username.substring(item.participator.username.length - 2, item.participator.username.length)}}</text>
<text a:if="{{!!item.participator.confirmAttendance}}" class="participatorStaus {{item.participator.confirmAttendance==1?'accept':'cancel'}} "></text></text></text></view> <text a:if="{{item.confirmAttendance!=null}}"class="participatorStaus {{item.confirmAttendance==0 || item.participator.userId == organizer?'accept':'cancel'}} "></text></text></text></view>
<view class="right"> <view class="right">
<text class="number">{{userList.length}}人参与</text> <text class="number">{{userList.length}}人参与</text>
<text class="iconyoujinru iconfont"></text></view></view> <text class="iconyoujinru iconfont"></text></view></view>
<!-- 重复 --> <!-- 重复 -->
<view class="remind" a:if="{{aheadTimes.length}}"> <view class="remind" a:if="{{aheadTimes.length}}">
<view class="icon iconshijian iconfont"></view> <view class="icon icontixing iconfont"></view>
<view class="text blank"> <view class="text blank">
<text a:if="{{aheadTimes.includes(0)}}">立即提醒</text> <text a:if="{{aheadTimes.includes(0)}}">立即提醒</text>
<text a:if="{{aheadTimes.includes(5)}}">5分钟前</text> <text a:if="{{aheadTimes.includes(5)}}">5分钟前</text>
...@@ -77,13 +77,13 @@ ...@@ -77,13 +77,13 @@
</view></view> </view></view>
<!-- 会议动态 --> <!-- 会议动态 -->
<view class="dynamic"> <view class="dynamic">
<view class="icon iconhuiyimiaoshu iconfont"></view> <view class="icon icondongtai1 iconfont"></view>
<view class="text"> <view class="text">
会议动态 会议动态
</view> </view>
<view class="upload" onTap="upload"> <view class="upload" onTap="upload">
<text>文件上传</text> <text class="line">|</text>
<text class="icontianjia iconfont"></text></view></view> <text class="iconshangchuanwenjian1 iconfont"></text></view></view>
<!-- 动态详情展示 --> <!-- 动态详情展示 -->
<view class="dynamicContent"> <view class="dynamicContent">
<view class="dynamicDetail" a:for="{{allFileInfo}}" onTouchStart="touchStart" onTouchEnd="touchEnd" onLongTap="longPress" data-id="{{item.meetingLogId}}"> <view class="dynamicDetail" a:for="{{allFileInfo}}" onTouchStart="touchStart" onTouchEnd="touchEnd" onLongTap="longPress" data-id="{{item.meetingLogId}}">
...@@ -125,18 +125,34 @@ ...@@ -125,18 +125,34 @@
</view> </view>
<!-- 底部按钮 --> <!-- 底部按钮 -->
<view class="bottom"> <view class="bottom">
<view class="buttonGroup" data-nextPage="edit" onTap="nextPage"> <view class="buttonGroup" data-value=0 onTap="confirmAtten" a:if="{{!(organizer == pemissions)&&isRepeatable == 0}}">
<text class="icondidianmiaoshu iconfont"></text> <text class="iconcanjia3 iconfont"></text>
<text>编辑</text>
</view>
<view class="buttonGroup" data-nextPage="edit" onTap="nextPage" a:if="{{!(organizer == pemissions)}}">
<text class="icondidianmiaoshu iconfont"></text>
<text>参加</text> <text>参加</text>
</view> </view>
<view class="buttonGroup" data-nextPage="edit" onTap="nextPage" a:if="{{!(organizer == pemissions)}}"> <picker range="{{['仅参加本次', '参加所有']}}" a:if="{{!(organizer == pemissions)&&isRepeatable == 1}}" data-value=0 onTap="confirmRepeatAtten">
<text class="icondidianmiaoshu iconfont"></text> <view>
<view class="buttonGroup">
<text class="iconcanjia3 iconfont"></text>
<text>参加</text>
</view>
</view>
</picker>
<view class="buttonGroup" data-value=1 onTap="confirmAtten" a:if="{{!(organizer == pemissions)&&isRepeatable == 0}}">
<text class="iconbucanjia3 iconfont"></text>
<text>不参加</text> <text>不参加</text>
</view> </view>
<picker range="{{['仅不参加本次', '不参加所有']}}" data-value=1 onTap="confirmRepeatAtten" a:if="{{!(organizer == pemissions)&&isRepeatable == 1}}">
<view>
<view class="buttonGroup">
<text class="iconbutanjia3 iconfont"></text>
<text>不参加</text>
</view>
</view>
</picker>
<view class="buttonGroup" data-nextPage="edit" onTap="nextPage">
<text class="iconbianji iconfont"></text>
<text>编辑</text>
</view>
</view> </view>
</view> </view>
</block> </block>
\ No newline at end of file
import create from 'dd-store' import create from 'dd-store'
import exampleStore from '/stores/exampleStore' import exampleStore from '/stores/exampleStore'
import { getDynamicTip, addSchedule, delFile, getDynamic, deleteSchedule, getScheduleDetail, uploadPermissions, previewPermissions } from '../../api/request.js' import { isParticipate, getDynamicTip, addSchedule, delFile, getDynamic, deleteSchedule, getScheduleDetail, uploadPermissions, previewPermissions } from '../../api/request.js'
create.Page({ create.Page({
store: exampleStore, store: exampleStore,
useAll: true, useAll: true,
...@@ -111,9 +111,6 @@ create.Page({ ...@@ -111,9 +111,6 @@ create.Page({
space: { spaceId: _that.data.uploadSpaceId, compress: true, isCopy: 1, max: 9 }, space: { spaceId: _that.data.uploadSpaceId, compress: true, isCopy: 1, max: 9 },
types: ["photo", "camera", "space"], types: ["photo", "camera", "space"],
success: (res) => { success: (res) => {
console.log(111111)
console.log(JSON.stringify(res))
console.log(2222)
dd.navigateTo({ url: `./../uploadFile/uploadFile?scheduleItem=${JSON.stringify(_that.data.scheduleItem)}&upLoadInfo=${JSON.stringify(res)}` }) dd.navigateTo({ url: `./../uploadFile/uploadFile?scheduleItem=${JSON.stringify(_that.data.scheduleItem)}&upLoadInfo=${JSON.stringify(res)}` })
}, },
fail: (err) => { fail: (err) => {
...@@ -217,7 +214,7 @@ create.Page({ ...@@ -217,7 +214,7 @@ create.Page({
nextPage(event) { nextPage(event) {
switch (event.target.dataset.nextPage) { switch (event.target.dataset.nextPage) {
case 'participants': case 'participants':
dd.navigateTo({ url: `./../attendingSituation/attendingSituation?userList=${JSON.stringify(this.store.data.userList)}` }) dd.navigateTo({ url: `./../attendingSituation/attendingSituation?userList=${JSON.stringify(this.store.data.userList)}&organizer=${this.data.organizer}` })
break; break;
case 'edit': case 'edit':
dd.navigateTo({ url: `./../createOrEditSchedule/createOrEditSchedule?scheduleItem=${JSON.stringify(this.data.scheduleItem)}` }) dd.navigateTo({ url: `./../createOrEditSchedule/createOrEditSchedule?scheduleItem=${JSON.stringify(this.data.scheduleItem)}` })
...@@ -246,5 +243,51 @@ create.Page({ ...@@ -246,5 +243,51 @@ create.Page({
} }
return timeResule return timeResule
},
// 确认参加不参加 单次的会议
confirmAtten(event) {
let value = event.target.dataset.value
let data = {
value: value,
scheduleId: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate,
templateId: this.data.scheduleItem.scheduleTemplateId,
type: 'only'
}
let data1 = {
id: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate,
templateId: this.data.scheduleItem.scheduleTemplateId
}
isParticipate(data).then(res => {
getScheduleDetail(data1).then(success => {
this.store.data.userList = res.data.data.userList
this.update()
})
})
},
// 重复会议的参加
confirmRepeatAtten(event) {
let type = ''
let data = {
value: 0,
scheduleId: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate,
templateId: this.data.scheduleItem.scheduleTemplateId,
type: 'only'
}
},
// 重复会议取消参加
cancelRepeatAtten(event) {
let data = {
value: 1,
scheduleId: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate,
templateId: this.data.scheduleItem.scheduleTemplateId,
type: 'only'
}
} }
}); });
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