| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- /**
- *全局公共样式
- */
- * {
- margin: 0;
- padding: 0;
- }
- page,
- view,
- scroll-view,
- swiper,
- movable-area,
- cover-view,
- text,
- icon,
- rich-text,
- progress,
- button,
- checkbox-group,
- checkbox,
- form,
- input,
- label,
- picker,
- picker-view,
- radio-group,
- slider,
- switch,
- textarea,
- navigator,
- audio,
- image,
- video,
- live-player,
- live-pusher,
- open-data,
- web-view {
- // font-family: 'Microsoft Yahei';
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- page,
- body {
- font-family: "microsoft yahei";
- font-size: 24upx;
- // 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: $backColor;
- }
- .App_row {
- display: flex;
- justify-content: center;
- }
- .App_col {
- display: flex;
- align-items: center;
- flex-direction: column;
- }
- .App_border-box * {
- box-sizing: border-box;
- }
- // 按钮公共样式
- .button-com {
- display: inline-block;
- color: $mainColor;
- font-size: 28upx;
- padding: 20upx 30upx;
- background-color: #fff;
- border-radius: 100upx;
- border: none;
- text-align: center;
- line-height: 1;
- margin: 0;
- &:active {
- color: $mainColor;
- border-color: transparent;
- }
- }
- .button-com::after{
- border: none;
- }
- .button-com.big {
- padding-top: 30upx;
- padding-bottom: 30upx;
- }
- .button-com.red {
- color: #fff;
- background-color: $mainColor;
- &:active {
- background-color: $mainColor;
- }
- }
- .button-com.green {
- color: #fff;
- background-color: #07be0b;
- border-color: transparent;
- &:active {
- background-color: #07be0b;
- }
- }
- .button-com.blue {
- color: #fff;
- background-color: #3385FF;
- border-color: transparent;
- &:active {
- background-color: #3385FF;
- }
- }
- .button-com.default {
- color: $fontColor2;
- border: 1upx solid #dddddd;
- &:active {
- background-color: #fff;
- }
- }
- .button-com.disable {
- color: #fff;
- background-color: #ccc;
- border-color: transparent;
- }
- // ============ 后台 =============
- .admin-button-com {
- display: inline-block;
- color: $mainColor;
- font-size: 26upx;
- padding: 10upx 20upx;
- background-color: #fff;
- border-radius: 8upx;
- border: none;
- text-align: center;
- line-height: 1;
- margin: 0;
- &:active {
- color: $mainColor;
- border-color: transparent;
- }
- &::after {
- border: none;
- }
- }
- .admin-button-com.middle {
- padding-top: 20upx;
- padding-bottom: 20upx;
- font-size: 28upx;
- }
- .admin-button-com.big {
- padding-top: 30upx;
- padding-bottom: 30upx;
- font-size: 32upx;
- }
- .admin-button-com.blue {
- color: #fff;
- background-color: $mainColor;
- &:active {
- background-color: $mainColor;
- }
- }
- .admin-button-com.default {
- color: $fontColor2;
- border: 1upx solid #dddddd;
- &:active {
- background-color: #fff;
- }
- }
- .admin-button-com.disable {
- color: #fff;
- background-color: #ccc;
- border-color: transparent;
- }
- // ======================= 输入框公共样式 - start ====================
- .input-line-wrap {
- // 是否必填
- .required::before {
- content: "*";
- color: #f04545;
- font-size: 28upx;
- margin-right: 8upx;
- }
- // 公共
- .line-cell {
- &.between {
- justify-content: space-between;
- }
- // &.switch {
- // padding-top: 14upx;
- // padding-bottom: 14upx;
- // }
- .tui-title {
- width: 210upx;
- color: $fontColor2;
- flex-shrink: 0;
- }
- .tui-input {
- width: calc(100% - 210upx);
- font-size: 28upx;
- }
- .tui-textarea {
- width: 100%;
- font-size: 28upx;
- }
- .tui-operate {
- width: calc(100% - 210upx);
- font-size: 28upx;
- }
- .tui-placeholder {
- color: #ccc;
- }
- .tui-prompt {
- flex-shrink: 0;
- color: $fontColor2;
- margin-left: 20upx;
- }
- }
- .phcolor {
- color: #ccc;
- }
- .prompt-text {
- color: $fontColor3;
- margin-top: 20upx;
- margin-left: 30upx;
- }
- .btn-wrap {
- width: calc(100% - 60upx);
- margin: 60upx auto;
- .button-com {
- width: 100%;
- margin: 0 auto;
- }
- .admin-button-com {
- width: 100%;
- margin: 0 auto;
- }
- }
- }
- // ======================= 输入框公共样式 - end ====================
- // ======================= 弹窗输入框公共样式 - start ====================
- .app-modal-input-wrap {
- width: 100%;
- .inp-list-line {
- width: 100%;
- @include disFlex(center, space-between);
- font-size: 32upx;
- margin-bottom: 20upx;
- color: $fontColor2;
- text-align: left;
- &:last-child {
- margin-bottom: 0;
- }
- .line-label {
- margin-right: 20upx;
- flex-shrink: 0;
- }
- .line-input {
- width: 100%;
- @include disFlex(center, center);
- &.flex-strat {
- justify-content: flex-start;
- }
- .inp-input,
- .inp-select {
- width: 100%;
- height: 90upx;
- border: 2upx solid $borderColor;
- padding-left: 20upx;
- border-radius: 4upx;
- color: #333;
- }
- .inp-select {
- position: relative;
- line-height: 90upx;
- &:active {
- background-color: $backColor;
- }
- &::before {
- content: " ";
- height: 20upx;
- width: 20upx;
- border-width: 2upx 2upx 0 0;
- border-color: #bbbbbb;
- border-style: solid;
- transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
- position: absolute;
- top: 50%;
- margin-top: -12upx;
- right: 16upx;
- }
- }
- .inp-prompt {
- flex-shrink: 0;
- margin-left: 20upx;
- }
- .tui-placeholder {
- color: #ccc;
- }
- }
- }
- }
- // ======================= 弹窗输入框公共样式 - end ====================
- // ======================= admin 操作弹窗 公共 =========================
- .operate-icon-wrap {
- position: relative;
- width: 36upx;
- height: 36upx;
- .operate-icon {
- position: absolute;
- bottom: -18upx;
- left: -18upx;
- padding: 20upx;
- .iconcaozuojihuo {
- color: $mainColor !important;
- }
- }
- }
- .app-margin-left-20 {
- margin-left: 20upx;
- }
- // 带统计字数文本域
- .textarea_wrap {
- position: relative;
- textarea {
- display: block;
- background-color: #fff;
- padding: 30upx 31upx;
- border: 0 none;
- width: 100%;
- height: 270upx;
- }
- .count {
- position: absolute;
- line-height: 1;
- right: 30upx;
- bottom: 30upx;
- font-size: 24upx;
- 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;
- }
- /* 黑色蒙版 */
- .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;
- }
- }
- .app-footer {
- width: 100%;
- height: 120upx;
- position: fixed;
- text-align: center;
- bottom: 0;
- background: white;
- box-shadow: -4upx -4upx 6upx #eee;
- z-index: 100;
- // font-size: 32upx;
- // line-height: 90upx;
- display: flex;
- justify-content: center;
- align-items: center;
- // letter-spacing: 3upx;
- & .add {
- width: 38upx;
- height: 38upx;
- margin-right: 20upx;
- }
- }
- .noMore {
- color: #969799;
- font-size: 24upx;
- line-height: 50upx;
- text-align: center;
- padding: 30upx 0;
- }
- li {
- list-style: none;
- }
- // .app-seach-box {
- // position: relative;
- // z-index: 999;
- // & .app-filter_wrap {
- // padding-left: 30upx;
- // display: flex;
- // justify-content: center;
- // align-items: center;
- // position: relative;
- // color: #666666;
- // border-right: 1upx;
- // & > view {
- // padding: 0 5upx;
- // }
- // &::after {
- // content: '';
- // height: 60upx;
- // position: absolute;
- // background-color: #dddddd;
- // width: 1upx;
- // left: 0;
- // top: 50%;
- // transform: translate(0 ,-50%);
- // }
- // }
- // }
- .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;
- }
- .animate-open {
- transform: rotate(180);
- }
- .animate-close {
- transform: rotate(0);
- }
|