diff --git a/components/CheckboxIcon.vue b/components/CheckboxIcon.vue index 29228c1..fc19d24 100644 --- a/components/CheckboxIcon.vue +++ b/components/CheckboxIcon.vue @@ -13,6 +13,12 @@ export default { defaultState: { type: Boolean, default: false + }, + mark: { + type: Array, + default: () => { + return [] + } } }, data() { @@ -27,7 +33,7 @@ export default { }, methods: { change() { - this.$emit('change', !this.isSelected) + this.$emit('change', !this.isSelected, this.mark) } } } diff --git a/components/gbro-marquee/marquee.vue b/components/gbro-marquee/marquee.vue new file mode 100644 index 0000000..40fbfb7 --- /dev/null +++ b/components/gbro-marquee/marquee.vue @@ -0,0 +1,492 @@ + + + + + diff --git a/main.js b/main.js index cb37717..3805ca1 100644 --- a/main.js +++ b/main.js @@ -15,9 +15,7 @@ import { WX_LIVE_APPID } from "@/config"; import uView from "uview-ui"; -import VueCompositionApi from '@vue/composition-api' -Vue.use(VueCompositionApi) Vue.use(uView); Vue.mixin(mixin) diff --git a/pages/cart.vue b/pages/cart.vue index 2d2733a..091bcdd 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -10,12 +10,12 @@ - + {{ item['merName'] }} - + 进店逛逛 @@ -24,16 +24,20 @@ + @change="onChange"/> - + - {{ goods['productInfo']['storeName'] }} - 规格:{{ goods['productInfo']['attrInfo']['sku'] }} + {{ goods['productInfo']['storeName'] }} + + 规格:{{ goods['productInfo']['attrInfo']['sku'] }} + - + {{ goods['truePrice'] }} @@ -63,8 +67,8 @@ - - 已选({{ selectCount }}) + + 全选({{ selectCount }}) 合计: @@ -76,120 +80,133 @@ - - - - - + \ No newline at end of file diff --git a/pkg-video/views/city.vue b/pkg-video/views/city.vue index eebc40a..3251ad6 100644 --- a/pkg-video/views/city.vue +++ b/pkg-video/views/city.vue @@ -49,88 +49,92 @@ - diff --git a/pkg-video/views/lottery-log.vue b/pkg-video/views/lottery-log.vue index 8efa5db..0d1ea47 100644 --- a/pkg-video/views/lottery-log.vue +++ b/pkg-video/views/lottery-log.vue @@ -22,63 +22,71 @@ -