cyy-vue-material 7.0.19 → 7.0.21

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.
Files changed (38) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +34 -34
  3. package/src/App.vue +149 -149
  4. package/src/api/http.js +16 -16
  5. package/src/api/index.js +21 -21
  6. package/src/api/urlQuery.js +20 -20
  7. package/src/common/js/constant.js +5 -5
  8. package/src/common/js/index.js +1 -1
  9. package/src/components/vop-label.vue +29 -29
  10. package/src/index.dev.js +4 -4
  11. package/src/package/cyy-ArsenalActivity/components/u-cont-down.vue +316 -316
  12. package/src/package/cyy-ArsenalActivity/components/u-line-progress.vue +150 -150
  13. package/src/package/cyy-ArsenalActivity/cyy-ArsenalActivity.vue +820 -820
  14. package/src/package/cyy-ArsenalCarousel/cyy-ArsenalCarousel.vue +137 -137
  15. package/src/package/cyy-ArsenalClass/cyy-ArsenalClass.vue +564 -564
  16. package/src/package/cyy-ArsenalMyNavigation/cyy-ArsenalMyNavigation.vue +128 -125
  17. package/src/package/cyy-ArsenalMyTop/cyy-ArsenalMyTop.vue +211 -211
  18. package/src/package/cyy-ArsenalNavigation/cyy-ArsenalNavigation.vue +236 -236
  19. package/src/package/cyy-ArsenalPicture/cyy-ArsenalPicture.vue +228 -228
  20. package/src/package/cyy-ArsenalPromotion/cyy-ArsenalPromotion.vue +913 -899
  21. package/src/package/cyy-ArsenalRecommend/cyy-ArsenalRecommend.vue +56 -56
  22. package/src/package/cyy-ArsenalTop/cyy-ArsenalTop.vue +328 -328
  23. package/src/package/cyy-collocation/cyy-collocation.vue +639 -639
  24. package/src/package/cyy-goods/cyy-goods.vue +317 -317
  25. package/src/package/cyy-goodsOne/consult.vue +267 -267
  26. package/src/package/cyy-goodsOne/cyy-goodsOne.vue +217 -217
  27. package/src/package/cyy-image/cyy-image.vue +64 -64
  28. package/src/package/cyy-live/cyy-live.vue +196 -196
  29. package/src/package/cyy-new-product/cyy-new-product.vue +834 -834
  30. package/src/package/cyy-notice/cyy-notice.vue +137 -137
  31. package/src/package/cyy-search/cyy-search.vue +57 -57
  32. package/src/package/cyy-slider/cyy-slider.vue +117 -117
  33. package/src/package/cyy-title/cyy-title.vue +38 -38
  34. package/src/package/cyy-video/cyy-video.vue +49 -49
  35. package/src/package/index.js +21 -21
  36. package/src/utils/checkEnv.js +16 -16
  37. package/src/utils/fetchFactory.js +100 -100
  38. package/src/utils/index.js +2 -2
@@ -1,125 +1,128 @@
1
- <template>
2
- <div>
3
-
4
- <div v-if="props" class="nav_container" :style="{ marginTop: (props.marginTop - 42) + 'px', marginBottom: (props.marginBottom + 10) + 'px', borderRadius: props.componentCorner + 'px' }">
5
- <div class="order_top" @click="jump(props.navList[0].link)" v-if="props.tab == 0">
6
- <div class="order_title" :style="{ color: props.titleColor }">{{ props.navTitle }}</div>
7
- <div class="more_title" v-if="props.seeAll == 0 && props.navList.length > 0">
8
- <span :style="{ color: props.tabColor }">{{ props.navList[0].name }}</span>
9
- <img :src="props.navList[0].imgUrl" style="width: 12px; height: 12px" />
10
- </div>
11
- </div>
12
- <div class="assets_list" :style="{ backgroundColor: props.backgroundColor }">
13
- <div class="assets_item" :class="[props.navigationNum === 5 ? 'navigationNum5' : 'navigationNum4']" v-for="(item, index) in props.selectImg" :key="index" @click="jump(item.link)" >
14
- <img v-if="item && item.imgUrl" :src="item.imgUrl" :style="{ width: props.photoSize == 0 ? '24px' : '36px', height: props.photoSize == 0 ? '24px' : '36px', borderRadius: props.photoCorner + 'px' }" />
15
- <img v-else src="http://123.com/image/name.png" :style="{ width: props.photoSize == 0 ? '24px' : '36px', height: props.photoSize == 0 ? '24px' : '36px', borderRadius: props.photoCorner + 'px' }" />
16
- <div v-if="item && item.name" class="item_name" :style="{ color: props.fontColor }">{{ item.name }}</div>
17
- </div>
18
-
19
- </div>
20
- </div>
21
-
22
- </div>
23
- </template>
24
-
25
- <script>
26
- export default {
27
- name: "cyy-ArsenalMyNavigation",
28
- data() {
29
- return {
30
- };
31
- },
32
- props: {
33
- props: {
34
- // showStyle: Number, //展示风格
35
- componentCorner: Number, //组件边角
36
- tab: Number, //导航标题
37
- navTitle: String, //标题
38
- titleColor: String, //主标题颜色
39
- tabColor: String, //查看全部颜色
40
- seeAll: Number, // 全部
41
- photoSize: Number, //图片尺寸
42
- photoCorner: Number, //图片边角
43
- fontColor: String, //文字颜色
44
- backgroundColor: String, //背景颜色
45
- marginTop: Number, //上边距
46
- marginBottom: Number, //下边距
47
- selectImg: Array, //添加图片
48
- navigationNum: Number, //导航数量
49
- navList: Array, //导航列表
50
- },
51
- },
52
- mounted() {
53
- console.log(this.props,555555)
54
- if (this.props.navigationNum === 5) {
55
- this.skeleton = ["导航1", "导航2", "导航3", "导航4", "导航5"];
56
- }
57
- },
58
- computed: {
59
- },
60
- methods: {
61
- jump(link) {
62
- console.log(link,'link')
63
- if (link) {
64
- this.$emit("jump", link)
65
- }
66
- }
67
-
68
- },
69
- };
70
- </script>
71
- <style lang="less" scoped>
72
- .nav_container {
73
- display: flex;
74
- flex-direction: column;
75
- margin: -42px 12px 0;
76
- background: #fff;
77
- border-radius: 12px;
78
- }
79
- .order_top {
80
- display: flex;
81
- justify-content: space-between;
82
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
83
- padding: 11px;
84
- .order_title {
85
- color: #1e1e1e;
86
- font-size: 14px;
87
- font-weight: bold;
88
- }
89
- .more_title {
90
- color: #999999;
91
- font-size: 12px;
92
- }
93
- }
94
- .assets_list {
95
- background: #fff;
96
- display: flex;
97
- align-items: center;
98
- border-radius: 12px;
99
- flex-wrap: wrap;
100
-
101
- .assets_item {
102
- display: flex;
103
- flex-direction: column;
104
- align-items: center;
105
- flex-wrap: wrap;
106
- justify-content: space-around;
107
- margin: 10px 0;
108
- div:first-child {
109
- font-size: 25px;
110
- }
111
- .item_name {
112
- color: #1e1e1e;
113
- font-size: 12px;
114
- margin-top: 6px;
115
- }
116
- }
117
- }
118
- .navigationNum5 {
119
- width: 20%;
120
- }
121
- .navigationNum4 {
122
- width: 25%;
123
- }
124
- </style>
125
-
1
+ <template>
2
+ <div>
3
+
4
+ <div v-if="props" class="nav_container" :style="{ marginTop: (props.marginTop - 42) + 'px', marginBottom: (props.marginBottom + 10) + 'px', borderRadius: props.componentCorner + 'px' }">
5
+ <div class="order_top" @click="jump(props.navList[0].link)" v-if="props.tab == 0">
6
+ <div class="order_title" :style="{ color: props.titleColor }">{{ props.navTitle }}</div>
7
+ <div class="more_title" v-if="props.seeAll == 0 && props.navList.length > 0">
8
+ <span :style="{ color: props.tabColor }">{{ props.navList[0].name }}</span>
9
+ <img :src="props.navList[0].imgUrl" style="width: 12px; height: 12px" />
10
+ </div>
11
+ </div>
12
+ <div class="assets_list" :style="{ backgroundColor: props.backgroundColor }">
13
+ <div class="assets_item" :class="[props.navigationNum === 5 ? 'navigationNum5' : 'navigationNum4']" v-for="(item, index) in props.selectImg" :key="index" @click="jump(item.link)" >
14
+ <img v-if="item && item.imgUrl" :src="item.imgUrl" :style="{ width: props.photoSize == 0 ? '24px' : '36px', height: props.photoSize == 0 ? '24px' : '36px', borderRadius: props.photoCorner + 'px' }" />
15
+ <img v-else src="http://123.com/image/name.png" :style="{ width: props.photoSize == 0 ? '24px' : '36px', height: props.photoSize == 0 ? '24px' : '36px', borderRadius: props.photoCorner + 'px' }" />
16
+ <div v-if="item && item.name" class="item_name" :style="{ color: props.fontColor }">{{ item.name }}</div>
17
+ </div>
18
+
19
+ </div>
20
+ </div>
21
+
22
+ </div>
23
+ </template>
24
+
25
+ <script>
26
+ export default {
27
+ name: "cyy-ArsenalMyNavigation",
28
+ data() {
29
+ return {
30
+ };
31
+ },
32
+ props: {
33
+ props: {
34
+ // showStyle: Number, //展示风格
35
+ componentCorner: Number, //组件边角
36
+ tab: Number, //导航标题
37
+ navTitle: String, //标题
38
+ titleColor: String, //主标题颜色
39
+ tabColor: String, //查看全部颜色
40
+ seeAll: Number, // 全部
41
+ photoSize: Number, //图片尺寸
42
+ photoCorner: Number, //图片边角
43
+ fontColor: String, //文字颜色
44
+ backgroundColor: String, //背景颜色
45
+ marginTop: Number, //上边距
46
+ marginBottom: Number, //下边距
47
+ selectImg: Array, //添加图片
48
+ navigationNum: Number, //导航数量
49
+ navList: Array, //导航列表
50
+ },
51
+ },
52
+ mounted() {
53
+ console.log(this.props,555555)
54
+ if (this.props.navigationNum === 5) {
55
+ this.skeleton = ["导航1", "导航2", "导航3", "导航4", "导航5"];
56
+ }
57
+ },
58
+ computed: {
59
+ },
60
+ methods: {
61
+ jump(link) {
62
+ console.log(link,'link')
63
+ if (link) {
64
+ this.$emit("jump", link)
65
+ }
66
+ }
67
+
68
+ },
69
+ };
70
+ </script>
71
+ <style lang="less" scoped>
72
+ .nav_container {
73
+ display: flex;
74
+ flex-direction: column;
75
+ margin: -42px 12px 0;
76
+ background: #fff;
77
+ border-radius: 12px;
78
+ }
79
+ .order_top {
80
+ display: flex;
81
+ justify-content: space-between;
82
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
83
+ padding: 11px;
84
+ .order_title {
85
+ color: #1e1e1e;
86
+ font-size: 14px;
87
+ font-weight: bold;
88
+ }
89
+ .more_title {
90
+ color: #999999;
91
+ font-size: 12px;
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: center;
95
+ }
96
+ }
97
+ .assets_list {
98
+ background: #fff;
99
+ display: flex;
100
+ align-items: center;
101
+ border-radius: 12px;
102
+ flex-wrap: wrap;
103
+
104
+ .assets_item {
105
+ display: flex;
106
+ flex-direction: column;
107
+ align-items: center;
108
+ flex-wrap: wrap;
109
+ justify-content: space-around;
110
+ margin: 10px 0;
111
+ div:first-child {
112
+ font-size: 25px;
113
+ }
114
+ .item_name {
115
+ color: #1e1e1e;
116
+ font-size: 12px;
117
+ margin-top: 6px;
118
+ }
119
+ }
120
+ }
121
+ .navigationNum5 {
122
+ width: 20%;
123
+ }
124
+ .navigationNum4 {
125
+ width: 25%;
126
+ }
127
+ </style>
128
+