This commit is contained in:
YeMingfei666 2024-11-13 10:08:05 +08:00
commit d6f148c2a9
2 changed files with 15 additions and 4 deletions

View File

@ -265,11 +265,12 @@
} }
.pageLineUpTop { .pageLineUpTop {
.df; display: flex;
justify-content: space-around; // justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
margin: 36rpx 0; margin: 36rpx 0;
>view { >view {
width: 208rpx; width: 208rpx;
height: 136rpx; height: 136rpx;
@ -277,11 +278,18 @@
border-radius: 8rpx 8rpx 8rpx 8rpx; border-radius: 8rpx 8rpx 8rpx 8rpx;
border: 2rpx solid #E5E5E5; border: 2rpx solid #E5E5E5;
margin-top: 20rpx; margin-top: 20rpx;
margin-left: 22rpx;
>view { >view {
text-align: center; text-align: center;
} }
} }
// >view:last-child {
// margin-right: auto;
// margin-left: 22rpx;
// }
.active { .active {
border: 2rpx solid #318AFE; border: 2rpx solid #318AFE;

View File

@ -89,10 +89,13 @@
<script setup> <script setup>
import { import {
getCurrentInstance, getCurrentInstance,
onMounted,
reactive, reactive,
ref ref
} from 'vue'; } from 'vue';
import {
onShow,
} from '@dcloudio/uni-app';
import go from '@/commons/utils/go.js'; import go from '@/commons/utils/go.js';
import { import {
tbShopPermissionList, tbShopPermissionList,
@ -123,7 +126,7 @@
[] []
]); ]);
const show = ref(false) const show = ref(false)
onMounted(() => { onShow(() => {
// //
getrolesEvent() getrolesEvent()
if (props.type == 'add') { if (props.type == 'add') {