Commit 21f7e539 by fengzhaoyu

暂存

parent 8f5835d5
...@@ -95,13 +95,13 @@ page { ...@@ -95,13 +95,13 @@ page {
background: #E60012 ; background: #E60012 ;
} }
.participatorStaus { .participatorStaus {
width: 9px; width: 11px;
text-align: center; text-align: center;
line-height: 9px; line-height:11px;
color: #fff; color: #fff;
font-size: 14rpx; font-size: 12rpx;
border: 1rpx solid #fff; border: 1rpx solid #fff;
height: 9px; height: 11px;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
bottom: 2rpx; bottom: 2rpx;
......
...@@ -228,12 +228,12 @@ page { ...@@ -228,12 +228,12 @@ page {
} }
.conflictTip { .conflictTip {
font-size: 14rpx; font-size: 12rpx;
text-align: center; text-align: center;
border: 1rpx solid #fff; border: 1rpx solid #fff;
width: 9px; width: 11px;
line-height: 9px; line-height: 11px;
height: 9px; height: 11px;
display: inline-block; display: inline-block;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
...@@ -242,7 +242,7 @@ page { ...@@ -242,7 +242,7 @@ page {
bottom: -2rpx; bottom: -2rpx;
right: 12rpx; right: 12rpx;
color: rgb(204, 201, 201); color: rgb(204, 201, 201);
/* border: 1rpx solid #fff; */ background: url(../../assests/chongtu.png) center / 100% 100%
} }
.participants { .participants {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 主题 --> <!-- 主题 -->
<view class="container {{!!scheduleItem?(organizer==permissions?'':'noPermissions'):''}}"> <view class="container {{!!scheduleItem?(organizer==permissions?'':'noPermissions'):''}}">
<view class="theme"> <view class="theme">
<input placeholder="添加主题" type="text" onInput="getTitle" value="{{title}}" focus="{{true}}"/> <input placeholder="添加主题" type="text" onInput="getTitle" value="{{title}}" focus="{{true&&scheduleItem}}"/>
</view> </view>
<view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}"> <view class="permissions" a:if="{{!!scheduleItem?(organizer==permissions?false:true):false}}">
</view> </view>
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<image a:if="{{!!item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}"/> <image a:if="{{!!item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}"/>
<text a:else class="name">{{item.username.substring(item.username.length - 2, item.username.length)}}</text> <text a:else class="name">{{item.username.substring(item.username.length - 2, item.username.length)}}</text>
</text> </text>
<view a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip iconfont iconduigou "></view> <view a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip "></view>
</text> </text>
</view> </view>
<view class="addPeople iconfont icontianjia1" onTap="addParticipants"> <view class="addPeople iconfont icontianjia1" onTap="addParticipants">
......
...@@ -418,7 +418,8 @@ create.Page({ ...@@ -418,7 +418,8 @@ create.Page({
}, },
// 会议冲突 // 会议冲突
conflict() { conflict() {
this.store.data.conflictPeople = [] // this.store.data.conflictPeople = []
let conflictPeople = []
let data = { let data = {
startTime: `${this.data.time1.replace(/\//g, "-")}`, startTime: `${this.data.time1.replace(/\//g, "-")}`,
endTime: `${this.data.time2.replace(/\//g, "-")}`, endTime: `${this.data.time2.replace(/\//g, "-")}`,
...@@ -428,15 +429,15 @@ create.Page({ ...@@ -428,15 +429,15 @@ create.Page({
for (let value in res.data.data) { for (let value in res.data.data) {
if (!!this.data.scheduleItem) { if (!!this.data.scheduleItem) {
if (res.data.data[value].length > 1) { if (res.data.data[value].length > 1) {
this.store.data.conflictPeople.push(value) conflictPeople.push(value)
} }
} else { } else {
if (res.data.data[value].length > 0) { if (res.data.data[value].length > 0) {
this.store.data.conflictPeople.push(value) conflictPeople.push(value)
} }
} }
} }
this.store.data.conflictPeople = conflictPeople
this.update() this.update()
}) })
}, },
...@@ -520,7 +521,7 @@ create.Page({ ...@@ -520,7 +521,7 @@ create.Page({
} }
dd.confirm({ dd.confirm({
title: '删除会议', title: '删除会议',
content: '确认删除删除会议吗?', content: '确认删除会议吗?',
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
success: (success) => { success: (success) => {
...@@ -665,7 +666,7 @@ create.Page({ ...@@ -665,7 +666,7 @@ create.Page({
}, },
// 展示弹窗 // 展示弹窗
showModel: throttle(function (e) { showModel: throttle(function (e) {
if (!!this.data.scheduleItem&&this.store.data.userList.length>1) { if (!!this.data.scheduleItem && this.store.data.userList.length > 1) {
this.setData({ this.setData({
isShowPopupWindowList: true isShowPopupWindowList: true
}) })
......
...@@ -170,7 +170,7 @@ page { ...@@ -170,7 +170,7 @@ page {
height: 100%; height: 100%;
top: 0; top: 0;
width: 100%; width: 100%;
background: #fff; background:#fff;
} }
.startPage>image { .startPage>image {
width: 603rpx; width: 603rpx;
...@@ -178,5 +178,5 @@ page { ...@@ -178,5 +178,5 @@ page {
vertical-align: top; vertical-align: top;
margin-top: 365rpx; margin-top: 365rpx;
margin-left: 82rpx; margin-left: 82rpx;
z-index: 999; z-index: 9999999;
} }
\ No newline at end of file
...@@ -8,10 +8,15 @@ Page({ ...@@ -8,10 +8,15 @@ Page({
thisYear: '', thisYear: '',
maxYear: '', maxYear: '',
minYear: '', minYear: '',
isClicked:false isClicked:false,
startPageOnLoad: false,
startPageOnShow: false
}, },
onLoad(query) { onLoad(query) {
// 页面加载 // 页面加载
this.setData({
startPageOnLoad: true
})
}, },
onReady() { onReady() {
}, },
...@@ -46,7 +51,8 @@ Page({ ...@@ -46,7 +51,8 @@ Page({
todayStr: finalDate.toLocaleDateString(), todayStr: finalDate.toLocaleDateString(),
thisYear: year, thisYear: year,
maxYear: year, maxYear: year,
canClick: true canClick: true,
startPageOnShow: true
}) })
}) })
}) })
......
...@@ -27,12 +27,12 @@ page { ...@@ -27,12 +27,12 @@ page {
text-align: center; text-align: center;
position: relative; position: relative;
} }
.conflict { .conflict {
font-size: 14rpx;
position: absolute; position: absolute;
width: 9px; width: 11px;
height: 9px; height: 11px;
line-height: 9px; line-height: 11px;
text-align: center; text-align: center;
color: #fff; color: #fff;
border: 1rpx solid #fff; border: 1rpx solid #fff;
...@@ -40,13 +40,14 @@ page { ...@@ -40,13 +40,14 @@ page {
bottom: 3rpx; bottom: 3rpx;
right: -2rpx; right: -2rpx;
border-radius: 50%; border-radius: 50%;
background: url(../../assests/chongtu.png) center / 100% 100%
} }
.headImg image { .headImg image {
vertical-align: top; vertical-align: top;
width: 64rpx; width: 64rpx;
height: 64rpx; height: 64rpx;
border-radius: 50%; border-radius: 50%;
} }
.info { .info {
...@@ -85,7 +86,7 @@ page { ...@@ -85,7 +86,7 @@ page {
margin-right: 16rpx; margin-right: 16rpx;
} }
.button .save { .button .save {
color: white; color: white;
background: #3296FA; background: #3296FA;
border: 1px solid rgba(25, 31, 37, 0.12); border: 1px solid rgba(25, 31, 37, 0.12);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="headImg"> <view class="headImg">
<image a:if="{{!!item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}"/> <image a:if="{{!!item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}"/>
<text a:else>{{item.username.substring(0, 1)}}</text> <text a:else>{{item.username.substring(0, 1)}}</text>
<text a:if="{{conflictPeople.includes(item.userId)}}" class="conflict iconfont iconduigou"></text> <text a:if="{{conflictPeople.includes(item.userId)}}" class="conflict"></text>
</view> </view>
<view class="info"> <view class="info">
<text class="name">{{item.username}}</text> <text class="name">{{item.username}}</text>
......
...@@ -10,24 +10,28 @@ page { ...@@ -10,24 +10,28 @@ page {
text-align: left; text-align: left;
font-size: 32rpx; font-size: 32rpx;
color: rgba(25, 31, 37, 0.40); color: rgba(25, 31, 37, 0.40);
vertical-align: top;
margin-right: 24rpx; margin-right: 24rpx;
line-height: 1.5; line-height: 52rpx;
vertical-align: top;
}
.iconsousuo1 {
vertical-align: top;
line-height: 52rpx;
} }
.search { .search {
background: white; background: white;
display: flex; display: flex;
padding: 40rpx 32rpx; padding: 34rpx 32rpx;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12); border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
} }
.search input { .search input {
height: 52rpx;
font-size: 40rpx !important; font-size: 40rpx !important;
width: 100%; width: 100%;
vertical-align: top;
padding-left: 0; padding-left: 0;
display: block;
} }
.availableList { .availableList {
...@@ -44,6 +48,7 @@ page { ...@@ -44,6 +48,7 @@ page {
opacity: 0.75; opacity: 0.75;
font-size: 28rpx; font-size: 28rpx;
color: #191F25; color: #191F25;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
} }
.iconhuiyishi2 { .iconhuiyishi2 {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<text>{{item.capacityNum}}</text> <text>{{item.capacityNum}}</text>
</view> </view>
<view class="equipment" a:if="{{item.equipFacilityLabelList}}"> <view class="equipment" a:if="{{item.equipFacilityLabelList}}">
<text class="numIcon iconfont icondingwei1"></text> <text class="numIcon iconfont iconshebei"></text>
<text a:for="{{item.equipFacilityLabelList}}" a:for-item="equipmentList">{{equipmentList.name}}</text> <text a:for="{{item.equipFacilityLabelList}}" a:for-item="equipmentList">{{equipmentList.name}}</text>
</view> </view>
</view> </view>
......
...@@ -6,10 +6,12 @@ page { ...@@ -6,10 +6,12 @@ page {
color: #191F25; color: #191F25;
padding-bottom: 180rpx; padding-bottom: 180rpx;
} }
.iconfont { .iconfont {
font-size: 32rpx; font-size: 32rpx;
vertical-align: top; vertical-align: top;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none display: none
} }
...@@ -245,16 +247,17 @@ page { ...@@ -245,16 +247,17 @@ page {
bottom: 0; bottom: 0;
color: rgba(25, 31, 37, 0.56); color: rgba(25, 31, 37, 0.56);
font-size: 28rpx; font-size: 28rpx;
box-shadow: 0 -2px 16px 0 rgba(25,31,37,0.10); box-shadow: 0 -2px 16px 0 rgba(25, 31, 37, 0.10);
} }
.bottom .iconfont { .bottom .iconfont {
margin-right: 12rpx; margin-right: 12rpx;
} }
.buttonGroup { .buttonGroup {
flex: 1; flex: 1;
text-align: center;} text-align: center;
}
.buttonGroup text { .buttonGroup text {
vertical-align: top; vertical-align: top;
...@@ -270,7 +273,6 @@ page { ...@@ -270,7 +273,6 @@ page {
.describe .text { .describe .text {
padding: 27rpx 0; padding: 27rpx 0;
margin-top: 10rpx; margin-top: 10rpx;
} }
.modFile { .modFile {
...@@ -284,6 +286,7 @@ page { ...@@ -284,6 +286,7 @@ page {
z-index: 9; z-index: 9;
top: -73rpx; top: -73rpx;
left: 50%; left: 50%;
background: red;
} }
.modFile>view { .modFile>view {
...@@ -312,11 +315,11 @@ page { ...@@ -312,11 +315,11 @@ page {
.participatorStaus { .participatorStaus {
border: 1rpx solid #fff; border: 1rpx solid #fff;
width: 9px; width: 11px;
height: 9px; height: 11px;
color: #fff; color: #fff;
font-size: 14rpx; font-size: 12rpx;
line-height: 20rpx; line-height: 11px;
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
...@@ -399,6 +402,7 @@ page { ...@@ -399,6 +402,7 @@ page {
.dynamicright { .dynamicright {
position: relative; position: relative;
} }
.selectDynamicright { .selectDynamicright {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -406,26 +410,34 @@ page { ...@@ -406,26 +410,34 @@ page {
width: 100%; width: 100%;
background: rgba(25, 31, 37, 0.12) background: rgba(25, 31, 37, 0.12)
} }
.line { .line {
color: rgba(25, 31, 37, 0.12)!important; color: rgba(25, 31, 37, 0.12)!important;
margin-right: 32rpx; margin-right: 32rpx;
} }
.iconcanjia2 { .iconcanjia2 {
color: #15BC83; color: #15BC83;
} }
.iconbucanjia2 { .iconbucanjia2 {
color:#F25643; color: #F25643;
} }
.red { .red {
color: #F25643; color: #F25643;
} }
.green { .green {
color: #15BC83; color: #15BC83;
} }
.model { .model {
position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed;
top: 0; top: 0;
background: rgb(0, 0, 0, 0); background: rgb(0, 0, 0, 0);
z-index: 9999;
background: red;
} }
\ No newline at end of file
<block a:if="{{showPage}}"> <block a:if="{{showPage}}">
<view class="scheduleDetail"> <view class="scheduleDetail" onTap="hideModel">
<view class="scheduleInfo"> <view class="scheduleInfo">
<!-- 标题 --> <!-- 标题 -->
<view class="title"> <view class="title">
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<text class="iconshangchuanwenjian1 iconfont"></text></view></view> <text class="iconshangchuanwenjian1 iconfont"></text></view></view>
<!-- 动态详情展示 --> <!-- 动态详情展示 -->
<view class="dynamicContent" a:if="{{allFileInfo.length}}"> <view class="dynamicContent" a:if="{{allFileInfo.length}}">
<view class="dynamicDetail" a:for="{{allFileInfo}}" onTouchStart="touchStart" onTouchEnd="touchEnd" onLongTap="longPress" data-id="{{item.meetingLogId}}"> <view class="dynamicDetail" a:for="{{allFileInfo}}" catchTouchStart="touchStart" catchTouchEnd="touchEnd" catchLongTap="longPress" data-id="{{item.meetingLogId}}">
<view class="dynamicList" a:if="{{!!item.scheduleAccessory}}"> <view class="dynamicList" a:if="{{!!item.scheduleAccessory}}">
<view class="dynamicleft"> <view class="dynamicleft">
<image a:if="{{!!item.scheduleAccessory.uploaderInfo.headUrl}}" mode="scaleToFill" src="{{item.scheduleAccessory.uploaderInfo.headUrl}}"/> <image a:if="{{!!item.scheduleAccessory.uploaderInfo.headUrl}}" mode="scaleToFill" src="{{item.scheduleAccessory.uploaderInfo.headUrl}}"/>
...@@ -163,7 +163,4 @@ ...@@ -163,7 +163,4 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 编辑 删除的时候的弹窗 -->
<view class="model" onTap="hideModel" a:if="{{!!meetingLogId}}">
</view>
</block> </block>
\ No newline at end of file
...@@ -36,9 +36,9 @@ create.Page({ ...@@ -36,9 +36,9 @@ create.Page({
}) })
}, },
onShow() { onShow() {
this.setData({ // this.setData({
meetingLogId: '' // meetingLogId: ''
}) // })
let data = { let data = {
id: this.data.scheduleItem.id, id: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate, planDate: this.data.scheduleItem.planDate,
...@@ -367,6 +367,13 @@ create.Page({ ...@@ -367,6 +367,13 @@ create.Page({
}, },
// 隐藏删除编辑弹窗 // 隐藏删除编辑弹窗
hideModel() { hideModel() {
console.log(22238888)
this.setData({
meetingLogId: ''
})
},
// 空方法 阻止冒泡
blank() {
this.setData({ this.setData({
meetingLogId: '' meetingLogId: ''
}) })
......
...@@ -75,7 +75,7 @@ create.Page({ ...@@ -75,7 +75,7 @@ create.Page({
createModel: 'auto' createModel: 'auto'
} }
addSchedule(getId).then(success => { addSchedule(getId).then(success => {
this.data.saveUpload(success.data.id) this.saveUpload(success.data.id)
}) })
} }
}, },
...@@ -94,6 +94,9 @@ create.Page({ ...@@ -94,6 +94,9 @@ create.Page({
descript: this.data.descript descript: this.data.descript
} }
saveFileInfo(data).then(res => { saveFileInfo(data).then(res => {
console.log(1111)
console.log(JSON.stringify(res))
console.log(1111)
dd.navigateBack({ dd.navigateBack({
delta: 1 delta: 1
}) })
......
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