This commit is contained in:
谢宇宁
2026-10-09 18:18:35 +07:00
parent cc37cc173a
commit a80543e329
28 changed files with 165 additions and 401 deletions
+2 -57
View File
@@ -1,19 +1,5 @@
<template>
<div class="mobileBottom">
<div class="contactInfo">
<div class="address" @click="jumpPage('/releaseAddress')">地址發布</div>
<div class="contactBox">
<lazyImg
class="contactItem"
:src="item.officialImg"
v-for="(item, index) in contactInfo"
:key="index"
@click="openPage(OFFICIAL_TG_URL)"
/>
<!-- <lazyImg class="contactItem" :src="'cf230705/image/95/29p/5i/39/92cf6fd5189cedaf2e0756b98520b7cd.gif'" />
<lazyImg class="contactItem" :src="'cf230705/image/95/29p/5i/39/92cf6fd5189cedaf2e0756b98520b7cd.gif'" /> -->
</div>
</div>
<div class="gridAdvBox" @touchstart.stop @touchmove.stop @touchend.stop>
<lazyImg class="gridAdv" :src="i.cover" v-for="i in state.advList" :key="i.id" @click="openAdv(i)" />
</div>
@@ -29,12 +15,12 @@
</div>
</template>
<script lang="ts" setup>
import { reactive, computed } from 'vue';
import { reactive } from 'vue';
import { useRouter } from 'vue-router';
import { useConfigStore } from '@/stores/config';
import { getAdItem } from '@/utils/getConfig';
import { AdType } from '@/enums/app';
import { jumpAdv, OFFICIAL_TG_URL } from '@/utils/index';
import { jumpAdv } from '@/utils/index';
const router = useRouter();
const configStore = useConfigStore();
const state = reactive({
@@ -55,52 +41,11 @@ const openPage = (url: string) => {
const openAdv = (item: any) => {
jumpAdv(item);
};
const contactInfo = computed(() => {
return configStore.contactInfo;
// return route.query.tid ? homeStore.homeData[0];
});
</script>
<style lang="scss" scoped>
.mobileBottom {
margin-top: 24px;
.contactInfo {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0 9px;
margin: 0 16px 17.5px;
border-bottom: 0.5px solid #2d2f34;
// margin-bottom: 17.5px;
.address {
display: flex;
width: 72px;
padding: 6.178px 11.699px;
justify-content: center;
align-items: center;
border-radius: 3.089px;
border: 1px solid #fff;
color: #fff;
font-family: 'PingFang SC';
font-size: 11px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.contactBox {
display: flex;
align-items: center;
.contactItem {
width: 30px;
height: 30px;
margin-left: 20px;
// :deep(img) {
// object-fit: fill !important;
// }
}
}
}
.gridAdvBox {
display: flex;
align-items: center;