调整全局颜色,调整部分pagesJson,调整样式

This commit is contained in:
唐明明
2021-11-03 20:13:03 +08:00
parent 72a3d53a17
commit c7cacd2c9c
15 changed files with 245 additions and 150 deletions

View File

@@ -21,7 +21,8 @@
<view class="content">
<view class="nickname nowrap">{{item.name}}<text>{{item.job}}</text></view>
<view class="job nowrap">
<text v-for="(permissionItem, permissionIndex) in item.permission" :key="permissionIndex">{{permissionItem}}</text>
<text v-for="(permissionItem, permissionIndex) in item.permission" :key="permissionIndex" v-if="permissionIndex < 3">{{permissionItem}}</text>
<text v-if="item.permission.length > 3">{{item.permission.length}}项权限</text>
</view>
</view>
</view>
@@ -55,13 +56,14 @@
text : '编辑',
type : 'PUT',
style : {
backgroundColor: '#8b64fd'
color: '#8b64fd',
backgroundColor: '#eff4f2'
}
},{
text : '删除',
type : 'DELETE',
style : {
backgroundColor: '#e93340'
backgroundColor: '#ee4c47'
}
}]
};
@@ -158,7 +160,7 @@
position: absolute;
top: $padding - 10;
left: $padding;
background: $text-price;
background: $mian-color;
color: white;
height: 88rpx;
width: 88rpx;