提交一波半成品
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
<div class="pad-l80 pad-t64">
|
||||
<!-- <uni-card isFull :border="false" title="示例产品" subTitle="规格:8mmX10mm" extra="查看详情"-->
|
||||
<!-- thumbnail="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png"/>-->
|
||||
<uni-list-item title="示例产品" note="规格:8mmX10mm" thumbSize="lg" thumb="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png" @click="handleDetail"
|
||||
clickable>
|
||||
<uni-list-item title="示例产品" note="规格:8mmX10mm" thumbSize="lg" thumb="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png" :showArrow="false">
|
||||
<template v-slot:footer>
|
||||
<div class="flex center">
|
||||
<div class="mar-r8">2.60</div>
|
||||
<uni-icons type="cart" size="28" @click.stop="handleAdd2Cart"/>
|
||||
<uni-icons type="cart" size="26" @click.stop="handleAdd2Cart"/>
|
||||
<uni-icons class="mar-l8" type="right" @click.stop="handleDetail"/>
|
||||
</div>
|
||||
</template>
|
||||
</uni-list-item>
|
||||
@@ -54,8 +54,7 @@ export default {
|
||||
handleAdd2Cart() {
|
||||
this.$toast("加入购物车")
|
||||
},
|
||||
handleDetail(e) {
|
||||
console.log(e)
|
||||
handleDetail() {
|
||||
this.$toast("查看详情")
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user