@aochuang/common 1.0.149 → 1.0.151
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.
|
@@ -74,7 +74,7 @@ export default {
|
|
|
74
74
|
},
|
|
75
75
|
mapUrl () {
|
|
76
76
|
if (this.type === 'amap') {
|
|
77
|
-
return `https://
|
|
77
|
+
return `https://restapi.amap.com/v3/staticmap?location=${this.amapCenter}&zoom=15&size=${this.size}&markers=mid,,A:${this.amapCenter}&key=${this.mapKey}`
|
|
78
78
|
}
|
|
79
79
|
return `https://apis.map.qq.com/ws/staticmap/v2/?size=${this.size}&key=${this.mapKey}¢er=${this.center}&markers=color:blue|${this.center}&zoom=15&sig=${this.sign}`
|
|
80
80
|
}
|
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
if (!isNaN(thumbnailWidth)) {
|
|
258
258
|
thumbnailWidth = thumbnailWidth * 1.5
|
|
259
259
|
} else {
|
|
260
|
-
thumbnailWidth =
|
|
260
|
+
thumbnailWidth = 1800 // 给个稍微大一点的值,因为客户那边有时候是要直接把图片拖拽到其他软件里面,太小了就模糊了
|
|
261
261
|
}
|
|
262
262
|
this.source = formatOssPath(getThumbnailSrc(this.src, thumbnailWidth))
|
|
263
263
|
} else {
|