123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- /* 全局公共样式 */
- page{
- font-size: $global-font-size-base;
- color: $global-text-color;
- width: 100%;
- min-height: calc(100% - calc(50px + constant(safe-area-inset-bottom)));
- min-height: calc(100% - calc(50px + env(safe-area-inset-bottom)));
- background-color: $global-bg-color;
- padding-bottom: calc(50px + constant(safe-area-inset-bottom));
- padding-bottom: calc(50px + env(safe-area-inset-bottom));
- }
- view{
- box-sizing: border-box;
- }
- .flex{
- display: flex;
- }
- /* 卡片列表样式 */
- .global-list-card{
- border: 1px solid rgba(112, 112, 112, 0.05);
- box-shadow: 3rpx 3rpx 12rpx rgba(161, 161, 161, 0.14);
- border-radius: 16rpx;
- overflow: hidden;
- }
- /* 公共按钮 */
- .global-btn-yellow-change{
- background: linear-gradient(270deg, #EEC795 0%, #D9A360 100%);
- border-radius: 35rpx;
- color: $global-text-color-white;
- text-align: center;
- line-height: 70rpx;
- }
- .global-btn-yellow-plain{
- text-align: center;
- color: $global-text-color-main;
- border-radius: 35rpx;
- border: 1px solid $global-text-color-main;
- line-height: 70rpx;
- }
- .global-btn-disable{
- text-align: center;
- color:$global-text-color-white;
- background-color: #E6E6E6;
- border-radius: 35rpx;
- line-height: 70rpx;
- }
- /* 公共弹窗 */
- .global-pup{
- background-color: #fff;
- width: 90vw;
- min-height: 200rpx;
- font-size: $global-font-size-lg;
- .content{
- padding: 34rpx;
- text-align: center;
- min-height: 250rpx;
- display: flex;
- align-items: center;
- text-align: center;
- line-height: 1.7;
- rich-text{
- flex: 1;
- }
- }
- .bot{
- border-top: 1px solid $global-border-color;
- view{
- line-height: 96rpx;
- flex: 1;
- text-align: center;
- border-right: 1px solid $global-border-color;
- color:$global-text-color-main;
- }
- view:last-child {
- border: none;
- }
- }
- }
- /* 报告模块公共空白页 */
- .report-empty-box{
- text-align: center;
- font-size: 32rpx;
- color: #999;
- padding-top: 150rpx;
- image{
- width: 346rpx;
- margin-bottom: 57rpx;
- }
- }
- .text_oneLine {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* 问答模块单个问答样式*/
- .question-item {
- margin-bottom: 20rpx;
- &::after{
- content: '';
- display: block;
- height:10rpx;
- margin:0 -30rpx;
- background-color: #F9F9F9;
- }
- &:last-child{
- &::after{
- background-color: #FFFFFF;
- }
- }
- .question-info{
- display: flex;
- padding: 10rpx 0;
- .question-title{
- font-size: 32rpx;
- color:#333333;
- .item-label{
- padding:7rpx 12rpx;
- font-size: 22rpx;
- text-align: center;
- background-color: #333333;
- color: #E4B478;
- border-radius: 21rpx;
- margin-right:15rpx ;
- }
- }
- .item-answer {
- display: flex;
- align-items: center;
- .answer {
- width:150rpx;
- height: 97rpx;
- box-sizing: border-box;
- padding:30rpx 15rpx;
- border-radius: 18rpx;
- background:linear-gradient(253deg, #E3B377 0%, #FBCA8E 100%);
- display: flex;
- justify-content: space-around;
- align-items: center;
- color: #FFFFFF;
- font-size: 24rpx;
- .load-img{
- width: 34rpx;
- height: 34rpx;
- margin-right: 10rpx;
- animation: circle 1s linear infinite;
- }
- .music-img{
- width: 25rpx;
- height: 34rpx;
- margin-right: 10rpx;
- }
- @keyframes circle {
- 0%{
- transform: rotateZ(0);
- }
- 100%{
- transform: rotateZ(360deg);
- }
- }
- }
- }
- }
- .item-time {
- color: #999999;
- font-size: 24rpx;
- margin:20rpx 0;
- display: block;
- }
-
- }
- /* 问答模块无权限样式 */
- .noAuth-wrap{
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: $global-font-size-lg;
- .auth-text{
- /* color:#999999; */
- text-align: center;
- text{
- margin-left: 15rpx;
- color:#E6B77D;
- }
- }
- .img{
- width: 100%;
- margin-bottom: 50rpx;
- }
- .btn{
- width: 380rpx;
- line-height: 70rpx;
- margin-left: auto;
- margin-right: auto;
- margin-top: 40rpx;
- }
- .apply{
- margin-top: 40rpx;
- width:390rpx;
- height:80rpx;
- background-color: #E6B77D;
- color: #FFFFFF;
- text-align: center;
- line-height: 80rpx;
- border-radius: 40rpx;
- }
- }
- // 跳转去提问的悬浮按钮
- .to-question-fixed-box{
- width: 162rpx;
- height: 145rpx;
- background: #FFFFFF;
- box-shadow: 0px 4px 17px 0px rgba(0,0,0,0.08);
- border: 1px solid #F2F2F2;
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: center;
- border-radius: 16rpx;
- image{
- width: 84rpx;
- height: 84rpx;
- }
- text{
- font-size: 28rpx;
- font-weight: 400;
- color: #E3B377;
- }
- }
|