@tplc/business 0.2.41 → 0.2.43

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.
@@ -0,0 +1,368 @@
1
+ export const networkReg = /^(http|\/\/)/;
2
+ export const isBase64 = (path) => /^data:image\/(\w+);base64/.test(path);
3
+ export function sleep(delay) {
4
+ return new Promise(resolve => setTimeout(resolve, delay))
5
+ }
6
+ let {platform, SDKVersion} = uni.getSystemInfoSync()
7
+ export const isPC = /windows|mac/.test(platform)
8
+ // 缓存图片
9
+ let cache = {}
10
+ export function isNumber(value) {
11
+ return /^-?\d+(\.\d+)?$/.test(value);
12
+ }
13
+ export function toPx(value, baseSize, isDecimal = false) {
14
+ // 如果是数字
15
+ if (typeof value === 'number') {
16
+ return value
17
+ }
18
+ // 如果是字符串数字
19
+ if (isNumber(value)) {
20
+ return value * 1
21
+ }
22
+ // 如果有单位
23
+ if (typeof value === 'string') {
24
+ const reg = /^-?([0-9]+)?([.]{1}[0-9]+){0,1}(em|rpx|px|%)$/g
25
+ const results = reg.exec(value);
26
+ if (!value || !results) {
27
+ return 0;
28
+ }
29
+ const unit = results[3];
30
+ value = parseFloat(value);
31
+ let res = 0;
32
+ if (unit === 'rpx') {
33
+ res = uni.upx2px(value);
34
+ } else if (unit === 'px') {
35
+ res = value * 1;
36
+ } else if (unit === '%') {
37
+ res = value * toPx(baseSize) / 100;
38
+ } else if (unit === 'em') {
39
+ res = value * toPx(baseSize || 14);
40
+ }
41
+ return isDecimal ? res.toFixed(2) * 1 : Math.round(res);
42
+ }
43
+ return 0
44
+ }
45
+
46
+ // 计算版本
47
+ export function compareVersion(v1, v2) {
48
+ v1 = v1.split('.')
49
+ v2 = v2.split('.')
50
+ const len = Math.max(v1.length, v2.length)
51
+ while (v1.length < len) {
52
+ v1.push('0')
53
+ }
54
+ while (v2.length < len) {
55
+ v2.push('0')
56
+ }
57
+ for (let i = 0; i < len; i++) {
58
+ const num1 = parseInt(v1[i], 10)
59
+ const num2 = parseInt(v2[i], 10)
60
+
61
+ if (num1 > num2) {
62
+ return 1
63
+ } else if (num1 < num2) {
64
+ return -1
65
+ }
66
+ }
67
+ return 0
68
+ }
69
+
70
+ function gte(version) {
71
+ // #ifdef MP-ALIPAY
72
+ SDKVersion = my.SDKVersion
73
+ // #endif
74
+ return compareVersion(SDKVersion, version) >= 0;
75
+ }
76
+ export function canIUseCanvas2d() {
77
+ // #ifdef MP-WEIXIN
78
+ return gte('2.9.2');
79
+ // #endif
80
+ // #ifdef MP-ALIPAY
81
+ return gte('2.7.15');
82
+ // #endif
83
+ // #ifdef MP-TOUTIAO
84
+ return gte('1.78.0');
85
+ // #endif
86
+ return false
87
+ }
88
+
89
+ // #ifdef MP
90
+ export const prefix = () => {
91
+ // #ifdef MP-TOUTIAO
92
+ return tt
93
+ // #endif
94
+ // #ifdef MP-WEIXIN
95
+ return wx
96
+ // #endif
97
+ // #ifdef MP-BAIDU
98
+ return swan
99
+ // #endif
100
+ // #ifdef MP-ALIPAY
101
+ return my
102
+ // #endif
103
+ // #ifdef MP-QQ
104
+ return qq
105
+ // #endif
106
+ // #ifdef MP-360
107
+ return qh
108
+ // #endif
109
+ }
110
+ // #endif
111
+
112
+
113
+
114
+ /**
115
+ * base64转路径
116
+ * @param {Object} base64
117
+ */
118
+ export function base64ToPath(base64) {
119
+ const [, format] = /^data:image\/(\w+);base64,/.exec(base64) || [];
120
+
121
+ return new Promise((resolve, reject) => {
122
+ // #ifdef MP
123
+ const fs = uni.getFileSystemManager()
124
+ //自定义文件名
125
+ if (!format) {
126
+ reject(new Error('ERROR_BASE64SRC_PARSE'))
127
+ }
128
+ const time = new Date().getTime();
129
+ let pre = prefix()
130
+ // #ifdef MP-TOUTIAO
131
+ const filePath = `${pre.getEnvInfoSync().common.USER_DATA_PATH}/${time}.${format}`
132
+ // #endif
133
+ // #ifndef MP-TOUTIAO
134
+ const filePath = `${pre.env.USER_DATA_PATH}/${time}.${format}`
135
+ // #endif
136
+ fs.writeFile({
137
+ filePath,
138
+ data: base64.split(',')[1],
139
+ encoding: 'base64',
140
+ success() {
141
+ resolve(filePath)
142
+ },
143
+ fail(err) {
144
+ console.error(err)
145
+ reject(err)
146
+ }
147
+ })
148
+ // #endif
149
+
150
+ // #ifdef H5
151
+ // mime类型
152
+ let mimeString = base64.split(',')[0].split(':')[1].split(';')[0];
153
+ //base64 解码
154
+ let byteString = atob(base64.split(',')[1]);
155
+ //创建缓冲数组
156
+ let arrayBuffer = new ArrayBuffer(byteString.length);
157
+ //创建视图
158
+ let intArray = new Uint8Array(arrayBuffer);
159
+ for (let i = 0; i < byteString.length; i++) {
160
+ intArray[i] = byteString.charCodeAt(i);
161
+ }
162
+ resolve(URL.createObjectURL(new Blob([intArray], {
163
+ type: mimeString
164
+ })))
165
+ // #endif
166
+
167
+ // #ifdef APP-PLUS
168
+ const bitmap = new plus.nativeObj.Bitmap('bitmap' + Date.now())
169
+ bitmap.loadBase64Data(base64, () => {
170
+ if (!format) {
171
+ reject(new Error('ERROR_BASE64SRC_PARSE'))
172
+ }
173
+ const time = new Date().getTime();
174
+ const filePath = `_doc/uniapp_temp/${time}.${format}`
175
+ bitmap.save(filePath, {},
176
+ () => {
177
+ bitmap.clear()
178
+ resolve(filePath)
179
+ },
180
+ (error) => {
181
+ bitmap.clear()
182
+ reject(error)
183
+ })
184
+ }, (error) => {
185
+ bitmap.clear()
186
+ reject(error)
187
+ })
188
+ // #endif
189
+ })
190
+ }
191
+
192
+ /**
193
+ * 路径转base64
194
+ * @param {Object} string
195
+ */
196
+ export function pathToBase64(path) {
197
+ if (/^data:/.test(path)) return path
198
+ return new Promise((resolve, reject) => {
199
+ // #ifdef H5
200
+ let image = new Image();
201
+ image.setAttribute("crossOrigin", 'Anonymous');
202
+ image.onload = function() {
203
+ let canvas = document.createElement('canvas');
204
+ canvas.width = this.naturalWidth;
205
+ canvas.height = this.naturalHeight;
206
+ canvas.getContext('2d').drawImage(image, 0, 0);
207
+ let result = canvas.toDataURL('image/png')
208
+ resolve(result);
209
+ canvas.height = canvas.width = 0
210
+ }
211
+ image.src = path + '?v=' + Math.random()
212
+ image.onerror = (error) => {
213
+ reject(error);
214
+ };
215
+ // #endif
216
+
217
+ // #ifdef MP
218
+ if (uni.canIUse('getFileSystemManager')) {
219
+ uni.getFileSystemManager().readFile({
220
+ filePath: path,
221
+ encoding: 'base64',
222
+ success: (res) => {
223
+ resolve('data:image/png;base64,' + res.data)
224
+ },
225
+ fail: (error) => {
226
+ console.error({error, path})
227
+ reject(error)
228
+ }
229
+ })
230
+ }
231
+ // #endif
232
+
233
+ // #ifdef APP-PLUS
234
+ plus.io.resolveLocalFileSystemURL(getLocalFilePath(path), (entry) => {
235
+ entry.file((file) => {
236
+ const fileReader = new plus.io.FileReader()
237
+ fileReader.onload = (data) => {
238
+ resolve(data.target.result)
239
+ }
240
+ fileReader.onerror = (error) => {
241
+ reject(error)
242
+ }
243
+ fileReader.readAsDataURL(file)
244
+ }, reject)
245
+ }, reject)
246
+ // #endif
247
+ })
248
+ }
249
+
250
+
251
+
252
+ export function getImageInfo(path, useCORS) {
253
+ const isCanvas2D = this && this.canvas && this.canvas.createImage
254
+ return new Promise(async (resolve, reject) => {
255
+ // let time = +new Date()
256
+ let src = path.replace(/^@\//,'/')
257
+ if (cache[path] && cache[path].errMsg) {
258
+ resolve(cache[path])
259
+ } else {
260
+ try {
261
+ // #ifdef MP || APP-PLUS
262
+ if (isBase64(path) && (isCanvas2D ? isPC : true)) {
263
+ src = await base64ToPath(path)
264
+ }
265
+ // #endif
266
+ // #ifdef H5
267
+ if(useCORS) {
268
+ src = await pathToBase64(path)
269
+ }
270
+ // #endif
271
+ } catch (error) {
272
+ reject({
273
+ ...error,
274
+ src
275
+ })
276
+ }
277
+ // #ifndef APP-NVUE
278
+ if(isCanvas2D && !isPC) {
279
+ const img = this.canvas.createImage()
280
+ img.onload = function() {
281
+ const image = {
282
+ path: img,
283
+ width: img.width,
284
+ height: img.height
285
+ }
286
+ cache[path] = image
287
+ resolve(cache[path])
288
+ }
289
+ img.onerror = function(err) {
290
+ reject({err,path})
291
+ }
292
+ img.src = src
293
+ return
294
+ }
295
+ // #endif
296
+ uni.getImageInfo({
297
+ src,
298
+ success: (image) => {
299
+ const localReg = /^\.|^\/(?=[^\/])/;
300
+ // #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO
301
+ image.path = localReg.test(src) ? `/${image.path}` : image.path;
302
+ // #endif
303
+ if(isCanvas2D) {
304
+ const img = this.canvas.createImage()
305
+ img.onload = function() {
306
+ image.path = img
307
+ cache[path] = image
308
+ resolve(cache[path])
309
+ }
310
+ img.onerror = function(err) {
311
+ reject({err,path})
312
+ }
313
+ img.src = src
314
+ return
315
+ }
316
+ // #ifdef APP-PLUS
317
+ // console.log('getImageInfo', +new Date() - time)
318
+ // ios 比较严格 可能需要设置跨域
319
+ if(uni.getSystemInfoSync().osName == 'ios' && useCORS) {
320
+ pathToBase64(image.path).then(base64 => {
321
+ image.path = base64
322
+ cache[path] = image
323
+ resolve(cache[path])
324
+ }).catch(err => {
325
+ console.error({err, path})
326
+ reject({err,path})
327
+ })
328
+ return
329
+ }
330
+ // #endif
331
+ cache[path] = image
332
+ resolve(cache[path])
333
+ },
334
+ fail(err) {
335
+ console.error({err, path})
336
+ reject({err,path})
337
+ }
338
+ })
339
+ }
340
+ })
341
+ }
342
+
343
+
344
+ // #ifdef APP-PLUS
345
+ const getLocalFilePath = (path) => {
346
+ if (path.indexOf('_www') === 0 || path.indexOf('_doc') === 0 || path.indexOf('_documents') === 0 || path
347
+ .indexOf('_downloads') === 0) {
348
+ return path
349
+ }
350
+ if (path.indexOf('file://') === 0) {
351
+ return path
352
+ }
353
+ if (path.indexOf('/storage/emulated/0/') === 0) {
354
+ return path
355
+ }
356
+ if (path.indexOf('/') === 0) {
357
+ const localFilePath = plus.io.convertAbsoluteFileSystem(path)
358
+ if (localFilePath !== path) {
359
+ return localFilePath
360
+ } else {
361
+ path = path.substr(1)
362
+ }
363
+ }
364
+ return '_www/' + path
365
+ }
366
+ // #endif
367
+
368
+
@@ -13,6 +13,9 @@ defineOptions({
13
13
  // const attrs = useAttrs()
14
14
 
15
15
  const itemProps: any = inject('lcb-product-item-props')
16
+ const itemAttrs: any = inject('lcb-product-item-attrs')
17
+
18
+ // console.log('itemAttrs', itemAttrs)
16
19
 
17
20
  const props = withDefaults(
18
21
  defineProps<{
@@ -53,7 +56,19 @@ const className = computed(() => {
53
56
  return `${itemProps?.[`${props?.prop}Class`] ?? ''} ${props?.customClass}`
54
57
  })
55
58
  const style = computed(() => {
56
- return itemProps?.[`${props?.prop}Style`] ?? ''
59
+ const style = itemProps?.[`${props?.prop}Style`] ?? {}
60
+
61
+ const fontSize = itemAttrs?.[`${props?.prop}FontSize`]
62
+ const fontWeight = itemAttrs?.[`${props?.prop}Bold`] === true ? 'bold' : 'normal'
63
+ const color = itemAttrs?.[`${props?.prop}Color`]
64
+
65
+ return {
66
+ fontSize,
67
+ fontWeight,
68
+ color,
69
+ ...style,
70
+ }
71
+ // return itemProps?.[`${props?.prop}Style`] ?? ''
57
72
  })
58
73
  const value = computed(() => {
59
74
  if (props?.prop === 'coverImg') {
@@ -25,7 +25,7 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
25
25
  priceUnit: '¥',
26
26
  scribePriceUnit: '¥',
27
27
  coverImgVisible: true,
28
- titleVisible: true,
28
+ productNameVisible: true,
29
29
  subTitleVisible: true,
30
30
  priceVisible: true,
31
31
  userInfoVisible: false,
@@ -35,7 +35,7 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
35
35
  scribePriceVisible: true,
36
36
  scribePriceUnitVisible: true,
37
37
  scribePriceSuffixVisible: true,
38
- scoreVisible: true,
38
+ scoreAvgVisible: true,
39
39
  scoreTipsVisible: true,
40
40
  levelVisible: true,
41
41
  imgCornerIconVisible: true,
@@ -49,6 +49,7 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
49
49
  })
50
50
  const attrs = useAttrs()
51
51
  provide('lcb-product-item-props', props)
52
+ provide('lcb-product-item-attrs', attrs)
52
53
 
53
54
  defineSlots<{
54
55
  coverImg(props: { value: any }): any
@@ -41,7 +41,7 @@ export interface LcbProductItemProps {
41
41
  orderTips?: any
42
42
 
43
43
  coverImgVisible?: boolean
44
- titleVisible?: boolean
44
+ productNameVisible?: boolean
45
45
  subTitleVisible?: boolean
46
46
  userInfoVisible?: boolean
47
47
  priceVisible?: boolean
@@ -54,7 +54,7 @@ export interface LcbProductItemProps {
54
54
  tagsVisible?: boolean
55
55
  addressIntroVisible?: boolean
56
56
  distanceVisible?: boolean
57
- scoreVisible?: boolean
57
+ scoreAvgVisible?: boolean
58
58
  scoreTipsVisible?: boolean
59
59
  levelVisible?: boolean
60
60
  imgCornerIconVisible?: boolean
@@ -64,7 +64,7 @@ export interface LcbProductItemProps {
64
64
  orderTipsVisible?: boolean
65
65
 
66
66
  coverImgClass?: string
67
- titleClass?: string
67
+ productNameClass?: string
68
68
  subTitleClass?: string
69
69
  priceClass?: string
70
70
  priceUnitClass?: string
@@ -77,7 +77,7 @@ export interface LcbProductItemProps {
77
77
  tagsWrapperClass?: string
78
78
  addressIntroClass?: string
79
79
  distanceClass?: string
80
- scoreClass?: string
80
+ scoreAvgClass?: string
81
81
  scoreTipsClass?: string
82
82
  levelClass?: string
83
83
  imgCornerIconClass?: string
@@ -87,7 +87,7 @@ export interface LcbProductItemProps {
87
87
  orderTipsClass?: string
88
88
 
89
89
  coverImgStyle?: CSSProperties
90
- titleStyle?: CSSProperties
90
+ productNameStyle?: CSSProperties
91
91
  subTitleStyle?: CSSProperties
92
92
  priceStyle?: CSSProperties
93
93
  priceUnitStyle?: CSSProperties
@@ -100,7 +100,7 @@ export interface LcbProductItemProps {
100
100
  tagsWrapperStyle?: CSSProperties
101
101
  addressIntroStyle?: CSSProperties
102
102
  distanceStyle?: CSSProperties
103
- scoreStyle?: CSSProperties
103
+ scoreAvgStyle?: CSSProperties
104
104
  scoreTipsStyle?: CSSProperties
105
105
  levelStyle?: CSSProperties
106
106
  imgCornerIconStyle?: CSSProperties
package/global.d.ts CHANGED
@@ -22,6 +22,7 @@ declare module 'vue' {
22
22
  'lcb-map': (typeof import('./types/components/lcb-map/lcb-map.vue'))['default']
23
23
  'lcb-nav': (typeof import('./types/components/lcb-nav/lcb-nav.vue'))['default']
24
24
  'lcb-notice': (typeof import('./types/components/lcb-notice/lcb-notice.vue'))['default']
25
+ 'lcb-poster': (typeof import('./types/components/lcb-poster/lcb-poster.vue'))['default']
25
26
  'lcb-product': (typeof import('./types/components/lcb-product/lcb-product.vue'))['default']
26
27
  'lcb-product-item': (typeof import('./types/components/lcb-product-item/lcb-product-item.vue'))['default']
27
28
  'lcb-rich-text': (typeof import('./types/components/lcb-rich-text/lcb-rich-text.vue'))['default']
@@ -33,6 +34,7 @@ declare module 'vue' {
33
34
  'lcb-user-top': (typeof import('./types/components/lcb-user-top/lcb-user-top.vue'))['default']
34
35
  'lcb-video': (typeof import('./types/components/lcb-video/lcb-video.vue'))['default']
35
36
  'lcb-vip': (typeof import('./types/components/lcb-vip/lcb-vip.vue'))['default']
37
+ 'lcb-waterfall-item': (typeof import('./types/components/lcb-waterfall/lcb-waterfall-item.vue'))['default']
36
38
  'lcb-waterfall': (typeof import('./types/components/lcb-waterfall/lcb-waterfall.vue'))['default']
37
39
  }
38
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.41",
3
+ "version": "0.2.43",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -60,6 +60,8 @@ declare const __VLS_component: import('vue').DefineComponent<
60
60
  import('vue').ComponentOptionsMixin,
61
61
  {
62
62
  'update:modelValue': (modelValue: number[]) => void
63
+ open: (...args: any[]) => void
64
+ cancel: (...args: any[]) => void
63
65
  },
64
66
  string,
65
67
  import('vue').PublicProps,
@@ -116,6 +118,8 @@ declare const __VLS_component: import('vue').DefineComponent<
116
118
  }>
117
119
  > & {
118
120
  'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
121
+ onCancel?: ((...args: any[]) => any) | undefined
122
+ onOpen?: ((...args: any[]) => any) | undefined
119
123
  },
120
124
  {
121
125
  customClass: string
@@ -0,0 +1,70 @@
1
+ declare const _default: {
2
+ code: string
3
+ count: number
4
+ data: {
5
+ address: string
6
+ agentId: string
7
+ areaId: string
8
+ areaName: string
9
+ auditDateTime: string
10
+ auditRemark: string
11
+ auditStatus: number
12
+ behindUnit: string
13
+ bigIcon: boolean
14
+ businessStatus: number
15
+ cityAreaName: string
16
+ cityId: string
17
+ cityName: string
18
+ clickCount: number
19
+ collectCount: number
20
+ collectFlag: boolean
21
+ commentCount: number
22
+ coverImg: string
23
+ createDate: string
24
+ distance: string
25
+ hideTags: string
26
+ hierarchy: number
27
+ lastModifyDate: string
28
+ latitude: string
29
+ level: string
30
+ longitude: string
31
+ mapShowFlag: boolean
32
+ marketingType: number
33
+ merchantHeadId: string
34
+ merchantId: string
35
+ orderCount: number
36
+ orderSkuCount: number
37
+ peopleNumScope: string
38
+ phone: string
39
+ poiId: string
40
+ poiName: string
41
+ poiNameI18n: string
42
+ poiType: string
43
+ praiseCount: number
44
+ praiseFlag: boolean
45
+ price: number
46
+ productId: string
47
+ productName: string
48
+ productNameI18n: string
49
+ productType: string
50
+ provinceId: string
51
+ provinceName: string
52
+ scribePrice: number
53
+ showDateFlag: boolean
54
+ startDateStr: string
55
+ startTime: string
56
+ status: number
57
+ tags: string
58
+ weightSort: string
59
+ subTitle: string
60
+ scoreAvg: number
61
+ scoreTips: string
62
+ titleIcon: string
63
+ userInteractionInfo: string
64
+ orderTips: string
65
+ priceTips: string
66
+ }[]
67
+ dataClass: string
68
+ traceId: string
69
+ }
70
+ export default _default
@@ -0,0 +1,50 @@
1
+ declare const _default: import('vue').DefineComponent<
2
+ {},
3
+ {},
4
+ {
5
+ use2dCanvas: boolean
6
+ canvasHeight: number
7
+ canvasWidth: null
8
+ parentWidth: number
9
+ inited: boolean
10
+ progress: number
11
+ firstRender: number
12
+ done: boolean
13
+ tasks: never[]
14
+ },
15
+ {
16
+ styles(): string
17
+ canvasId(): string
18
+ size(): string | undefined
19
+ dpr(): any
20
+ boardWidth(): any
21
+ boardHeight(): any
22
+ hasBoard(): any
23
+ elements(): any
24
+ },
25
+ {
26
+ watchRender(val: any, old: any): Promise<void>
27
+ setFilePath(path: any, param: any): Promise<any>
28
+ getSize(args: any): Promise<void>
29
+ canvasToTempFilePathSync(args: any): void
30
+ runTask(): void
31
+ getParentWeith(): Promise<any>
32
+ render(args?: {}): Promise<void | {
33
+ ctx: any
34
+ draw: any
35
+ node: any
36
+ }>
37
+ canvasDraw(flag?: boolean): Promise<any>
38
+ getContext(): Promise<any>
39
+ canvasToTempFilePath(args?: {}): Promise<any>
40
+ },
41
+ any,
42
+ import('vue').ComponentOptionsMixin,
43
+ {},
44
+ string,
45
+ import('vue').PublicProps,
46
+ Readonly<import('vue').ExtractPropTypes<{}>>,
47
+ {},
48
+ {}
49
+ >
50
+ export default _default
@@ -78,7 +78,7 @@ declare const __VLS_component: import('vue').DefineComponent<
78
78
  priceUnit: string
79
79
  scribePriceUnit: string
80
80
  coverImgVisible: boolean
81
- titleVisible: boolean
81
+ productNameVisible: boolean
82
82
  subTitleVisible: boolean
83
83
  priceVisible: boolean
84
84
  userInfoVisible: boolean
@@ -88,7 +88,7 @@ declare const __VLS_component: import('vue').DefineComponent<
88
88
  scribePriceVisible: boolean
89
89
  scribePriceUnitVisible: boolean
90
90
  scribePriceSuffixVisible: boolean
91
- scoreVisible: boolean
91
+ scoreAvgVisible: boolean
92
92
  scoreTipsVisible: boolean
93
93
  levelVisible: boolean
94
94
  imgCornerIconVisible: boolean
@@ -127,7 +127,7 @@ declare const __VLS_component: import('vue').DefineComponent<
127
127
  priceUnit: string
128
128
  scribePriceUnit: string
129
129
  coverImgVisible: boolean
130
- titleVisible: boolean
130
+ productNameVisible: boolean
131
131
  subTitleVisible: boolean
132
132
  priceVisible: boolean
133
133
  userInfoVisible: boolean
@@ -137,7 +137,7 @@ declare const __VLS_component: import('vue').DefineComponent<
137
137
  scribePriceVisible: boolean
138
138
  scribePriceUnitVisible: boolean
139
139
  scribePriceSuffixVisible: boolean
140
- scoreVisible: boolean
140
+ scoreAvgVisible: boolean
141
141
  scoreTipsVisible: boolean
142
142
  levelVisible: boolean
143
143
  imgCornerIconVisible: boolean
@@ -165,7 +165,7 @@ declare const __VLS_component: import('vue').DefineComponent<
165
165
  distanceUnit: string
166
166
  imageType: 'square' | 'vertical' | 'horizontal'
167
167
  coverImgVisible: boolean
168
- titleVisible: boolean
168
+ productNameVisible: boolean
169
169
  subTitleVisible: boolean
170
170
  userInfoVisible: boolean
171
171
  priceVisible: boolean
@@ -178,7 +178,7 @@ declare const __VLS_component: import('vue').DefineComponent<
178
178
  tagsVisible: boolean
179
179
  addressIntroVisible: boolean
180
180
  distanceVisible: boolean
181
- scoreVisible: boolean
181
+ scoreAvgVisible: boolean
182
182
  scoreTipsVisible: boolean
183
183
  levelVisible: boolean
184
184
  imgCornerIconVisible: boolean