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