/** *全局样式,以 App- 前缀命名 */ *{ margin: 0; padding: 0; } page, body { font-family: 'microsoft yahei'; font-size: 24px; height: 100%; // line-height: 1; } .app-wh100 { width: 100%; height: 100%; } // .App_bg { // height: 100%; // } .App{ // line-height: 1; min-height: 100vh; } .App_gray{ // line-height: 1; min-height: 100vh; background-color: #f5f5f5; } .App_row { display: flex; justify-content: center; } .App_col { display: flex; align-items: center; flex-direction: column; } .App_border-box * { box-sizing: border-box; } footer { width: 100%; // max-width: 750px; min-width: 320px; height: 100px; position: fixed; text-align: center; bottom: 0; background: #fff; box-shadow: -1px -1px 10px #cccccc; /*no*/ z-index: 100; } // 按钮公共样式 .main_btn_com { display: flex; color: $auxiliaryColor1; font-size: 30px; padding: 15px 40px; background-color: $mainColor; border-radius: 50px; } .bottom_btn_com { height: 100px; line-height: 100px; color: $auxiliaryColor1; font-size: 30px; background-color: $mainColor; text-align: center; } // 带统计字数文本域 .textarea_wrap { position: relative; textarea { display: block; background-color: #fff; padding: 30px 31px; border: 0 none; width: 100%; height: 270px; } .count { position: absolute; line-height: 1; right: 30px; bottom: 30px; font-size:24px; color:rgba(153,153,153,1); } } /* 超出隐藏 */ .ellipsis_line_com { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } /* 超出两行隐藏 */ .ellipsis_two_line_com { text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; } /* 修改vant输入框样式 */ .van-field__body { padding-left: 20px; height: 100%; } .van-field__control { height: 100%; } .van-field__control::placeholder { font-size: 34px; font-weight: normal; font-stretch: normal; letter-spacing: 0.7px; color: #cccccc; } /* 黑色蒙版 */ .black_mask { position: fixed; top: 0; bottom: 0; left: 0; right: 0; width: 100vw; height: 100vh; background-color: rgba(0,0,0,0.7); z-index: 999; &.center { display: flex; justify-content: center; align-items: center; } } // 弹窗关闭按钮 .closemask { position: absolute; width: 30px; height: 30px; right: 39px; top: 39px; } // 公共底部样式 .pub_footer { width: 100%; height: 100px; position: fixed; text-align: center; bottom: 0; background: white; box-shadow: -1px -1px 5px #cccccc; z-index: 100; } .app-footer { width: 100%; max-width: 750px; /*no*/ min-width: 320px; /*no*/ height: 100px; position: fixed; text-align: center; bottom: 0; background: white; box-shadow: -1px -1px 1px #cccccc; /*no*/ z-index: 100; font-size: 32px; color: #3a1b04; line-height: 90px; background: #ffd11a; display: flex; justify-content: center; align-items: center; letter-spacing: 3px; & .add { width: 38px; height: 38px; margin-right: 20px; } } .noMore{ color: #969799; font-size: 24upx; line-height: 50px; text-align: center; padding: 30px 0; } li{ list-style: none; } // .app-seach-box { // position: relative; // z-index: 999; // & .app-filter_wrap { // padding-left: 30px; // display: flex; // justify-content: center; // align-items: center; // position: relative; // color: #666666; // border-right: 1px; // & > view { // padding: 0 5px; // } // &::after { // content: ''; // height: 60px; // position: absolute; // background-color: #dddddd; // width: 1Px; // left: 0; // top: 50%; // transform: translate(0 ,-50%); // } // } // } /* 分享按钮的公共样式 */ .go_share { width: 60upx; height: 60upx; position: fixed; right: 5%; top: 35upx; opacity: 0.7; float: right; z-index: 99; } .go_share img { width: 60upx; height: 60upx; float: right; } /*返回按钮的公共样式*/ .returnback { width: 60upx; height: 60upx; position: fixed; left: 5%; top: 35upx; opacity: .7; float: left; z-index: 1; } .returnback img { width: 60upx; height: 60upx; float: left; } .includecontent p img{ width: 100%; height: auto; } .uni-overflow-hidden{ overflow: hidden; height: 100vh; } .inputTip_box { position: relative; width: 100%; .inputTip { position: absolute; top: 50%; transform: translateY(-50%); right: 0; color: #f44; font-size: 28upx; } } .text-overflow{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }