From ef37c59e055a990ce247b265b27d3fcef430a243 Mon Sep 17 00:00:00 2001 From: 杨磊 <505174330@qq.com> Date: 星期五, 15 八月 2025 10:19:18 +0800 Subject: [PATCH] first submit --- src/assets/css/common.css | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 175 insertions(+), 0 deletions(-) diff --git a/src/assets/css/common.css b/src/assets/css/common.css new file mode 100644 index 0000000..d9ad201 --- /dev/null +++ b/src/assets/css/common.css @@ -0,0 +1,175 @@ +/* 灞呬腑甯冨眬 */ +.contentBox{ + width: 1200px; + margin: 0 auto; +} + +/* 鑷�傚簲鍥剧墖 */ +.autoImg { + width: auto; + height: auto; + max-width: 100%; + max-height: 100%; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; +} + +.bannerImg { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; +} + +/* 鍏嶈垂 */ +.freePrice { + color: #0bc266 !important; +} + +.titleBox { + height: 60px; + background: #d8f7e6; + line-height: 60px; + padding: 0 40px; + font-weight: 700; + color: #00873c; + font-size: 18px; +} + +/* 瀵屾枃鏈鍣紝淇濈暀瀵屾枃鏈粯璁ゆ牱寮忥紝鎵�瑙佸嵆鎵�寰� */ +.richTextBox { + line-height: 1.4; +} + +.richTextBox p { + display: block; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; +} + +.richTextBox table[border]:not([border="0"]):not([style*=border-style]) td, .richTextBox table[border]:not([border="0"]):not([style*=border-style]) th { + border-style: solid; +} + +.richTextBox table[border]:not([border="0"]):not([style*=border-width]) td, .richTextBox table[border]:not([border="0"]):not([style*=border-width]) th { + border-width: 1px; +} +.richTextBox table:not([cellpadding]) td, .richTextBox table:not([cellpadding]) th { + padding: 0.4rem; +} + +/* 鍗曡鐪佺暐 */ +.ellipsis { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +/* flex甯冨眬 */ +.flex { + display: flex; +} + +.flex1 { + flex: 1; + overflow: hidden; +} + +/* 涓婁紶鍥剧墖 */ +.avatar-uploader .el-upload { + width: 190px; + height: 140px; + border: 1px dashed #d9d9d9; + position: relative; +} + +.avatar-uploader .el-upload:hover { + border-color: #409eff; +} + +.avatarCover { + display: block; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + max-width: 100%; + max-height: 100%; + margin: auto; +} + +/* 鍐呯疆鐘舵�佸瓧浣撻鑹� */ +.primaryTxt { + color: #00873C !important; +} +.successTxt { + color: #67c23a !important; +} +.warningTxt { + color: #e6a23c !important; +} +.errorTxt { + color: #f56c6c !important; +} +.infoTxt { + color: #999 !important; +} +/* 鍐呯疆鐘舵�佽儗鏅鑹� */ +.primaryBack { + color: #fff !important; + background: #00873C !important; +} +.successBack { + color: #fff !important; + background: #67c23a !important; +} +.warningBack { + color: #fff !important; + background: #e6a23c !important; +} +.errorBack { + color: #fff !important; + background: #f56c6c !important; +} + +/* 涓婚鑹蹭慨鏀�,鏍规嵁UI妗嗘灦鍐冲畾鏄惁闇�瑕� */ +/* .el-button--primary { + background-color: #00873C !important; + border-color: #00873C !important; +} + +.el-button--primary:focus, +.el-button--primary:hover { + background: #086833 !important; + border-color: #086833 !important; + color: #fff !important; +} + +.el-tabs__item.is-active { + color: #00873C !important; +} */ + +.el-input-group__append, .el-input-group__prepend { + vertical-align: initial !important; +} +.el-checkbox__inner{ + border: 1px solid #000 !important; + width: 20px !important; + height: 20px !important; +} + +.el-checkbox__inner::after { + left: 7px !important; + top: 4px !important; +} \ No newline at end of file -- Gitblit v1.9.1