123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417 |
-
- page {
- background: #f2f6f2;
- width: 100%;
- color: #333;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
- Arial, sans-serif;
- }
- .page {
- background: #f2f6f2;
- width: 100%;
- }
- /* 自定义导航栏样式 */
- .custom-navbar {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: calc( 90rpx + var(--status-bar-height));
- padding: 0 20rpx;
- padding-top: var(--status-bar-height);
- background-color: #ffffff;
- position: sticky;
- top: 0;
- z-index: 100;
- .navbar-left {
- width: 80rpx;
- height: 80rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- .fa-angle-left {
- font-size: 48rpx;
- color: #333;
- }
- }
- .navbar-center {
- flex: 1;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- // margin-left: 10rpx;
- .navbar-title {
- display: flex;
- align-items: center;
- .navbar-avatar {
- width: 60rpx;
- height: 60rpx;
- border-radius: 50%;
- margin-right: 10rpx;
- }
- .navbar-text {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- margin-right: 10rpx;
- }
- .navbar-badge {
- font-size: 22rpx;
- color: #f0ad4e;
- background-color: rgba(240, 173, 78, 0.1);
- padding: 2rpx 10rpx;
- border-radius: 10rpx;
- border: 1rpx solid #f0ad4e;
- }
- }
- }
- .navbar-right {
- min-width: 80rpx;
- height: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- .fa-ellipsis-h {
- font-size: 36rpx;
- color: #333;
- }
- image {
- width: 64rpx;
- height: 64rpx;
- }
- .followTheAuthor {
- padding: 6rpx 20rpx 8rpx 15rpx;
- border-radius: 26rpx;
- margin-right: 16rpx;
- transition: all 0.6s;
- border: 2rpx solid transparent;
- &.followTheAuthor1 {
- color: #acf934;
- background: #1f1f1f;
- }
- &.followTheAuthor0 {
- border: 2rpx solid #1f1f1f;
- background: #fff;
- }
- }
- }
- }
- // 评论区域样式
- .comment-section {
- background-color: #f8f8f8;
- padding: 30rpx 0;
- margin-top: 20rpx;
- border-radius: 30rpx 30rpx 0 0;
- .section-header {
- display: flex;
- align-items: center;
- padding: 0 30rpx 20rpx;
- border-bottom: 1rpx solid #eee;
- margin-bottom: 20rpx;
- .fa {
- font-size: 36rpx;
- color: #2979ff;
- }
- .section-title {
- font-size: 32rpx;
- font-weight: bold;
- margin: 0 10rpx;
- color: #333;
- }
- .comment-count {
- font-size: 28rpx;
- color: #999;
- }
- }
- .comment-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 650rpx;
- height: 90rpx;
- background-color: #2979ff;
- color: #fff;
- border-radius: 45rpx;
- margin: 40rpx auto 20rpx;
- font-size: 30rpx;
- box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.3);
- transition: all 0.3s ease;
- .fa {
- margin-right: 10rpx;
- }
- &:active {
- transform: scale(0.97);
- background-color: #2567db;
- }
- }
- }
- /* 确保评论按钮样式 */
- .comment-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 650rpx;
- height: 90rpx;
- background-color: #2979ff;
- color: #fff;
- border-radius: 45rpx;
- margin: 40rpx auto 20rpx;
- font-size: 30rpx;
- box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.3);
- }
- .inspiration-content {
- width: 700rpx;
- // min-height: 1000rpx;
- padding: 0;
- margin: 0 auto;
- // background: url("../../static/makedetail/cz_img_zhanshi.png") top center/100% no-repeat;
- box-sizing: border-box;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- image {
- width: 100%;
- height: auto;
- margin: 0;
- }
- .inspirationPictures {
- border-radius: 0px 0px 32rpx 32rpx;
- // border: 2rpx solid #000000;
- }
- }
- // 音乐模式样式
- .musicContentBox {
- padding-top: 20rpx;
- .headCard {
- background: #fff;
- width: 694rpx;
- height: 172rpx;
- border-radius: 20rpx;
- box-sizing: border-box;
- padding: 20rpx 24rpx 28rpx 20rpx;
- margin: 0rpx auto;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .songCover {
- width: 124rpx;
- height: 124rpx;
- border-radius: 16rpx;
- }
- .songInfo {
- width: 400rpx;
- .songTitle {
- font-family: PingFang SC;
- font-weight: 400;
- font-size: 34rpx;
- color: #1f1f1f;
- padding-bottom: 4rpx;
- }
- .songTag {
- display: flex;
- flex-wrap: wrap;
- max-height: 88rpx;
- overflow: hidden;
- .tag {
- padding: 2rpx 6rpx;
- font-family: PingFang SC;
- font-weight: 400;
- font-size: 20rpx;
- color: #1f1f1f;
- border-radius: 8rpx;
- border: 2rpx solid #e6e6e6;
- margin-right: 8rpx;
- margin-bottom: 5rpx;
- }
- }
- }
- .playerButton {
- width: 76rpx;
- height: 76rpx;
- }
- }
- .contentHeader {
- position: relative;
- left: 0;
- top: 0;
- padding-bottom: 40rpx;
- .musicContent {
- width: calc(100% - 76rpx);
- height: 620rpx;
- margin: 38rpx auto;
- margin-right: 0;
- overflow: hidden;
- overflow-y: auto;
- background: url("../../static/makedetail/cz_img_cd.png") center right/auto
- 100% no-repeat;
- background-position-x: 530%;
- box-sizing: border-box;
- padding: 200rpx 0;
- .roll {
- position: absolute;
- left: 28rpx;
- top: 50%;
- transform: translateY(-50%);
- width: 26rpx;
- height: 120rpx;
- }
- }
- .maskLayer {
- width: 60%;
- height: 100%;
- position: absolute;
- left: 0;
- top: 0;
- background: linear-gradient(
- to bottom,
- rgba(242, 246, 242, 0.8) 0,
- rgba(242, 246, 242, 0) 45%,
- rgba(242, 246, 242, 0) 55%,
- rgba(242, 246, 242, 0.8) 100%
- );
- pointer-events: none;
- }
- }
- }
- // 作品描述
- .workDescription {
- margin: 20rpx 28rpx 30rpx 28rpx;
- background: #fff;
- border-radius: 20rpx;
- padding: 22rpx 28rpx 32rpx 28rpx;
- .workDescription-title {
- font-weight: 400;
- font-family: "PingFang SC-Bold";
- font-size: 36rpx;
- display: flex;
- align-content: center;
- padding-bottom: 24rpx;
- .pen {
- width: 36rpx;
- height: 36rpx;
- margin-top: 10rpx;
- margin-left: 5rpx;
- }
- }
- .workDescription-content {
- font-size: 28rpx;
- color: #1f1f1f;
- }
- }
- // 去创作
- .goCreate {
- width: 694rpx;
- height: 70rpx;
- background: #1f1f1f;
- border-radius: 58rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 32rpx;
- font-family: 'PingFang SC-Bold';
- color: #fff;
- margin: 0 auto;
- // margin-bottom: 20rpx;
- }
- .floating-bar {
- background: #ffffff;
- border-radius: 20rpx;
- color: #1f1f1f;
- }
- /* 底部漂浮栏样式 */
- .floating-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: #fff;
- box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
- padding: 20rpx 30rpx;
- padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
- z-index: 100;
- .floating-bar-content {
- display: flex;
- align-items: center;
- .add-note-btn {
- border-radius: 58rpx;
- border: 4rpx solid #000000;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 220rpx;
- height: 80rpx;
- &:active {
- background-color: #e5e5e5;
- }
- }
- text {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 16px;
- color: #1f1f1f;
- }
- .publish-btn {
- flex: 3;
- height: 80rpx;
- background: #1f1f1f;
- margin-left: 20rpx;
- border-radius: 40rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- text {
- color: #fff;
- }
- &:active {
- opacity: 0.9;
- }
- }
- }
- }
- /* 弹窗样式 */
- .popup-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 998;
- }
- .comment-button .fa {
- margin-right: 10rpx;
- }
- .comment-button:active {
- opacity: 0.9;
- transform: scale(0.98);
- }
|