Browse Source

bug修改

yanym 5 years ago
parent
commit
d05189a970

+ 1 - 0
dorm-manager-wx/pages/teacher/visitorcheck/visitorcheck.wxml

@@ -9,6 +9,7 @@
       <view class="list-item" hover-class="myhover" hover-start-time="50" hover-stay-time="50" bindtap="todetail" data-id="{{item.visitorId}}">
         <image src="{{item.headImage?apiTotal+item.headImage:'/images/default-urser.png'}}" class="head-img"></image>
         <view class="my-column my-flex-sb" style="height:150rpx;">
+        <view class="status" wx:if='{{!isregiste}}'>已通过</view>
           <view class="name">{{item.userName}}</view>
           <view class="address">
             <image src="/images/dizhi.png" class="address-img"></image>

+ 16 - 8
dorm-manager-wx/pages/teacher/visitorcheck/visitorcheck.wxss

@@ -26,7 +26,7 @@ page {
   border-bottom: 2rpx #6784f4 solid;
 }
 
-scroll-view{
+scroll-view {
   width: 100%;
   height: 93vh;
   box-sizing: border-box;
@@ -35,7 +35,7 @@ scroll-view{
   padding: 20rpx 30rpx 0rpx 30rpx;
 }
 
-.list-item{
+.list-item {
   width: 100%;
   height: 200rpx;
   flex-direction: row;
@@ -44,9 +44,10 @@ scroll-view{
   background-color: #fff;
   border-radius: 10rpx;
   margin-bottom: 20rpx;
+  position: relative;
 }
 
-.list-item .head-img{
+.list-item .head-img {
   width: 140rpx;
   height: 140rpx;
   border-radius: 50%;
@@ -55,24 +56,31 @@ scroll-view{
   border: 2rpx solid #e5e5e5;
 }
 
-.list-item .name{
+.list-item .name {
   font-size: 30rpx;
   font-weight: 700;
 }
 
-.list-item .address{
+.list-item .address {
   flex-direction: row;
   display: flex;
   align-items: center;
 }
 
-.list-item .address-img{
+.list-item .address-img {
   width: 28rpx;
   height: 30rpx;
   margin-right: 10rpx;
 }
 
-.list-item .create-time{
+.list-item .create-time {
   font-size: 26rpx;
   color: #666;
-}
+}
+
+.list-item .status {
+  position: absolute;
+  color: greenyellow;
+  font-size: 28rpx;
+  right: 30rpx;
+}