上传
This commit is contained in:
+1
-72
@@ -1,73 +1,2 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_loading2 = common_vendor.resolveComponent("u-loading");
|
||||
_easycom_u_loading2();
|
||||
}
|
||||
const _easycom_u_loading = () => "../uni_modules/uview-pro/components/u-loading/u-loading.js";
|
||||
if (!Math) {
|
||||
_easycom_u_loading();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "chartCard",
|
||||
props: {
|
||||
height: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: "#ffffff"
|
||||
},
|
||||
loading: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
margin: {
|
||||
type: String,
|
||||
default: "0"
|
||||
},
|
||||
padding: {
|
||||
type: String,
|
||||
default: "20rpx"
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
// titFontSize: {
|
||||
// },
|
||||
titFontColor: {
|
||||
type: String,
|
||||
default: "#333333"
|
||||
},
|
||||
showTitLine: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: props.title
|
||||
}, props.title ? {
|
||||
b: common_vendor.t(props.title),
|
||||
c: props.titFontColor,
|
||||
d: props.showTitLine ? "1rpx solid var(--u-border-color)" : "none"
|
||||
} : {}, {
|
||||
e: common_vendor.p({
|
||||
size: "40",
|
||||
mode: "flower"
|
||||
}),
|
||||
f: props.loading,
|
||||
g: props.height > 0 ? `${props.height}rpx` : "auto",
|
||||
h: props.bgColor,
|
||||
i: props.margin,
|
||||
j: props.padding
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
"use strict";const e=require("../common/vendor.js");Array||e.resolveComponent("u-loading")();const n=()=>"../uni_modules/uview-pro/components/u-loading/u-loading.js";Math||n();const i={__name:"chartCard",props:{height:{type:Number,default:0},bgColor:{type:String,default:"#ffffff"},loading:{type:Boolean,default:!1},margin:{type:String,default:"0"},padding:{type:String,default:"20rpx"},title:{type:String,default:""},titFontColor:{type:String,default:"#333333"},showTitLine:{type:Boolean,default:!1}},setup(o){const t=o;return(a,r)=>e.e({a:t.title},t.title?{b:e.t(t.title),c:t.titFontColor,d:t.showTitLine?"1rpx solid var(--u-border-color)":"none"}:{},{e:e.p({size:"40",mode:"flower"}),f:t.loading,g:t.height>0?`${t.height}rpx`:"auto",h:t.bgColor,i:t.margin,j:t.padding})}};wx.createComponent(i);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/chartCard.js.map
|
||||
|
||||
Reference in New Issue
Block a user