Commit dee81b2f by liang ce
parents 04f6c8cd 8f5835d5
...@@ -95,13 +95,13 @@ page { ...@@ -95,13 +95,13 @@ page {
background: #E60012 ; background: #E60012 ;
} }
.participatorStaus { .participatorStaus {
width: 20rpx; width: 9px;
text-align: center; text-align: center;
line-height: 20rpx; line-height: 9px;
color: #fff; color: #fff;
font-size: 14rpx; font-size: 14rpx;
border: 1rpx solid #fff; border: 1rpx solid #fff;
height: 20rpx; height: 9px;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
bottom: 2rpx; bottom: 2rpx;
......
...@@ -228,18 +228,21 @@ page { ...@@ -228,18 +228,21 @@ page {
} }
.conflictTip { .conflictTip {
font-size: 24rpx; font-size: 14rpx;
text-align: center; text-align: center;
width: 19rpx; border: 1rpx solid #fff;
line-height: 19rpx; width: 9px;
height: 19rpx; line-height: 9px;
height: 9px;
display: inline-block; display: inline-block;
border-radius: 50%; border-radius: 50%;
background: #E60012;
position: absolute; position: absolute;
background: #f25643;
color: rgb(211, 190, 192); color: rgb(211, 190, 192);
bottom: -1rpx; bottom: -2rpx;
right: 13rpx; right: 12rpx;
color: rgb(204, 201, 201);
/* border: 1rpx solid #fff; */
} }
.participants { .participants {
......
...@@ -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>
<text a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip"></text> <view a:if="{{conflictPeople.includes(item.userId)}}" class="conflictTip iconfont iconduigou "></view>
</text> </text>
</view> </view>
<view class="addPeople iconfont icontianjia1" onTap="addParticipants"> <view class="addPeople iconfont icontianjia1" onTap="addParticipants">
......
...@@ -664,7 +664,7 @@ create.Page({ ...@@ -664,7 +664,7 @@ create.Page({
}, },
// 展示弹窗 // 展示弹窗
showModel: throttle(function (e) { showModel: throttle(function (e) {
if (!!this.data.scheduleItem) { if (!!this.data.scheduleItem&&this.store.data.userList.length>1) {
this.setData({ this.setData({
isShowPopupWindowList: true isShowPopupWindowList: true
}) })
......
...@@ -28,10 +28,15 @@ page { ...@@ -28,10 +28,15 @@ page {
position: relative; position: relative;
} }
.conflict { .conflict {
font-size: 14rpx;
position: absolute; position: absolute;
width: 18rpx; width: 9px;
height: 18rpx; height: 9px;
background: red; line-height: 9px;
text-align: center;
color: #fff;
border: 1rpx solid #fff;
background: #f25643;
bottom: 3rpx; bottom: 3rpx;
right: -2rpx; right: -2rpx;
border-radius: 50%; border-radius: 50%;
......
...@@ -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"></text> <text a:if="{{conflictPeople.includes(item.userId)}}" class="conflict iconfont iconduigou"></text>
</view> </view>
<view class="info"> <view class="info">
<text class="name">{{item.username}}</text> <text class="name">{{item.username}}</text>
......
...@@ -2,7 +2,6 @@ import create from 'dd-store' ...@@ -2,7 +2,6 @@ import create from 'dd-store'
import exampleStore from '/stores/exampleStore' import exampleStore from '/stores/exampleStore'
import { queryAvailableMeetingRoomByTime } from './../../api/request' import { queryAvailableMeetingRoomByTime } from './../../api/request'
import { throttle } from './../../utils/utils.js' import { throttle } from './../../utils/utils.js'
create.Page({ create.Page({
store: exampleStore, store: exampleStore,
useAll: true, useAll: true,
......
...@@ -312,8 +312,8 @@ page { ...@@ -312,8 +312,8 @@ page {
.participatorStaus { .participatorStaus {
border: 1rpx solid #fff; border: 1rpx solid #fff;
width: 20rpx; width: 9px;
height: 20rpx; height: 9px;
color: #fff; color: #fff;
font-size: 14rpx; font-size: 14rpx;
line-height: 20rpx; line-height: 20rpx;
......
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