|
@@ -5,13 +5,17 @@
|
|
|
<img src="@/assets/img/riLine-list-settings-line.svg" alt="" />
|
|
|
</view>
|
|
|
</u-navbar>
|
|
|
- <view class="search">
|
|
|
- <u-search placeholder="搜索授权用户" :show-action="false" v-model="keyword"></u-search>
|
|
|
+ <view class="search-box">
|
|
|
+ <u-search placeholder="搜索授权用户" bg-color="#f2f4f6" height="80" :show-action="true" v-model="keyword">
|
|
|
+
|
|
|
+
|
|
|
+ </u-search>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
<view class="member-list">
|
|
|
- <view class="item" v-for="item in 15" >
|
|
|
+ <view class="item" v-for="item in 5" >
|
|
|
<view class="photo">
|
|
|
<img src="@/assets/img/PEokWS2@3x.png" alt="" />
|
|
|
</view>
|
|
@@ -24,7 +28,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="button" v-if="!deleteShow">
|
|
|
+ <view class="button" @click="show=true" v-if="!deleteShow">
|
|
|
权限管理
|
|
|
</view>
|
|
|
<!-- 单选框 -->
|
|
@@ -79,7 +83,39 @@
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
|
|
|
-
|
|
|
+ <!-- 人员权限管理 -->
|
|
|
+ <view>
|
|
|
+ <u-popup v-model="show" mode="bottom">
|
|
|
+ <view class="popup2" >
|
|
|
+ <view class="title">
|
|
|
+ 杨静云-权限管理
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="content">
|
|
|
+ <view class="item" v-for="item in 3" >
|
|
|
+ <view class="item-title">
|
|
|
+ 荆鹏A栋9楼总电表
|
|
|
+ </view>
|
|
|
+ <view class="item-radio">
|
|
|
+ <label class="radio">
|
|
|
+ <radio value="" /><text></text>
|
|
|
+ </label>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="popup-bottom">
|
|
|
+ <view class="button cancel">
|
|
|
+ 取消
|
|
|
+ </view>
|
|
|
+ <view class="button save">
|
|
|
+ 保存
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
+
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -89,7 +125,8 @@
|
|
|
return {
|
|
|
keyword:"",
|
|
|
deleteShow:false,
|
|
|
- deletePopup:false
|
|
|
+ deletePopup:false,
|
|
|
+ show:false,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -118,15 +155,36 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .search{
|
|
|
- border-bottom: 1px solid rgba(242,242,242,1);
|
|
|
- background: #fff;
|
|
|
- padding:24rpx;
|
|
|
- position:sticky;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- top: 80rpx;
|
|
|
- z-index: 991;
|
|
|
+ .search-box {
|
|
|
+ padding: 16rpx 32rpx;
|
|
|
+ position: sticky;
|
|
|
+ top: 88rpx;
|
|
|
+ z-index: 999;
|
|
|
+ background-color: rgba(255,255,255,1);
|
|
|
+
|
|
|
+ /deep/.u-content {
|
|
|
+ border-radius: 8px !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ ;
|
|
|
+
|
|
|
+ /deep/.u-search {
|
|
|
+ position: relative
|
|
|
+ }
|
|
|
+
|
|
|
+ ;
|
|
|
+
|
|
|
+ /deep/.u-action {
|
|
|
+ width: 96rpx;
|
|
|
+ line-height: 56rpx;
|
|
|
+ border-radius: 4px;
|
|
|
+ background-color: rgba(22, 119, 255, 1);
|
|
|
+ color: rgba(255, 255, 255, 1);
|
|
|
+ text-align: center;
|
|
|
+ z-index: 9999;
|
|
|
+ position: absolute;
|
|
|
+ right: 12rpx;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 列表
|
|
@@ -292,5 +350,46 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 人员权限管理
|
|
|
+ .popup2{
|
|
|
+ padding: 32rpx 0;
|
|
|
+ .title{
|
|
|
+ color: rgba(16,16,16,1);
|
|
|
+ font-size: 36rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .content{
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+ .item{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 28rpx 30rpx;
|
|
|
+ border-bottom: 1px solid rgba(245,245,245,1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .popup-bottom{
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 32rpx;
|
|
|
+ .button{
|
|
|
+ width: 328rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ border-radius: 4px;
|
|
|
+
|
|
|
+ font-size: 32rpx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .cancel{
|
|
|
+ background-color: rgba(222,225,228,1);
|
|
|
+ color: rgba(51,51,51,1);
|
|
|
+ }
|
|
|
+ .save{
|
|
|
+ background-color: rgba(22,119,255,1);
|
|
|
+ color: rgba(255,255,255,1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
</style>
|