feat: 添加ai店铺-列表记录、金种子图表样式调整

This commit is contained in:
2026-06-02 11:31:12 +08:00
parent 910212dcac
commit 1fe0a6351c
11 changed files with 406 additions and 61 deletions
+19 -2
View File
@@ -1,6 +1,11 @@
<template>
<view class="tab2-wrap p-x-32 p-t-16 p-b-24">
<view class="shop-card m-b-24" v-for="(v, i) in list" :key="v.id || i">
<view class="tab2-wrap p-x-32 p-b-24">
<view
class="shop-card m-b-24"
v-for="(v, i) in mockList"
:key="v.id || i"
@tap="toListRecord(v)"
>
<view class="shop-card-inner">
<view class="shop-card-top">
<view class="shop-name lineOne">{{ v.name }}</view>
@@ -93,6 +98,18 @@
if (!Number.isFinite(num)) return '0.00';
return num.toFixed(2);
};
const toListRecord = (item) => {
const shopId = item?.id ?? '';
const name = item?.name ?? '';
const cover = item?.cover ?? '';
const url =
'/pages/index/listRecord' +
`?shopId=${encodeURIComponent(String(shopId))}` +
`&name=${encodeURIComponent(String(name))}` +
`&cover=${encodeURIComponent(String(cover))}`;
uni.navigateTo({ url });
};
</script>
<style lang="scss" scoped>