格式化首页,调整流程参数非必传
This commit is contained in:
parent
8ecd234353
commit
b46e29c5e6
@ -48,9 +48,9 @@ import { getByYwIdAndYwTypeApi } from "@/api/base/lcglSpApi";
|
|||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
ywId: string,
|
ywId: string,
|
||||||
ywType: string,
|
ywType: string,
|
||||||
showSqr: boolean,
|
showSqr?: boolean,
|
||||||
showSpr: boolean,
|
showSpr?: boolean,
|
||||||
showCsr: boolean,
|
showCsr?: boolean,
|
||||||
}>(), {
|
}>(), {
|
||||||
ywId: '',
|
ywId: '',
|
||||||
ywType: '',
|
ywType: '',
|
||||||
|
|||||||
@ -24,13 +24,8 @@
|
|||||||
<view class="title-line"></view>
|
<view class="title-line"></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="grid-menu">
|
<view class="grid-menu">
|
||||||
<view
|
<view v-for="(item, index) in menuItems" :key="index" v-show="hasPermissionDirect(item.permissionKey)"
|
||||||
v-for="(item, index) in menuItems"
|
class="grid-item" @click="handleMenuClick(item)">
|
||||||
:key="index"
|
|
||||||
v-show="hasPermissionDirect(item.permissionKey)"
|
|
||||||
class="grid-item"
|
|
||||||
@click="handleMenuClick(item)"
|
|
||||||
>
|
|
||||||
<view class="grid-icon-container">
|
<view class="grid-icon-container">
|
||||||
<view class="icon-background"></view>
|
<view class="icon-background"></view>
|
||||||
<image :src="item.icon" class="grid-icon"></image>
|
<image :src="item.icon" class="grid-icon"></image>
|
||||||
@ -48,12 +43,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="notice-list">
|
<view class="notice-list">
|
||||||
<view
|
<view v-for="(notice, index) in announcements" :key="index" class="notice-item" @click="goToDetail(notice)">
|
||||||
v-for="(notice, index) in announcements"
|
|
||||||
:key="index"
|
|
||||||
class="notice-item"
|
|
||||||
@click="goToDetail(notice)"
|
|
||||||
>
|
|
||||||
<view class="notice-icon">
|
<view class="notice-icon">
|
||||||
<u-icon name="bell" size="20" color="#4A90E2"></u-icon>
|
<u-icon name="bell" size="20" color="#4A90E2"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user