feat: 首页欢迎语组件布局调整

This commit is contained in:
duanshuwen
2025-10-14 22:15:54 +08:00
parent b5f5bc646a
commit 93bf65eb65
14 changed files with 212 additions and 352 deletions

View File

@@ -1,17 +1,17 @@
<template>
<view class="more-tips">
<view class="more-tips-scroll">
<view class="more-tips bg-white border-box">
<view class="font-size-0 whitesspace-nowrap scroll-x">
<view
class="more-tips-item"
v-for="(item, index) in itemList"
class="more-tips-item border-box inline-block mr-8"
v-for="(item, index) in guideWords"
:key="index"
>
<view
class="more-tips-item-title font-500 font-size-12 line-height-24 text-center"
<text
class="font-500 font-size-12 line-height-24 text-center"
@click="sendReply(item)"
>
{{ item }}
</view>
</text>
</view>
</view>
</view>
@@ -19,10 +19,11 @@
<script setup>
import { defineProps } from "vue";
const emits = defineEmits(["replySent"]);
defineProps({
itemList: {
guideWords: {
type: Array,
default: [
"定温泉票",