|
|
@@ -1,33 +1,52 @@
|
|
|
/**app.wxss**/
|
|
|
page {min-height: 100%;}
|
|
|
-view, text {word-break: break-all;color:#333;font-family: "SourceHanSansSC-Regular";}
|
|
|
+view, text, div {word-break: break-all;color:#333;font-family: "SourceHanSansSC-Regular";box-sizing: border-box;}
|
|
|
.container {font-family: "SourceHanSansSC-Regular", "Microsoft YaHei", "Hiragino Sans GB", tahoma, Arial;box-sizing: border-box;width: 100%;overflow: hidden;}
|
|
|
|
|
|
-// 字体文件
|
|
|
-// @font-face{
|
|
|
-// font-family: "PangMenZhengDao";
|
|
|
-// src: url('https://tea.soowin.com/zt/pangmenzhengdao.ttf');
|
|
|
-// }
|
|
|
-// @font-face{
|
|
|
-// font-family:"SourceHanSansCN-Bold";
|
|
|
-// src: url('https://tea.soowin.com/zt/SourceHanSansCN-Bold.otf');
|
|
|
-// }
|
|
|
-// @font-face{
|
|
|
-// font-family: "SourceHanSansSC-Regular";
|
|
|
-// src: url('https://tea.soowin.com/zt/SourceHanSansCN-Regular.otf');
|
|
|
-// }
|
|
|
-// @font-face{
|
|
|
-// font-family: "SourceHanSansCN-Medium";
|
|
|
-// src: url('https://tea.soowin.com/zt/SourceHanSansCN-Medium.otf');
|
|
|
-// }
|
|
|
-// 字体文件-end
|
|
|
-
|
|
|
// 文本溢出
|
|
|
-.ellipsis {text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
|
|
|
-.ellipsis2 {overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
|
|
|
-.ellipsis3 {overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;}
|
|
|
+.ellipsis1, .ellipsis {
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+}
|
|
|
+.ellipsis2 {
|
|
|
+ display: -webkit-box;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
+.ellipsis3 {
|
|
|
+ display: -webkit-box;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
// 文本溢出-end
|
|
|
|
|
|
+/* CDN 服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
|
|
|
+@font-face {
|
|
|
+ font-family: 'iconfont'; /* Project id 3748689 */
|
|
|
+ src: url('//at.alicdn.com/t/c/font_3748689_ysjdhcth1f.woff2?t=1667564440180') format('woff2'),
|
|
|
+ url('//at.alicdn.com/t/c/font_3748689_ysjdhcth1f.woff?t=1667564440180') format('woff'),
|
|
|
+ url('//at.alicdn.com/t/c/font_3748689_ysjdhcth1f.ttf?t=1667564440180') format('truetype');
|
|
|
+ }
|
|
|
+.iconfont {
|
|
|
+ font-family: "iconfont" !important;
|
|
|
+ font-style: normal;
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
+}
|
|
|
+
|
|
|
+.clearfix:before,
|
|
|
+.clearfix:after {
|
|
|
+ content: "";
|
|
|
+ display: block;
|
|
|
+ height: 0;
|
|
|
+ clear: both;
|
|
|
+ visibility: hidden;
|
|
|
+}
|
|
|
|
|
|
// flex布局
|
|
|
.flex_grow{flex:1;}
|
|
|
@@ -85,4 +104,12 @@ view, text {word-break: break-all;color:#333;font-family: "SourceHanSansSC-Regul
|
|
|
display: -webkit-flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
+}
|
|
|
+
|
|
|
+uni-input {
|
|
|
+ box-sizing: content-box;
|
|
|
+}
|
|
|
+.noticeBar .uni-noticebar{
|
|
|
+ margin: 0 !important;
|
|
|
+ padding: 0 !important;
|
|
|
}
|