dolphin-weex-ui 2.4.22 → 2.4.23
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/CHANGELOG.md +5 -0
- package/dist/index.native.js +44 -4
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +44 -7
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-result/index.vue +21 -4
- package/packages/utils/index.js +15 -0
package/dist/index.web.js
CHANGED
|
@@ -904,6 +904,21 @@ var Utils = {
|
|
|
904
904
|
}
|
|
905
905
|
return false;
|
|
906
906
|
},
|
|
907
|
+
toNum: function toNum(a) {
|
|
908
|
+
a = a.toString();
|
|
909
|
+
var c = a.split('.');
|
|
910
|
+
var r = ['0000', '000', '00', '0', ''];
|
|
911
|
+
for (var i = 0; i < c.length; i++) {
|
|
912
|
+
var len = c[i].length;
|
|
913
|
+
c[i] = r[len] + c[i];
|
|
914
|
+
}
|
|
915
|
+
var res = c.join('');
|
|
916
|
+
return res;
|
|
917
|
+
},
|
|
918
|
+
compareVersionNew: function compareVersionNew(a) {
|
|
919
|
+
// 判断当前版本是否大于等于比较的版本
|
|
920
|
+
return this.toNum(weex.config.env.appVersion) >= this.toNum(a);
|
|
921
|
+
},
|
|
907
922
|
|
|
908
923
|
/**
|
|
909
924
|
* 分割数组
|
|
@@ -8627,7 +8642,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
8627
8642
|
|
|
8628
8643
|
|
|
8629
8644
|
// module
|
|
8630
|
-
exports.push([module.i, "\n.wrapper[data-v-44d44e58] {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.dof-result[data-v-44d44e58] {\n /* width: 750px; */\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n flex: 1;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n /* background-color: #f9f9f9; */\n}\n.result-image[data-v-44d44e58] {\n width: 4.26667rem;\n height: 4.26667rem;\n}\n.result-content[data-v-44d44e58] {\n margin-top: 0px;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n.content-text[data-v-44d44e58] {\n height: auto;\n font-family: PingFangSC-Regular;\n font-size: 0.37333rem;\n color: #616c73;\n letter-spacing: 0;\n text-align: center;\n line-height: 0.48rem;\n width: 8rem;\n}\n.content-desc[data-v-44d44e58] {\n margin-top: 0.10667rem;\n}\n.result-button[data-v-44d44e58] {\n margin-top: 0.64rem;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n}\n.btn-sub-text[data-v-44d44e58] {\n font-family: PingFangSC-Medium;\n font-size: 0.37333rem;\n color: #00a4f2;\n letter-spacing: 0;\n text-align: center;\n line-height: 0.37333rem;\n margin-top: 0.42667rem;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-result/index.vue?
|
|
8645
|
+
exports.push([module.i, "\n.wrapper[data-v-44d44e58] {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.dof-result[data-v-44d44e58] {\n /* width: 750px; */\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n flex: 1;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n /* background-color: #f9f9f9; */\n}\n.result-image[data-v-44d44e58] {\n width: 4.26667rem;\n height: 4.26667rem;\n}\n.result-image-new[data-v-44d44e58] {\n width: 460x;\n height: 5.12rem;\n}\n.result-content[data-v-44d44e58] {\n margin-top: 0px;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n.content-text[data-v-44d44e58] {\n height: auto;\n font-family: PingFangSC-Regular;\n font-size: 0.37333rem;\n color: #616c73;\n letter-spacing: 0;\n text-align: center;\n line-height: 0.48rem;\n width: 8rem;\n}\n.content-desc[data-v-44d44e58] {\n margin-top: 0.10667rem;\n}\n.result-button[data-v-44d44e58] {\n margin-top: 0.64rem;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n}\n.btn-sub-text[data-v-44d44e58] {\n font-family: PingFangSC-Medium;\n font-size: 0.37333rem;\n color: #00a4f2;\n letter-spacing: 0;\n text-align: center;\n line-height: 0.37333rem;\n margin-top: 0.42667rem;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-result/index.vue?9062430c"],"names":[],"mappings":";AAkCA;EACA,mBAAA;EACA,OAAA;EACA,QAAA;EACA,SAAA;EACA,UAAA;CACA;AAEA;EACA,mBAAA;EACA,oBAAA;EAAA,gBAAA;UAAA,QAAA;EACA,0BAAA;EAAA,4BAAA;UAAA,oBAAA;EACA,yBAAA;EAAA,gCAAA;UAAA,wBAAA;EACA,gCAAA;CACA;AAEA;EACA,kBAAA;EACA,mBAAA;CACA;AAEA;EACA,YAAA;EACA,gBAAA;CACA;AAEA;EACA,gBAAA;EACA,0BAAA;EAAA,4BAAA;UAAA,oBAAA;CACA;AAEA;EACA,aAAA;EACA,gCAAA;EACA,sBAAA;EACA,eAAA;EACA,kBAAA;EACA,mBAAA;EACA,qBAAA;EACA,YAAA;CACA;AAEA;EACA,uBAAA;CACA;AAEA;EACA,oBAAA;EACA,0BAAA;EAAA,4BAAA;UAAA,oBAAA;EACA,yBAAA;EAAA,gCAAA;UAAA,wBAAA;CACA;AAEA;EACA,+BAAA;EACA,sBAAA;EACA,eAAA;EACA,kBAAA;EACA,mBAAA;EACA,wBAAA;EACA,uBAAA;CACA","file":"index.vue","sourcesContent":["<template>\n <div class=\"wrapper\" v-if=\"show\" :style=\"wrapStyle\">\n <div class=\"dof-result\" :style=\"{ top: setPaddingTop, backgroundColor: bgColor_ }\">\n <image\n :class=\"[isNewVersion ? 'result-image-new' : 'result-image']\"\n :aria-hidden=\"true\"\n :src=\"resultType.pic\"\n :style=\"imgStyle\"\n ></image>\n <slot name=\"text\">\n <div class=\"result-content\" v-if=\"resultType.content\">\n <text class=\"content-text\">{{ resultType.content }}</text>\n <text class=\"content-text content-desc\" v-if=\"resultType.desc\">{{ resultType.desc }}</text>\n </div>\n </slot>\n\n <div class=\"result-button\" @touchend=\"handleTouchEnd\">\n <slot name=\"button\">\n <dof-button\n v-if=\"resultType.button\"\n size=\"medium\"\n :btnStyle=\"{ width: 'auto', overflow: 'hidden', minWidth: '240px', maxWidth: '480px' }\"\n :textStyle=\"{ textOverflow: 'none', maxWidth: '418px', marginLeft: 0, textAlign: 'center' }\"\n :text=\"resultType.button\"\n @dofButtonClicked=\"onClick\"\n ></dof-button>\n </slot>\n <text class=\"btn-sub-text\" v-if=\"resultType.btnSubTitle\" @click=\"onSubClick\">{{ resultType.btnSubTitle }}</text>\n </div>\n </div>\n </div>\n</template>\n\n<style scoped>\n.wrapper {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n.dof-result {\n /* width: 750px; */\n flex: 1;\n align-items: center;\n justify-content: center;\n /* background-color: #f9f9f9; */\n}\n\n.result-image {\n width: 320px;\n height: 320px;\n}\n\n.result-image-new {\n width: 460x;\n height: 384px;\n}\n\n.result-content {\n margin-top: 0px;\n align-items: center;\n}\n\n.content-text {\n height: auto;\n font-family: PingFangSC-Regular;\n font-size: 28px;\n color: #616c73;\n letter-spacing: 0;\n text-align: center;\n line-height: 36px;\n width: 600px;\n}\n\n.content-desc {\n margin-top: 8px;\n}\n\n.result-button {\n margin-top: 48px;\n align-items: center;\n justify-content: center;\n}\n\n.btn-sub-text {\n font-family: PingFangSC-Medium;\n font-size: 28px;\n color: #00a4f2;\n letter-spacing: 0;\n text-align: center;\n line-height: 28px;\n margin-top: 32px;\n}\n</style>\n<style scoped src=\"./colmo.css\"></style>\n\n<script>\nimport DofButton from '../dof-button'\nimport imgs from './imgs'\nimport ColmoMixin from '../../mixins/colmo'\nimport DiabloMixin from '../../mixins/diablo'\nimport Utils from '../utils/index.js'\n\nconst defaultPicBaseUrl = imageName => `meiju://common/emptyImage?imageName=${imageName}`\nconst isNewVersion = Utils.compareVersionNew('11.4.15')\nconst Types = {\n noNetwork: {\n pic: isNewVersion ? defaultPicBaseUrl('img_empty_02_disconnection') : imgs['noNetwork'],\n content: '网络异常,请检查您的网络设置'\n // button: '刷新'\n },\n noUpdate: {\n pic: isNewVersion ? defaultPicBaseUrl('img_empty_03_update') : imgs['noUpdate'],\n content: '当前版本较低',\n desc: '请更新到最新版APP'\n },\n noPage: {\n pic: isNewVersion ? defaultPicBaseUrl('img_empty_04_content') : imgs['noPage'],\n content: '找不到页面'\n },\n colmo: {\n pic: imgs['colmo']\n }\n}\nexport default {\n mixins: [ColmoMixin, DiabloMixin],\n components: {\n DofButton\n },\n props: {\n type: {\n type: String,\n default: ''\n },\n configuration: {\n type: Object,\n default: () => ({})\n },\n show: {\n type: Boolean,\n default: true\n },\n wrapStyle: Object,\n paddingTop: {\n type: [Number, String],\n default: '-80'\n },\n bgColor: {\n type: String,\n default: ''\n },\n imgStyle: {\n type: Object,\n default: () => ({})\n }\n },\n computed: {\n isNewVersion() {\n return Utils.compareVersionNew('11.4.15')\n },\n type_() {\n if (this.type) return this.type\n return this._isColmo ? 'colmo' : 'noPage'\n },\n bgColor_() {\n if (this.bgColor) return this.bgColor\n return this._isColmo ? '#151617' : this._isDiablo ? '#101315' : '#ffffff'\n },\n resultType() {\n return {\n ...(Types[this.type_] ? Types[this.type_] : {}),\n ...this.configuration\n }\n },\n setPaddingTop() {\n const paddingTop = this.paddingTop\n return `${paddingTop}px`\n }\n },\n methods: {\n handleTouchEnd(e) {\n // web上面有点击穿透问题\n const { platform } = weex.config.env\n platform === 'Web' && e.preventDefault && e.preventDefault()\n },\n onClick() {\n this.$emit('dofResultButtonClicked', { ...this.configuration })\n },\n onSubClick() {\n this.$emit('dofResultSubButtonClicked', { ...this.configuration })\n }\n }\n}\n</script>\n"],"sourceRoot":""}]);
|
|
8631
8646
|
|
|
8632
8647
|
// exports
|
|
8633
8648
|
|
|
@@ -9355,7 +9370,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
9355
9370
|
|
|
9356
9371
|
|
|
9357
9372
|
// module
|
|
9358
|
-
exports.push([module.i, "\n.indicator[data-v-7ecb2930] {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 0.26667rem;\n height: 0.26667rem;\n bottom: 0.32rem;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n width: 0.26667rem;\n height: 0.26667rem;\n}\n.indicator .weex-indicator-item.weex-indicator-item-active[data-v-7ecb2930] {\n background-color: #ffc300;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n background-color: rgba(255, 195, 0, .5);\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/index.vue?25abe080","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css
|
|
9373
|
+
exports.push([module.i, "\n.indicator[data-v-7ecb2930] {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 0.26667rem;\n height: 0.26667rem;\n bottom: 0.32rem;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n width: 0.26667rem;\n height: 0.26667rem;\n}\n.indicator .weex-indicator-item.weex-indicator-item-active[data-v-7ecb2930] {\n background-color: #ffc300;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n background-color: rgba(255, 195, 0, .5);\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/index.vue?25abe080","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 15>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 14>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 13>"],"names":[],"mappings":";AA6BA;EACA,mBAAA;EACA,kCAAA;EACA,6BAAA;EACA,sBAAA;EACA,mBAAA;EACA,gBAAA;CACA;ACnCA;EACE,kBAAY;EACZ,mBAAa;CACd;ACHD;EACE,0BAA0B;CAC3B;ACFD;EACE,wCAAwC;CACzC","file":"index.vue","sourcesContent":["<template>\n <dof-mask :width=\"width\"\n :height=\"height\"\n aria-hidden=\"true\"\n mask-bg-color=\"transparent\"\n overlay-opacity=\"0.8\"\n :show=\"show\"\n :opacity='opacity'\n :show-close=\"false\"\n @dofMaskSetHidden=\"maskOverlayClick\">\n <slider auto-play=\"false\"\n v-if=\"show\"\n :index=\"index\"\n :interval=\"interval\"\n :style=\"{ height: height + 'px'}\">\n <div v-for=\"(v,index) in imageList\"\n :style=\"{ height: height + 'px'}\"\n :key=\"index\">\n <image resize=\"cover\"\n :src=\"v.src\"\n :style=\"{ height: height + 'px', width: width + 'px'}\"></image>\n </div>\n <indicator class=\"indicator\"\n :style=\"indicatorStyle\"></indicator>\n </slider>\n </dof-mask>\n</template>\n\n<style scoped>\n .indicator {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 20px;\n height: 20px;\n bottom: 24px;\n }\n</style>\n\n<script>\n import DofMask from '../dof-mask';\n\n export default {\n components: {\n DofMask\n },\n props: {\n width: {\n type: [Number, String],\n default: 750\n },\n height: {\n type: [Number, String],\n default: 750\n },\n show: {\n type: Boolean,\n default: false\n },\n imageList: Array,\n indicatorColor: {\n type: Object,\n default: () => ({\n 'item-color': 'rgba(255, 195, 0, .5)',\n 'item-selected-color': '#ffc300',\n 'item-size': '20px'\n })\n },\n index: {\n type: [Number, String],\n default: 0\n },\n interval: {\n type: [Number, String],\n default: 3000\n },\n opacity: {\n type: [Number, String],\n default: 0.6\n }\n },\n computed: {\n indicatorStyle () {\n return {\n width: this.width + 'px',\n ...this.indicatorColor\n };\n }\n },\n methods: {\n maskOverlayClick () {\n this.$emit('dofLightboxOverlayClicked', {});\n }\n }\n };\n</script>\n","\n.indicator .weex-indicator-item {\n width: 20px;\n height: 20px;\n}","\n.indicator .weex-indicator-item.weex-indicator-item-active {\n background-color: #ffc300;\n}","\n.indicator .weex-indicator-item {\n background-color: rgba(255, 195, 0, .5);\n}"],"sourceRoot":""}]);
|
|
9359
9374
|
|
|
9360
9375
|
// exports
|
|
9361
9376
|
|
|
@@ -9733,7 +9748,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
9733
9748
|
|
|
9734
9749
|
|
|
9735
9750
|
// module
|
|
9736
|
-
exports.push([module.i, "\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 0.66667rem;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n width: 0.18667rem;\n height: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 0.21333rem;\n}\n.image {\n border-radius: 0.21333rem;\n /* background-color: #f2f2f2; */\n}\n.div_out {\n border-radius: 0.21333rem;\n position: relative;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/index.vue?c4f8ca12","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css
|
|
9751
|
+
exports.push([module.i, "\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 0.66667rem;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n width: 0.18667rem;\n height: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 0.21333rem;\n}\n.image {\n border-radius: 0.21333rem;\n /* background-color: #f2f2f2; */\n}\n.div_out {\n border-radius: 0.21333rem;\n position: relative;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/index.vue?c4f8ca12","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css 17>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css 16>"],"names":[],"mappings":";AAkCA;EACA,mBAAA;EACA,UAAA;EACA,QAAA;EACA,SAAA;EACA,mBAAA;EACA,qCAAA;EACA,2CAAA;EACA,sBAAA;CACA;AC1CA;EACE,kBAAY;EACZ,mBAAa;CACd;ACHD;EACE,2CAA2C;CAC5C;AFyCD;EACA,gCAAA;EACA,wBAAA;EACA,0BAAA;CACA;AACA;EACA,0BAAA;EACA,gCAAA;CACA;AACA;EACA,0BAAA;EACA,mBAAA;CACA","file":"index.vue","sourcesContent":["<template>\n <div :style=\"{ marginLeft: divLeft, width: imgWidth }\" class=\"div_out\">\n <slider\n class=\"slider\"\n :style=\"sliderStyle\"\n :interval=\"interval\"\n @change=\"change\"\n :auto-play=\"autoplay\"\n :infinite=\"infinite\"\n >\n <div v-for=\"(item, index) in slItems\" :key=\"index\" @click=\"imgClicked(item, index)\">\n <image\n :resize=\"imgResize\"\n :style=\"{ width: imgWidth, height: imgHeight, backgroundColor: imageBgColor }\"\n :src=\"item.url\"\n :placeholder=\"phImgUrl\"\n class=\"image\"\n >\n </image>\n </div>\n <indicator class=\"indicator\" :style=\"indicatorStyle\" v-if=\"showIndicator && !_isColmo\"></indicator>\n </slider>\n <div class=\"indicator-box\" v-if=\"showIndicator && _isColmo\">\n <div\n :class=\"['indicator-item', i === slItems.length - 1 && 'isLast', i == active && 'active']\"\n :style=\"indicatorStyle\"\n v-for=\"(item, i) in slItems\"\n :key=\"i\"\n ></div>\n </div>\n </div>\n</template>\n\n<style>\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 50px;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 14px;\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 16px;\n}\n.image {\n border-radius: 16px;\n /* background-color: #f2f2f2; */\n}\n.div_out {\n border-radius: 16px;\n position: relative;\n}\n</style>\n<style scoped src=\"./colmo.css\"></style>\n\n<script>\nconst icon = require('../setting/icon.base64')\nvar PLACEHOLDERIMAGE = icon['ic_img_null@2x']\nconst modal = weex.requireModule('modal')\nimport ColmoMixin from '../../mixins/colmo'\n\nexport default {\n mixins: [ColmoMixin],\n props: {\n sliderStyle: {\n type: Object,\n default: () => ({\n width: '686px',\n height: '280px',\n position: 'relative'\n })\n },\n indicatorStyle: {\n type: Object,\n default: () => ({})\n },\n items: {\n type: Array,\n default: () => []\n },\n interval: {\n type: Number,\n default: 3000\n },\n autoplay: {\n type: Boolean,\n default: true\n },\n infinite: {\n type: Boolean,\n default: true\n },\n imgResize: {\n type: String,\n default: 'cover'\n },\n imgWidth: {\n type: String,\n default: '686px'\n },\n divLeft: {\n type: String,\n default: '32px'\n },\n imgHeight: {\n type: String,\n default: '280px'\n },\n showIndicator: {\n type: Boolean,\n default: true\n },\n phImgUrl: {\n type: String,\n default: PLACEHOLDERIMAGE\n },\n imageBgColor: {\n type: String,\n default: '#f2f2f2'\n }\n },\n data: function() {\n return {\n slItems: [],\n active: 0\n }\n },\n created() {\n if (this.items.length > 10) {\n this.slItems.splice(0)\n this.slItems = this.items.slice(0, 10)\n } else if (this.items.length <= 10) {\n this.slItems.splice(0)\n this.slItems = this.items.slice(0)\n }\n },\n methods: {\n imgClicked(target, index) {\n this.$emit('dofSwiperClicked', { target, index })\n },\n change(val) {\n this.active = val.index\n }\n }\n}\n</script>\n","\n.indicator .weex-indicator-item {\n width: 14px;\n height: 14px;\n}","\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}"],"sourceRoot":""}]);
|
|
9737
9752
|
|
|
9738
9753
|
// exports
|
|
9739
9754
|
|
|
@@ -26044,6 +26059,16 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
26044
26059
|
//
|
|
26045
26060
|
//
|
|
26046
26061
|
//
|
|
26062
|
+
//
|
|
26063
|
+
//
|
|
26064
|
+
//
|
|
26065
|
+
//
|
|
26066
|
+
//
|
|
26067
|
+
//
|
|
26068
|
+
//
|
|
26069
|
+
//
|
|
26070
|
+
//
|
|
26071
|
+
//
|
|
26047
26072
|
|
|
26048
26073
|
var _dofButton = __webpack_require__(21);
|
|
26049
26074
|
|
|
@@ -26061,21 +26086,29 @@ var _diablo = __webpack_require__(4);
|
|
|
26061
26086
|
|
|
26062
26087
|
var _diablo2 = _interopRequireDefault(_diablo);
|
|
26063
26088
|
|
|
26089
|
+
var _index = __webpack_require__(5);
|
|
26090
|
+
|
|
26091
|
+
var _index2 = _interopRequireDefault(_index);
|
|
26092
|
+
|
|
26064
26093
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26065
26094
|
|
|
26095
|
+
var defaultPicBaseUrl = function defaultPicBaseUrl(imageName) {
|
|
26096
|
+
return 'meiju://common/emptyImage?imageName=' + imageName;
|
|
26097
|
+
};
|
|
26098
|
+
var isNewVersion = _index2.default.compareVersionNew('11.4.15');
|
|
26066
26099
|
var Types = {
|
|
26067
26100
|
noNetwork: {
|
|
26068
|
-
pic: _imgs2.default['noNetwork'],
|
|
26101
|
+
pic: isNewVersion ? defaultPicBaseUrl('img_empty_02_disconnection') : _imgs2.default['noNetwork'],
|
|
26069
26102
|
content: '网络异常,请检查您的网络设置'
|
|
26070
26103
|
// button: '刷新'
|
|
26071
26104
|
},
|
|
26072
26105
|
noUpdate: {
|
|
26073
|
-
pic: _imgs2.default['noUpdate'],
|
|
26106
|
+
pic: isNewVersion ? defaultPicBaseUrl('img_empty_03_update') : _imgs2.default['noUpdate'],
|
|
26074
26107
|
content: '当前版本较低',
|
|
26075
26108
|
desc: '请更新到最新版APP'
|
|
26076
26109
|
},
|
|
26077
26110
|
noPage: {
|
|
26078
|
-
pic: _imgs2.default['noPage'],
|
|
26111
|
+
pic: isNewVersion ? defaultPicBaseUrl('img_empty_04_content') : _imgs2.default['noPage'],
|
|
26079
26112
|
content: '找不到页面'
|
|
26080
26113
|
},
|
|
26081
26114
|
colmo: {
|
|
@@ -26119,6 +26152,9 @@ exports.default = {
|
|
|
26119
26152
|
}
|
|
26120
26153
|
},
|
|
26121
26154
|
computed: {
|
|
26155
|
+
isNewVersion: function isNewVersion() {
|
|
26156
|
+
return _index2.default.compareVersionNew('11.4.15');
|
|
26157
|
+
},
|
|
26122
26158
|
type_: function type_() {
|
|
26123
26159
|
if (this.type) return this.type;
|
|
26124
26160
|
return this._isColmo ? 'colmo' : 'noPage';
|
|
@@ -47686,7 +47722,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
47686
47722
|
"weex-type": "div"
|
|
47687
47723
|
}
|
|
47688
47724
|
}, [_c('figure', {
|
|
47689
|
-
staticClass: "
|
|
47725
|
+
staticClass: " weex-el weex-image",
|
|
47726
|
+
class: [_vm.isNewVersion ? 'result-image-new' : 'result-image'],
|
|
47690
47727
|
style: (_vm._px2rem(_vm.imgStyle, 75)),
|
|
47691
47728
|
attrs: {
|
|
47692
47729
|
"aria-hidden": true,
|