| | |
| | | <template> |
| | | <PageLayoutWithBg class="index-page-wrapper" :title="''" :need-auth="false"> |
| | | <template #left> |
| | | <PageLayoutWithBg class="index-page-wrapper" :title="'首页'" :need-auth="false"> |
| | | <!-- <template #left> |
| | | <div class="menu-btn-wrapper menu-logo"> |
| | | <img :src="IconLogo" class="logo" /> |
| | | </div> |
| | | </template> |
| | | </template> --> |
| | | <InfiniteLoading |
| | | scrollViewClassName="common-infinite-scroll-list home-list" |
| | | commonMode |
| | |
| | | style="height: 160px" |
| | | > --> |
| | | <nut-grid class="home-gird" :column-num="5"> |
| | | <nut-grid-item v-for="item in positionGrid" :key="item.value" :text="item.label"> |
| | | <nut-grid-item |
| | | v-for="item in positionGrid" |
| | | :key="item.value" |
| | | :text="item.label" |
| | | @click="goService(item)" |
| | | > |
| | | <img :src="setOSSLink(item.data.field2)" class="home-grid-item-icon" /> |
| | | <!-- <Dongdong /> --> |
| | | </nut-grid-item> |
| | |
| | | url: `${RouterPath.serciceDetail}?id=${item.id}`, |
| | | }); |
| | | } |
| | | |
| | | const switchTab = useSwitchTab(); |
| | | |
| | | function goService(item: API.SelectOptionStringGetDictionaryDataSelectQueryResultOption) { |
| | | switchTab({ |
| | | url: `${RouterPath.service}?id=${item.value}`, |
| | | }); |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |