第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<template>
<view class="add-cart" @click.stop="handleAddCart">
<text class="icon iconfont" :class="[`icon-jiagou${btnStyle}`]"></text>
</view>
</template>
<script>
export default {
props: {
// 购物车按钮样式 1 2 3
btnStyle: {
type: Number,
default: 1
},
},
data() {
return {
value: false,
goodsInfo: {}
}
},
methods: {
handleAddCart() {
this.$emit('click')
}
}
}
</script>
<style lang="scss" scoped>
.add-cart {
font-size: 38rpx;
padding: 0 20rpx;
color: $main-bg;
}
</style>