feat: 首页欢迎语组件布局调整
This commit is contained in:
@@ -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: [
|
||||
"定温泉票",
|
||||
|
||||
Reference in New Issue
Block a user