123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911 |
- page {
- background-color: #f1f1f1;
- font-size: 28rpx;
- }
- .ask {
- color: #26b3a0;
- margin-top: 22rpx;
- }
- /* 加载数据提示 */
- .tips {
- position: fixed;
- left: 0;
- top: var(--window-top);
- width: 100%;
- z-index: 9;
- background-color: rgba(0, 0, 0, 0.15);
- height: 72rpx;
- line-height: 72rpx;
- transform: translateY(-80rpx);
- transition: transform 0.3s ease-in-out 0s;
- &.show {
- transform: translateY(0);
- }
- }
- .box-1 {
- width: 100%;
- height: auto;
- padding-bottom: 138rpx;
- box-sizing: content-box;
- /* 兼容iPhoneX */
- margin-bottom: 0;
- margin-bottom: constant(safe-area-inset-bottom);
- margin-bottom: env(safe-area-inset-bottom);
- }
- .box-2 {
- position: fixed;
- left: 0;
- width: 100%;
- bottom: 0;
- // bottom: 98rpx;
- height: auto;
- // border-radius: 30rpx 30rpx 0 0;
- z-index: 2;
- border-top: #9e9e9e38 solid 1px;
- // border-bottom: #e5e5e5 solid 1px;
- box-sizing: content-box;
- background-color: #ffffff;
- /* 兼容iPhoneX */
- padding-bottom: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- >view {
- padding: 0 20rpx;
- height: 150rpx;
- }
- .content {
- background-color: #f1f1f1;
- height: 64rpx;
- width: 100%;
- padding: 15rpx 20rpx 0;
- border-radius: 32rpx;
- // font-size: 28rpx;
- padding-bottom: 98rpx;
-
- }
- .send {
- background-color: #26b3a0d6;
- color: #fff;
- height: 75rpx;
- margin-left: 20rpx;
- border-radius: 50rpx;
- padding: 0;
- width: 138rpx;
- font-size: 30rpx;
- font-weight: bold;
- line-height: 75rpx;
- &:active {
- background-color: #26b3a08a;
- }
- }
- }
- .talk-list {
- padding-bottom: 20rpx;
- /* 消息项,基础类 */
- .item {
- padding: 20rpx 20rpx 0 20rpx;
- align-items: flex-start;
- align-content: flex-start;
- color: #333;
- .pic {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- border: #fff solid 1px;
- }
- .content {
- font-weight: bold;
- padding: 15rpx 25rpx;
- border-radius: 4px;
- max-width: 500rpx;
- word-break: break-all;
- line-height: 52rpx;
- position: relative;
- }
- /* 收到的消息 */
- &.pull {
- .time {
- margin-left: 22rpx;
- font-size: 24rpx;
- margin-bottom: 15rpx;
- color: #9e9e9e;
- position: absolute;
- width: 300rpx;
- top: 0rpx;
- left: 0rpx;
- }
- .content {
- margin-left: 22rpx;
- background-color: #fff;
- border-radius: 0px 8px 8px 8px;
- margin-top: 45rpx;
- // &::after{
- // content: '';
- // display: block;
- // width: 0;
- // height: 0;
- // border-top: 16rpx solid transparent;
- // border-bottom: 16rpx solid transparent;
- // border-right: 20rpx solid #fff;
- // position: absolute;
- // top: 30rpx;
- // left: -18rpx;
- // }
- }
- .sentpictures {
- width: 300rpx;
- // height: 237.5rpx;
- margin-left: 22rpx;
- border-radius: 0px 8px 8px 8px;
- margin-top: 46rpx;
- }
- }
- /* 发出的消息 */
- &.push {
- /* 主轴为水平方向,起点在右端。使不修改DOM结构,也能改变元素排列顺序 */
- flex-direction: row-reverse;
- .time {
- margin-right: 22rpx;
- font-size: 24rpx;
- margin-bottom: 15rpx;
- color: #9e9e9e;
- position: absolute;
- width: 300rpx;
- top: 0rpx;
- right: 0rpx;
- display: flex;
- justify-content: flex-end;
- }
- .content {
- margin-right: 22rpx;
- background-color: #26b3a0;
- color: #fff;
- border-radius: 8px 0px 8px 8px;
- margin-top: 45rpx;
- }
- .sentpictures {
- width: 300rpx;
- margin-right: 22rpx;
- border-radius: 8px 0 8px 8px;
- margin-top: 46rpx;
- }
- }
- }
- }
- .flex_photo {
- // width: 80rpx;
- border-radius: 50%;
- background: #f1f1f1;
- padding: 12rpx;
- margin-right: 20rpx;
- }
- .content {
- width: 100%;
- .msg-list {
- // width: 95%;
- // padding: 38rpx 20rpx 237rpx 20rpx;
- padding: 20rpx;
- // position: absolute;
- // top: 0rpx;
- // bottom: 130rpx;
- // margin-bottom: constant(safe-area-inset-bottom);
- // margin-bottom: env(safe-area-inset-bottom);
- .loading {
- //loading动画
- display: flex;
- justify-content: center;
- @keyframes stretchdelay {
- 0%,
- 40%,
- 100% {
- transform: scaleY(0.6);
- }
- 20% {
- transform: scaleY(1);
- }
- }
- .spinner {
- margin: 20rpx 0;
- width: 60rpx;
- height: 100rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- view {
- background-color: #f06c7a;
- height: 50rpx;
- width: 6rpx;
- border-radius: 6rpx;
- animation: stretchdelay 1.2s infinite ease-in-out;
- }
- .rect2 {
- animation-delay: -1.1s;
- }
- .rect3 {
- animation-delay: -1s;
- }
- .rect4 {
- animation-delay: -0.9s;
- }
- .rect5 {
- animation-delay: -0.8s;
- }
- }
- }
- .row {
- .system {
- display: flex;
- justify-content: center;
- view {
- padding: 0 30rpx;
- height: 50rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #c9c9c9;
- color: #fff;
- font-size: 24rpx;
- border-radius: 40rpx;
- }
- .red-envelope {
- image {
- margin-right: 5rpx;
- width: 30rpx;
- height: 30rpx;
- }
- }
- }
- &:first-child {
- // margin-top: 20rpx;
- }
- padding: 15rpx 0;
- .my .left,
- .other .right {
- width: 86%;
- display: flex;
- .bubble {
- max-width: 91%;
- min-height: 50rpx;
- // border-radius: 13rpx;
- padding: 20rpx 30rpx;
- display: flex;
- align-items: center;
- font-size: 30rpx;
- word-break: break-word;
- &.img {
- background-color: transparent;
- padding: 0;
- overflow: hidden;
- image {
- max-width: 300rpx;
- // max-height: 350rpx;
- }
- }
- &.red-envelope {
- background-color: transparent;
- padding: 0;
- overflow: hidden;
- position: relative;
- justify-content: center;
- align-items: flex-start;
- image {
- width: 250rpx;
- height: 313rpx;
- }
- .tis {
- position: absolute;
- top: 6%;
- font-size: 26rpx;
- color: #9c1712;
- }
- .blessing {
- position: absolute;
- bottom: 14%;
- color: #e9b874;
- width: 80%;
- text-align: center;
- overflow: hidden;
- // 最多两行
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- }
- &.voice {
- .icon {
- font-size: 40rpx;
- display: flex;
- align-items: center;
- }
- .icon:after {
- content: ' ';
- width: 53rpx;
- height: 53rpx;
- border-radius: 100%;
- position: absolute;
- box-sizing: border-box;
- }
- .length {
- font-size: 28rpx;
- }
- }
- }
- }
- .my .right,
- .other .left {
- flex-shrink: 0;
- // width: 84rpx;
- // height: 84rpx;
- // image {
- // width: 80rpx;
- // height: 80rpx;
- // border-radius: 50%;
- // }
- }
- .my {
- width: 100%;
- display: flex;
- justify-content: flex-end;
- .left {
- min-height: 80rpx;
- flex-wrap: wrap;
- align-items: center;
- justify-content: flex-end;
- .bubbleimg {
- image {
- height: 300rpx;
- width: 400rpx;
- border-radius: 10px 0px 10px 10px;
- }
- }
- .bubble {
- border-radius: 20rpx 0rpx 20rpx 20rpx;
- }
- .username {
- width: 100%;
- height: 48rpx;
- font-size: 26rpx;
- color: #999;
- display: flex;
- justify-content: flex-end;
- .name {
- // margin-right: 50rpx;
- }
- }
- .bubble {
- background-color: #26b3a0;
- color: #000;
- font-size: 30rpx;
- &.voice {
- .icon {
- color: #fff;
- }
- .length {
- margin-right: 20rpx;
- }
- }
- &.play {
- @keyframes my-play {
- 0% {
- transform: translateX(80%);
- }
- 100% {
- transform: translateX(0%);
- }
- }
- .icon:after {
- border-left: solid 10rpx rgba(240, 108, 122, 0.5);
- animation: my-play 1s linear infinite;
- }
- }
- }
- }
- .right {
- margin-left: 22rpx;
- }
- }
- .other {
- width: 100%;
- display: flex;
- .bubbleimg {
- image {
- width: 400rpx;
- height: 300rpx;
- border-radius: 0px 10px 10px 10px;
- }
- }
- .bubble {
- border-radius: 0rpx 20rpx 20rpx 20rpx;
- }
- .left {
- margin-right: 22rpx;
- }
- .tip {
- display: flex;
- flex-direction: column;
- position: absolute;
- justify-content: space-between;
- right: -50rpx;
- bottom: 0;
- height: 92rpx;
- }
- .right {
- flex-wrap: wrap;
- .username {
- width: 100%;
- height: 48rpx;
- font-size: 26rpx;
- color: #999;
- display: flex;
- .name {
- // margin-right: 50rpx;
- }
- }
- .bubble {
- background-color: #fff;
- color: #333;
- &.voice {
- .icon {
- color: #333;
- }
- .length {
- margin-left: 20rpx;
- }
- }
- &.play {
- @keyframes other-play {
- 0% {
- transform: translateX(-80%);
- }
- 100% {
- transform: translateX(0%);
- }
- }
- .icon:after {
- border-right: solid 10rpx rgba(255, 255, 255, 0.8);
- animation: other-play 1s linear infinite;
- }
- }
- }
- }
- }
- .exchange {
- font-weight: bold;
- font-size: 30rpx;
- background: #00000014;
- padding: 15rpx 35rpx;
- border-radius: 45rpx;
- .launch {
- margin-right: 35rpx;
- }
- .agree {
- color: #4095e5;
- margin-right: 25rpx;
- }
- .refuse {
- color: #fe7058;
- }
- }
- }
- }
- }
- .ability {
- width: 100%;
- position: fixed;
- top: 0;
- height: 115rpx;
- background: #ffffff;
- z-index: 9;
- border-bottom: #e5e5e5 solid 1px;
- .item_ability {
- width: 20%;
- .t_ability {
- font-size: 26rpx;
- margin-top: 6rpx;
- }
- }
- }
- .flash {
- margin-left: 2px;
- animation: flash 0.8s linear infinite;
- }
- // 实现光标闪烁
- @keyframes flash {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- .neckBtn_view {
- align-items: center;
- display: flex;
- justify-content: center;
- position: fixed;
- flex-direction: column;
- background: linear-gradient(-45deg, #26b3a0, #3edd3e);
- border-radius: 100rpx 0 0 100rpx;
- box-shadow: 0rpx 10rpx 10rpx 0rpx rgba(0, 0, 0, 0.2);
- box-sizing: border-box;
- color: #fff;
- font-size: 25rpx;
- line-height: 30rpx;
- padding: 10rpx 25rpx 10rpx;
- right: 0;
- text-align: center;
- bottom: 415rpx;
- .free_view {
- font-size: 28rpx;
- margin-bottom: 6rpx;
- }
- }
- .poster-img {
- width: 670rpx;
- height: 928rpx;
- position: relative;
- text {
- background: url('https://s.yun-live.com/images/20210201/5c4ef9d86bc5eec90f2f915683d9db08.png') no-repeat;
- background-size: 100% 100%;
- display: inline-block;
- width: 50rpx;
- height: 50rpx;
- position: absolute;
- top: -60rpx;
- right: 0;
- }
- image {
- width: 100%;
- height: 100%;
- }
- view {
- font-size: 32rpx;
- font-family: PingFang-SC-Bold, PingFang-SC;
- font-weight: bold;
- color: #ffffff;
- line-height: 32rpx;
- text-align: center;
- margin-top: 28rpx;
- }
- }
- .poster {
- padding: 24rpx 40rpx;
- .footer-btn {
- margin-top: 24rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- view {
- width: 319rpx;
- height: 66rpx;
- border-radius: 40rpx;
- border: 1px solid #4070ff;
- font-size: 26rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #4070ff;
- line-height: 66rpx;
- text-align: center;
- }
- .save {
- background: #4070ff;
- color: #ffffff;
- }
- }
- }
- .poster-btn {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 140rpx;
- background: #ffffff;
- border-radius: 32rpx 32rpx 0px 0px;
- display: flex;
- align-items: center;
- justify-content: space-around;
- >view {
- width: 80rpx;
- height: 80rpx;
- position: relative;
- border-radius: 10rpx;
- border: 4rpx solid #fff;
- &.is-check {
- border: 4rpx solid #4070ff;
- }
- image {
- width: 100%;
- height: 100%;
- }
- view {
- width: 30rpx;
- height: 30rpx;
- position: absolute;
- right: -15rpx;
- bottom: -15rpx;
- background: url('https://s.yun-live.com/images/20210201/311c01265c1aa508418f6bae10d67602.png') no-repeat;
- background-size: 100% 100%;
- }
- }
- }
- .select {
- font-weight: bold;
- font-size: 32rpx;
- margin: 30rpx;
- }
- .model_view {
- margin: 30rpx;
- .modelname {
- font-size: 32rpx;
- font-weight: bold;
- width: 56%;
- .name {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .modeldetails {
- font-size: 26rpx;
- font-weight: 500;
- margin-top: 12rpx;
- color: #9e9e9e;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- }
- .modelselect {
- background: #03a9f4;
- border-radius: 14rpx;
- color: #fff;
- width: 58px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- }
- }
- .expand {
- // padding: 20rpx;
- // margin: 20rpx 20rpx 155rpx 20rpx;
- // padding-bottom: env(safe-area-inset-bottom);
- margin-left: 20rpx;
- .surplus {
- font-size: 26rpx;
- background: #fff;
- border-radius: 50rpx;
- padding: 8rpx 12rpx;
- margin-right: 20rpx;
- border: 1px solid #ededed;
- // box-shadow: 0px 0px 10px 3px #f1f1f1;
- .item {
- margin-left: 10rpx;
- }
- // display: inline-block;
- }
- }
- .scroll-view_H {
- white-space: nowrap;
- width: 100%;
- margin-bottom: 177rpx;
- }
- .operate {
- width: 91%;
- margin-top: 12rpx;
- position: relative;
- .duplicate {
- font-size: 26rpx;
- margin-left: 6rpx;
- color: #9e9e9e;
- }
- // .eliseaudio {
- // position: absolute;
- // right: 0;
- // }
- .share {
- font-size: 26rpx;
- margin-left: 6rpx;
- color: #9e9e9e;
- }
- .broadcast {
- background: #fff;
- width: 150rpx;
- height: 40rpx;
- border-radius: 60rpx;
- // padding: 0 5rpx;
- .play {
- border-radius: 50%;
- }
- image {
- width: 150rpx;
- height: 40rpx;
- border-radius: 60rpx;
- }
- }
- .hoversubmit {
- background: #9e9e9e61;
- }
- }
- .bottomheight {
- width: 100%;
- height: 217rpx;
- }
- .soundrecording {
- flex-direction: column;
- .discriminate {
- color: #9e9e9e;
- margin-bottom: 30rpx;
- }
- }
- .waveform {
- image {
- width: 468rpx;
- height: 168rpx;
- }
- }
- .operation {
- margin: 60rpx 0 30rpx;
- .affirm {
- margin: 0 42rpx;
- image {
- width: 60rpx;
- height: 60rpx;
- }
- }
- .longpress {
- background: red;
- border-radius: 50%;
- padding: 30rpx;
- image {
- width: 70rpx;
- height: 70rpx;
- }
- }
- .hoversubmit {
- background: #9e9e9e61;
- }
- }
- .env {
- padding-bottom: env(safe-area-inset-bottom);
- }
|