页面添加头部底部标签

This commit is contained in:
李志鹏
2025-11-17 11:24:46 +08:00
parent e6b38fcd14
commit 7cbeaab5b0
7 changed files with 38 additions and 19 deletions

View File

@@ -2,6 +2,7 @@
import { onMounted, onUnmounted, reactive, toRefs, computed, onActivated } from "vue";
import SelectItem from "@/components/selectStyle/selectItem.vue";
import HeaderTitle from '@/components/HeaderTitle.vue'
import FooterNavigation from '@/components/FooterNavigation.vue'
import { useRouter } from 'vue-router'
import { useGenerateStore, useUserInfoStore } from '@/stores'
import { showToast } from 'vant';
@@ -122,14 +123,15 @@ const { styleList, select } = toRefs(data);
<SelectItem :selectList="styleList" v-model:select="select" @selectItem="selectItem" @updateStyle="updateStyle" />
</div>
</div>
<div class="footer placeholder"></div>
<!-- <div class="footer placeholder"></div> -->
<div class="footer">
<button @click.stop="toProduct">Continue</button>
</div>
<footer-navigation is-placeholder />
</template>
<style lang="less" scoped>
.header-title {
--header-title-background: #f6f6f6;
// --header-title-background: #f6f6f6;
}
.selectStyle{
width: 100%;
@@ -144,7 +146,7 @@ const { styleList, select } = toRefs(data);
text-align: center;
width: 100%;
margin-top: 3.4rem;
margin-bottom: 7.2rem;
margin-bottom: 4.9rem;
> .title{
font-family: satoshiBold;
font-weight: 700;
@@ -159,13 +161,13 @@ const { styleList, select } = toRefs(data);
}
}
.selectContent{
padding: 0 3.5rem;
padding: 0 4rem;
flex: 1;
overflow: auto;
}
}
.footer {
position: fixed;
// position: fixed;
width: 100%;
bottom: 0;
left: 0;