cyy-vue-material 1.1.71 → 1.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyy-vue-material",
3
- "version": "1.1.71",
3
+ "version": "1.1.72",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -31,8 +31,9 @@
31
31
  v-if="!ele.classfooterImg"
32
32
  class="classContentSpan"
33
33
  :style="{
34
- marginTop: ele.titleMt + 'px',
35
- marginBottom: ele.titleBt + 'px'
34
+ paddingTop: ele.titleMt + 'px',
35
+ paddingBottom: ele.titleBt + 'px',
36
+ backgroundColor: ele.bgColor,
36
37
  }"
37
38
  >
38
39
  <img
@@ -53,8 +54,9 @@
53
54
  <div v-else
54
55
  class="classContentImgBox"
55
56
  :style="{
56
- marginTop: ele.titleMt + 'px',
57
- marginBottom: ele.titleBt + 'px'
57
+ paddingTop: ele.titleMt + 'px',
58
+ paddingBottom: ele.titleBt + 'px',
59
+ backgroundColor: ele.bgColor,
58
60
  }">
59
61
  <img
60
62
  v-if="isLc"
@@ -85,7 +87,7 @@
85
87
  <div
86
88
  :class="['cube-container', `arrange-${ele.showTitle}`, { isLc: isLc }]"
87
89
  :style="{
88
- backgroundColor: ele.bgColor,
90
+ backgroundColor: ele.goodsBgColor,
89
91
  }"
90
92
  >
91
93
  <div v-for="(item, index) in ele.goodsList" class="cube-item" :style="{
@@ -132,7 +134,7 @@
132
134
  <div class="goodsBuy">
133
135
  <img
134
136
  src="https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png"
135
- @click="addShoppingShow(item)"
137
+ @click.stop="addShoppingShow(item)"
136
138
  style="height: 25px; width: 25px"
137
139
  />
138
140
  </div>
@@ -155,7 +157,8 @@ import { find } from "../../api/index.js";
155
157
  import { fetchPost } from "../../api/http.js";
156
158
  export default {
157
159
  name: "cyy-ArsenalClass",
158
- // bgColor: "#08fc29", //背景颜色
160
+ // bgColor: "#08fc29", //标题背景颜色
161
+ // goodsBgColor // 商品背景颜色
159
162
  // goodsClassNameFlag: 0, //分类名称显示隐藏
160
163
  // titleColor: "#08fc29", //分类标题颜色
161
164
  // titleFontSize: 20, //分类标题字号