{"code":"import { defineComponent } from \"vue\";\nimport mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js';\nimport mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js';\nimport props from './props.js';\n/**\n * StatbusBar 状态栏占位\n * @description 本组件主要用于状态填充，比如在自定导航栏的时候，它会自动适配一个恰当的状态栏高度。\n * @tutorial https://www.uvui.cn/components/statusBar.html\n * @property {String}\t\t\tbgColor\t\t\t背景色 (默认 'transparent' )\n * @property {String | Object}\tcustomStyle\t\t自定义样式\n * @example <uv-status-bar></uv-status-bar>\n */\nexport default defineComponent({\n    name: 'uv-status-bar',\n    mixins: [mpMixin, mixin, props],\n    data() {\n        return {};\n    },\n    computed: {\n        style() {\n            const style = new UTSJSONObject({}\n            // 状态栏高度，由于某些安卓和微信开发工具无法识别css的顶部状态栏变量，所以使用js获取的方式\n            );\n            // 状态栏高度，由于某些安卓和微信开发工具无法识别css的顶部状态栏变量，所以使用js获取的方式\n            style.height = this.$uv.addUnit(this.$uv.sys().statusBarHeight, 'px');\n            if (this.bgColor) {\n                if (this.bgColor.indexOf(\"gradient\") > -1) { // 渐变色\n                    style.backgroundImage = this.bgColor;\n                }\n                else {\n                    style.background = this.bgColor;\n                }\n            }\n            return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));\n        }\n    },\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/uni_modules/uv-status-bar/components/uv-status-bar/uv-status-bar.vue?vue&type=script&lang.uts.js.map","references":["C:/Users/lj/Desktop/121/contract-front/111/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js","C:/Users/lj/Desktop/121/contract-front/111/uni_modules/uv-ui-tools/libs/mixin/mixin.js","C:/Users/lj/Desktop/121/contract-front/111/uni_modules/uv-status-bar/components/uv-status-bar/props.js"],"uniExtApis":[],"map":"{\"version\":3,\"file\":\"uv-status-bar.vue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"uv-status-bar.vue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,OAAO,MAAM,iDAAiD,CAAA;AACrE,OAAO,KAAK,MAAM,+CAA+C,CAAA;AACjE,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B;;;;;;;GAOG;AACH,+BAAe;IACd,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC;IAC/B,IAAI;QACH,OAAO,EACN,CAAA;IACF,CAAC;IACD,QAAQ,EAAE;QACT,KAAK;YACJ,MAAM,KAAK,qBAAG,EAAE;YAChB,iDAAiD;aADjC,CAAA;YAChB,iDAAiD;YACjD,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC,CAAA;YACrE,IAAG,IAAI,CAAC,OAAO,EAAC;gBACf,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,EAAC,MAAM;oBACjD,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC;iBACrC;qBAAI;oBACJ,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC;iBAChC;aACD;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAA;QACtE,CAAC;KACD;CACD,EAAA\"}"}
