首页轮播,裁剪标题,按钮间距
Test Runner / hello (push) Successful in 3s

This commit is contained in:
2026-08-25 12:04:57 +08:00
parent bd6f7a378e
commit 65356953ed
7 changed files with 148 additions and 17 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ import WhyChoose from './components/WhyChoose.vue'
import CompanyIntro from './components/CompanyIntro.vue'
import { getCountries, getGoods } from '@/api/public.js'
import { truncateProductTitle } from '@/utils/product.js'
import {
trustStats,
@@ -94,7 +95,7 @@ export default {
const items = (data.items || []).slice(0, 4)
this.podProducts = items.map((item) => ({
id: item.goodId,
name: item.goodName,
name: truncateProductTitle(item.goodName),
image: item.image
}))
} catch (err) {