Commit f0b11b61 authored by 郭志伟's avatar 郭志伟

feat: 商品列表添加提示

parent b6ad2f2e
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
</cr-tabbar> </cr-tabbar>
</cr-sticky> --> </cr-sticky> -->
<good-list :list="goodsList" /> <good-list :list="goodsList" />
<ai-test-tip /> <record-layer v-model="showLayer" desc="敬请期待"></record-layer>
<ai-test-tip @click.native="showLayer = true" />
<tabbar></tabbar> <tabbar></tabbar>
</div> </div>
</template> </template>
...@@ -19,17 +20,20 @@ import AiTestTip from "./modules/AiTestTip"; ...@@ -19,17 +20,20 @@ import AiTestTip from "./modules/AiTestTip";
import GoodList from "@/components/GoodList/index"; import GoodList from "@/components/GoodList/index";
import Tabbar from "@/components/Tabbar"; import Tabbar from "@/components/Tabbar";
import goodsList from "@/api/goodsList.mock"; import goodsList from "@/api/goodsList.mock";
import RecordLayer from "@/components/RecordLayer";
export default { export default {
name: "GoodsList", name: "GoodsList",
components: { components: {
AiTestTip, AiTestTip,
GoodList, GoodList,
Tabbar Tabbar,
RecordLayer
}, },
data() { data() {
return { return {
active: 0, active: 0,
showLayer: false,
goodsList: [] goodsList: []
}; };
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment