refactor(styles): replace custom scroll classes with overflow utils

Remove the deprecated scroll.scss stylesheet and its import from the main SCSS index file. Replace all usages of the custom .scroll-y and .scroll-x classes across Vue templates with the corresponding overflow utility classes. Fix a malformed scroll-view tag in the goods album page template.
This commit is contained in:
duanshuwen
2026-07-25 10:21:28 +08:00
parent 06119f00db
commit f534a2ea89
12 changed files with 11 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="explore-cards">
<scroll-view class="explore-scroll" scroll-x show-scrollbar="false">
<scroll-view class="explore-scroll" overflow-x-autoshow-scrollbar="false">
<view class="explore-track">
<view v-for="(item, index) in normalizedList" :key="getItemKey(item, index)" class="explore-card"
:class="`is-${item.tone}`" hover-class="is-pressed" hover-stay-time="80"

View File

@@ -1,5 +1,5 @@
<template>
<scroll-view class="prompt-strip" scroll-x show-scrollbar="false">
<scroll-view class="prompt-strip" overflow-x-autoshow-scrollbar="false">
<view class="prompt-track">
<view v-for="(item, index) in normalizedList" :key="getItemKey(item, index)" class="prompt-card"
hover-class="is-pressed" hover-stay-time="80" @tap="handleTap(item.raw, index)">

View File

@@ -1,6 +1,6 @@
<template>
<view class="container pl-[12px]">
<view class="container-scroll text-[0px] scroll-x whitespace-nowrap">
<view class="container-scroll text-[0px] overflow-x-autowhitespace-nowrap">
<view class="card-item bg-white inline-block rounded-[20px] mr-[10px]" v-for="(item, index) in list" :key="index"
@click="sendReply(item)">