Commit d61946c8 by xiexiaoqin
parents 1b4f1990 8ef45c3d
@import "./assests/font/iconfont.acss"; @import "./fonts/iconfont.acss";
page { page {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
background: #F6F6F6; background: #F6F6F6;
} }
picker-view { picker-view {
background: #F6F6F6; background: #F6F6F6;
} }
view { view {
box-sizing: border-box; box-sizing: border-box;
} }
\ No newline at end of file
@import "../../assests/font/iconfont.acss";
/* 区域选择样式 */ /* 区域选择样式 */
.lableTreeBox{
.lableTreeBox {
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(0,0,0,.15); background: rgba(0, 0, 0, .15);
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
z-index: 999; z-index: 999;
} }
.lableTreeContent{
.lableTreeContent {
width: 100%; width: 100%;
height: 527rpx; height: 527rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 -2rpx 20rpx 0 rgba(25,31,37,0.12); box-shadow: 0 -2rpx 20rpx 0 rgba(25, 31, 37, 0.12);
border-radius: 19rpx 19rpx 0px 0px; border-radius: 19rpx 19rpx 0px 0px;
} }
.lableTreeHeader{
.lableTreeHeader {
width: 100%; width: 100%;
height: 104rpx; height: 104rpx;
padding: 0 32rpx; padding: 0 32rpx;
...@@ -26,36 +28,44 @@ ...@@ -26,36 +28,44 @@
font-size: 34rpx; font-size: 34rpx;
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1px solid rgba(25,31,37,0.12); border-bottom: 1px solid rgba(25, 31, 37, 0.12);
} }
.lableTreeHeader>view{
.lableTreeHeader>view {
flex: 1; flex: 1;
height: 104rpx; height: 104rpx;
} }
.lableTreeHeader>view:nth-of-type(1) { .lableTreeHeader>view:nth-of-type(1) {
color: #191F25; color: #191F25;
} }
.lableTreeHeader>view:nth-of-type(2) { .lableTreeHeader>view:nth-of-type(2) {
color: #3296FA; color: #3296FA;
text-align: right text-align: right
} }
.lableTreeModal{
.lableTreeModal {
width: 100%; width: 100%;
padding-right: 32rpx; padding-right: 32rpx;
box-sizing: border-box; box-sizing: border-box;
} }
/* tree样式 */ /* tree样式 */
.treeUl { .treeUl {
position: relative; position: relative;
padding-left: 32rpx; padding-left: 32rpx;
display: block; display: block;
box-sizing: border-box; box-sizing: border-box;
} }
.treeLi { .treeLi {
display: block; display: block;
font-size: 28rpx; font-size: 28rpx;
line-height: 70rpx; line-height: 70rpx;
} }
.treeName { .treeName {
height: 70rpx; height: 70rpx;
font-size: 28rpx; font-size: 28rpx;
...@@ -63,63 +73,78 @@ ...@@ -63,63 +73,78 @@
width: 100%; width: 100%;
display: flex; display: flex;
} }
.labelIsShow { .labelIsShow {
width: 24rpx; width: 24rpx;
margin-right: 24rpx; margin-right: 24rpx;
} }
.treeLabel { .treeLabel {
flex: 1; flex: 1;
display: flex; display: flex;
padding-right: 32rpx; padding-right: 32rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.treeLabel > view:nth-of-type(1) {
.treeLabel>view:nth-of-type(1) {
flex: 1; flex: 1;
} }
.lableTreeChecked { .lableTreeChecked {
background: rgba(25,31,37,0.05); background: rgba(25, 31, 37, 0.05);
border-radius: 4rpx; border-radius: 4rpx;
} }
/* icon */ /* icon */
.labelIsShow .iconsanjiao{
.labelIsShow .iconsanjiao {
font-size: 20rpx; font-size: 20rpx;
color: #D8D8D8; color: #D8D8D8;
} }
.labelIsShow .iconsanjiao1{
.labelIsShow .iconsanjiao1 {
font-size: 20rpx; font-size: 20rpx;
color: #D8D8D8; color: #D8D8D8;
} }
.labelIsShow .iconxuanzhong1{
.labelIsShow .iconxuanzhong1 {
font-size: 32rpx; font-size: 32rpx;
color: #3296FA; color: #3296FA;
} }
.treeLabel .iconchengshi-{
.treeLabel .iconchengshi- {
font-size: 24rpx; font-size: 24rpx;
margin-right: 16rpx; margin-right: 16rpx;
color: #191F25; color: #191F25;
} }
.treeLabel .iconjiangzhu1{
.treeLabel .iconjiangzhu1 {
font-size: 24rpx; font-size: 24rpx;
margin-right: 16rpx; margin-right: 16rpx;
color: #191F25; color: #191F25;
} }
.treeLabel .iconlouceng-{
.treeLabel .iconlouceng- {
font-size: 24rpx; font-size: 24rpx;
margin-right: 16rpx; margin-right: 16rpx;
color: #191F25; color: #191F25;
margin-left: 8rpx; margin-left: 8rpx;
} }
.treeLabel .iconjianzhu1 { .treeLabel .iconjianzhu1 {
font-size: 24rpx; font-size: 24rpx;
margin-right: 16rpx; margin-right: 16rpx;
color: #191F25; color: #191F25;
} }
.labelIsShow{
.labelIsShow {
padding-left: 4rpx; padding-left: 4rpx;
} }
.cancelSelectAre{
.cancelSelectAre {
font-size: 32rpx; font-size: 32rpx;
} }
.sureSelectAre{
.sureSelectAre {
font-size: 32rpx; font-size: 32rpx;
} }
\ No newline at end of file
...@@ -37,4 +37,5 @@ ...@@ -37,4 +37,5 @@
top: 16rpx; top: 16rpx;
line-height: 48rpx; line-height: 48rpx;
overflow: hidden; overflow: hidden;
font-size: 24rpx;
} }
\ No newline at end of file
@import "../../assests/font/iconfont.acss";
.toast { .toast {
width: 188rpx; width: 188rpx;
height: 60rpx; height: 60rpx;
...@@ -10,6 +9,7 @@ ...@@ -10,6 +9,7 @@
position: fixed; position: fixed;
top: 400rpx; top: 400rpx;
left: 50%; left: 50%;
z-index: 102;
margin-left: -94rpx; margin-left: -94rpx;
vertical-align: top; vertical-align: top;
} }
......
@import "../../assests/font/iconfont.acss";
page { page {
background: #fff; background: #fff;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -213,7 +212,6 @@ input { ...@@ -213,7 +212,6 @@ input {
right: 0; right: 0;
padding: 32rpx; padding: 32rpx;
background: #fff; background: #fff;
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.04);
position: fixed; position: fixed;
bottom: 0; bottom: 0;
} }
...@@ -250,4 +248,12 @@ input { ...@@ -250,4 +248,12 @@ input {
vertical-align: top; vertical-align: top;
width: 100%; width: 100%;
height: 100%; height: 100%;
}
.iconicon_description1 {
color: rgba(10, 10, 10, 0.4)
}
.iconicon_repeat1 {
color: rgba(10, 10, 10, 0.4)
} }
\ No newline at end of file
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
{{comListData.repeatList[comListData.comSelectListId].text}}重复 {{comListData.repeatList[comListData.comSelectListId].text}}重复
</view> </view>
</view> </view>
<view class="icon iconfont iconicon_open " catchTap="showPopup" data-type='repeat' a:if="{{comListData.comSelectListId == 0}}"> <view class="icon iconfont iconicon_repeat1 " catchTap="showPopup" data-type='repeat' a:if="{{comListData.comSelectListId == 0}}">
</view> </view>
</view> </view>
</view> </view>
......
...@@ -14,7 +14,7 @@ create.Page({ ...@@ -14,7 +14,7 @@ create.Page({
{ id: 4, text: '每月', icon: '', repeatable: 1, recurrenceModel: { model: 'absoluteMonthly', daysOfMonth: ['23'], interval: 1, initialTime: `2020-03-23`, terminateTime: `2022-03-23`, weekDayList: null } } { id: 4, text: '每月', icon: '', repeatable: 1, recurrenceModel: { model: 'absoluteMonthly', daysOfMonth: ['23'], interval: 1, initialTime: `2020-03-23`, terminateTime: `2022-03-23`, weekDayList: null } }
], ],
meetingWayList: [ meetingWayList: [
{ id: 0, text: 'Webex meeting', imageUrl: '../../assests/Webex.png', meetingWayModel: { model: 'webex' } }, // { id: 0, text: 'Webex meeting', imageUrl: '../../assests/Webex.png', meetingWayModel: { model: 'webex' } },
{ id: 1, text: 'Zoom Meeting', imageUrl: '../../assests/Zoom.png', meetingWayModel: { model: 'zoom' } }, { id: 1, text: 'Zoom Meeting', imageUrl: '../../assests/Zoom.png', meetingWayModel: { model: 'zoom' } },
{ id: 2, text: '钉钉', imageUrl: '../../assests/dingding.png', meetingWayModel: { model: 'dingtalk' } } { id: 2, text: '钉钉', imageUrl: '../../assests/dingding.png', meetingWayModel: { model: 'dingtalk' } }
], ],
...@@ -193,7 +193,7 @@ create.Page({ ...@@ -193,7 +193,7 @@ create.Page({
} }
this.setData({ this.setData({
'comListData.repeatList': repeatList, 'comListData.repeatList': repeatList,
week: this.data.weekList[new Date().getDay()] week: this.data.weekList[new Date(this.$store.data.startTime.replace(/\//g, "-")).getDay()]
}) })
}, },
......
...@@ -28,7 +28,7 @@ create.Page({ ...@@ -28,7 +28,7 @@ create.Page({
let title = "动态"; let title = "动态";
switch (e.currentTarget.dataset.tabbar) { switch (e.currentTarget.dataset.tabbar) {
case '0': case '0':
title = '动态180'; title = '动态181';
break; break;
case "1": case "1":
title = "日程"; title = "日程";
......
...@@ -49,12 +49,14 @@ page { ...@@ -49,12 +49,14 @@ page {
.compose-column .title { .compose-column .title {
color: rgba(27, 38, 61, 1); color: rgba(27, 38, 61, 1);
font-size: 32rpx; font-size: 32rpx;
font-family: PingFangSC-Medium;
} }
.compose-column .title>text { .compose-column .title>text {
color: rgba(25, 31, 37, 0.4); color: rgba(25, 31, 37, 0.4);
font-size: 28rpx; font-size: 28rpx;
margin-left: 32rpx; margin-left: 16rpx;
font-family: PingFangSC-Regular;
} }
.checkbox { .checkbox {
...@@ -576,4 +578,8 @@ input { ...@@ -576,4 +578,8 @@ input {
text-align: center; text-align: center;
background: url(../../assests/loading.gif) center / 100% 100%; background: url(../../assests/loading.gif) center / 100% 100%;
vertical-align: middle; vertical-align: middle;
}
.iconicon_repeat1 {
color: rgba(10, 10, 10, 0.4)
} }
\ No newline at end of file
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<view class="hasplace" onTap="nextPage" data-nextPage="location" a:else> <view class="hasplace" onTap="nextPage" data-nextPage="location" a:else>
{{$data.locationName}} {{$data.locationName}}
</view> </view>
<view class=" icon iconfont iconicon_close close" a:if="{{!!$data.locationName}}" data-close="location" catchTap="close"> <view class=" icon iconfont iconicon_close close" a:if="{{!!$data.locationName&&(currentPeople == organizer)}}" data-close="location" catchTap="close">
</view> </view>
</view> </view>
</view> </view>
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
{{comListData.repeatList[comListData.comSelectListId].text}}重复 {{comListData.repeatList[comListData.comSelectListId].text}}重复
</view> </view>
</view> </view>
<view class="icon iconfont iconicon_open" catchTap="showPopup" data-type='repeat' a:if="{{comListData.comSelectListId == 0}}"> <view class="icon iconfont iconicon_repeat1" catchTap="showPopup" data-type='repeat' a:if="{{comListData.comSelectListId == 0}}">
</view> </view>
</view> </view>
</view> </view>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
<view class="hasWay" a:else catchTap="showPopup" data-type='meetingWayModel'> <view class="hasWay" a:else catchTap="showPopup" data-type='meetingWayModel'>
{{comListData.meetingWayList[comListData.meetingWayModelId].text}} {{comListData.meetingWayList[comListData.meetingWayModelId].text}}
</view> </view>
<view class=" icon iconfont iconicon_close close" a:if="{{comListData.meetingWayModelId !== null}}" data-close="meetingWayModel" catchTap="close"> <view class=" icon iconfont iconicon_close close" a:if="{{comListData.meetingWayModelId !== null&&(currentPeople == organizer)}}" data-close="meetingWayModel" catchTap="close">
</view> </view>
</view> </view>
</view> </view>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</view> </view>
<!-- 底部导航栏 --> <!-- 底部导航栏 -->
<view class="footNav"> <view class="footNav">
<view class="footNavTop" a:if="{{!isExpand}}"> <view class="footNavTop" a:if="{{!isExpand&&$data.participatorList.length>1}}">
<!-- 待定状态 --> <!-- 待定状态 -->
<view class="originStaus" a:if="{{confirmAttendance === -9}}"> <view class="originStaus" a:if="{{confirmAttendance === -9}}">
<view catchTap="participate"> <view catchTap="participate">
......
...@@ -30,7 +30,7 @@ create.Page({ ...@@ -30,7 +30,7 @@ create.Page({
{ id: 4, text: '每月', icon: '', repeatable: 1, recurrenceModel: { model: 'absoluteMonthly', daysOfMonth: ['23'], interval: 1, initialTime: `2020-03-23`, terminateTime: `2022-03-23`, weekDayList: null } } { id: 4, text: '每月', icon: '', repeatable: 1, recurrenceModel: { model: 'absoluteMonthly', daysOfMonth: ['23'], interval: 1, initialTime: `2020-03-23`, terminateTime: `2022-03-23`, weekDayList: null } }
], ],
meetingWayList: [ meetingWayList: [
{ id: 0, text: 'Webex meeting', imageUrl: '../../assests/Webex.png', meetingWayModel: { model: 'webex' } }, // { id: 0, text: 'Webex meeting', imageUrl: '../../assests/Webex.png', meetingWayModel: { model: 'webex' } },
{ id: 1, text: 'Zoom Meeting', imageUrl: '../../assests/Zoom.png', meetingWayModel: { model: 'zoom' } }, { id: 1, text: 'Zoom Meeting', imageUrl: '../../assests/Zoom.png', meetingWayModel: { model: 'zoom' } },
{ id: 2, text: '钉钉', imageUrl: '../../assests/dingding.png', meetingWayModel: { model: 'dingtalk' } } { id: 2, text: '钉钉', imageUrl: '../../assests/dingding.png', meetingWayModel: { model: 'dingtalk' } }
], ],
...@@ -117,6 +117,10 @@ create.Page({ ...@@ -117,6 +117,10 @@ create.Page({
}, 100) }, 100)
if (this.store.data.isNeedReloadList) { if (this.store.data.isNeedReloadList) {
this.reload(this.data.scheduleItem.id); this.reload(this.data.scheduleItem.id);
this.setData({
'conToastData.showToast': true,
'conToastData.title': '保存成功',
})
} }
}, },
onLoad(event) { onLoad(event) {
...@@ -173,7 +177,7 @@ create.Page({ ...@@ -173,7 +177,7 @@ create.Page({
} }
} }
this.setData({ this.setData({
confirmAttendance: res.data.data.confirmAttendance, confirmAttendance: res.data.data.confirmAttendance === null ? -9 : res.data.data.confirmAttendance,
organizer: res.data.data.organizer, organizer: res.data.data.organizer,
'comListData.meetingWayModelId': res.data.data.meetingWayModel.model === null ? null : (res.data.data.meetingWayModel.model === 'dingtalk' ? 2 : (res.data.data.meetingWayModel.model === 'zoom' ? 1 : 0)), 'comListData.meetingWayModelId': res.data.data.meetingWayModel.model === null ? null : (res.data.data.meetingWayModel.model === 'dingtalk' ? 2 : (res.data.data.meetingWayModel.model === 'zoom' ? 1 : 0)),
// 'scheduleItem.id': res.data.data.id, // 'scheduleItem.id': res.data.data.id,
...@@ -390,7 +394,7 @@ create.Page({ ...@@ -390,7 +394,7 @@ create.Page({
} }
this.setData({ this.setData({
'comListData.repeatList': repeatList, 'comListData.repeatList': repeatList,
week: this.data.weekList[new Date().getDay()] week: this.data.weekList[new Date(this.$store.data.startTime.replace(/\//g, "-")).getDay()]
}) })
}, },
...@@ -784,6 +788,9 @@ create.Page({ ...@@ -784,6 +788,9 @@ create.Page({
this.$store.data.startTime = this.$store.data.originalData.startTime.replace(/'-'/g, '/') this.$store.data.startTime = this.$store.data.originalData.startTime.replace(/'-'/g, '/')
this.$store.data.endTime = this.$store.data.originalData.endTime.replace(/'-'/g, '/') this.$store.data.endTime = this.$store.data.originalData.endTime.replace(/'-'/g, '/')
this.update() this.update()
this.setData({
week: this.data.weekList[new Date(this.$store.data.originalData.startTime).getDay()],
})
}, },
// 重置地点 // 重置地点
reSetLocation() { reSetLocation() {
...@@ -989,6 +996,9 @@ create.Page({ ...@@ -989,6 +996,9 @@ create.Page({
this.$store.data.startTime = this.$store.data.originalData.startTime.replace(/'-'/g, '/') this.$store.data.startTime = this.$store.data.originalData.startTime.replace(/'-'/g, '/')
this.$store.data.endTime = this.$store.data.originalData.endTime.replace(/'-'/g, '/') this.$store.data.endTime = this.$store.data.originalData.endTime.replace(/'-'/g, '/')
this.update() this.update()
this.setData({
week: this.data.weekList[new Date(this.$store.data.originalData.startTime.replace(/-/g, "/")).getDay()],
})
}).then(res => { }).then(res => {
this.$store.data.originalData.startTime = this.$store.data.startTime.replace(/\//g, "-") this.$store.data.originalData.startTime = this.$store.data.startTime.replace(/\//g, "-")
this.$store.data.originalData.endTime = this.$store.data.endTime.replace(/\//g, "-") this.$store.data.originalData.endTime = this.$store.data.endTime.replace(/\//g, "-")
...@@ -1255,6 +1265,10 @@ create.Page({ ...@@ -1255,6 +1265,10 @@ create.Page({
console.log(this.store.data.isNeedReloadList) console.log(this.store.data.isNeedReloadList)
if (this.store.data.isNeedReloadList) { if (this.store.data.isNeedReloadList) {
this.reload(this.data.scheduleItem.id); this.reload(this.data.scheduleItem.id);
this.setData({
'conToastData.showToast': true,
'conToastData.title': '编辑成功',
})
} }
}, 500) }, 500)
} }
...@@ -1422,6 +1436,10 @@ create.Page({ ...@@ -1422,6 +1436,10 @@ create.Page({
if (res.data.code == 0) { if (res.data.code == 0) {
this.reload(this.data.scheduleItem.id); this.reload(this.data.scheduleItem.id);
this.closePop(); this.closePop();
this.setData({
'conToastData.showToast': true,
'conToastData.title': '保存成功',
})
//重置 //重置
this.store.data.currentTask = {}; this.store.data.currentTask = {};
this.update(); this.update();
......
@import "../../assests/font/iconfont.acss";
page { page {
background: #fff; background: #fff;
} }
...@@ -49,7 +48,7 @@ input { ...@@ -49,7 +48,7 @@ input {
.contactImage { .contactImage {
position: relative; position: relative;
color: #fff; color: #fff;
font-size: 28rpx; font-size: 30rpx;
height: 80rpx; height: 80rpx;
line-height: 80rpx; line-height: 80rpx;
text-align: center; text-align: center;
......
@import "../../assests/font/iconfont.acss";
page { page {
background: #f6f6f6; background: #fff;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 34rpx; font-size: 34rpx;
color: #191F25; color: #191F25;
......
@import "../../assests/font/iconfont.acss";
page { page {
background: #f6f6f6; background: #f6f6f6;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
......
class Store { class Store {
data = { data = {
locationName: '', locationName: '',
participatorList: [],
participatorUserId: [], // 参会人的userId participatorUserId: [], // 参会人的userId
roomId: '', roomId: '',
startTime: '', startTime: '',
......
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