123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- /**app.wxss**/
- page {
- font-family: PingFangSC-Regular;
- font-size: 32rpx;
- color: #333;
- background: #F5F5F5;
- }
- view {
- word-break: break-all;
- }
- image,
- text {
- display: inline-block;
- vertical-align: middle;
- }
- button,
- button::after {
- border: none;
- border-radius: 0;
- padding: 0;
- margin: 0;
- }
- .pb {
- padding-bottom: 98rpx;
- }
- .container {
- position: relative;
- }
- .wrapper {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- }
- .list {
- padding: 10rpx 40rpx;
- }
- .li {
- margin: 20rpx auto;
- background: #fff;
- border-radius: 18rpx;
- padding: 30rpx;
- }
- .li-label {
- font-size: 28rpx;
- color: #666;
- margin: 40rpx auto 20rpx auto;
- }
- /* 搜索框统一样式 ===== start ===== */
- .search-container {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .search-wrapper {
- flex: 1;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- padding: 16rpx 30rpx;
- margin-right: 30rpx;
- background:rgba(255,255,255,1);
- box-shadow:0px 4rpx 10rpx 0px rgba(11,71,94,0.2);
- border-radius:86rpx;
- }
- .search-icon {
- width: 30rpx;
- height: 30rpx;
- }
- .search-input {
- flex: 1;
- color: #666;
- font-size: 26rpx;
- margin: 0 20rpx;
- }
- .search-placeholder {
- color: #999;
- font-size: 26rpx;
- }
- .search-button {
- background:linear-gradient(90deg,rgba(81,206,255,1) 0%,rgba(0,183,255,1) 100%);
- box-shadow:0px 4rpx 10rpx 0rpx rgba(11,71,94,0.2);
- padding: 20rpx 39rpx;
- font-size: 28rpx;
- color: #fff;
- cursor: pointer;
- border-radius:86rpx;
- }
- .search-button-active {
- background: linear-gradient(90deg,rgba(81,206,255,1) 0%,rgba(0,183,255,1) 100%);
- }
- /* 搜索框统一样式 ===== end ===== */
- /* 弹框统一样式 ===== start ===== */
- .showModel{
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- background: #000;
- opacity: 0.5;
- overflow: hidden;
- z-index: 1000;
- color: #fff;
-
- }
- .model{
- z-index: 1001;
- position: fixed;
- top: 30%;
- margin: 0 60rpx;
- background: #fff;
- border-radius:30rpx;
- text-align: center;
- }
- .screen-footer{
- padding: 40rpx
- }
- /* 弹框统一样式 ===== end ===== */
- /* 导航头部统一样式 ===== start ===== */
- .nav {
- display: flex;
- justify-content: center;
- align-items: center;
- background: #fff;
-
- }
- .nav-item {
- flex: 1;
- text-align: center;
- position: relative;
- }
- .nav-item-row {
- display: inline-flex;
- justify-content: center;
- align-items: center;
- padding: 25rpx 0;
- transition: all .3s;
- border-bottom: solid 6rpx transparent;
- }
- .nav-item-row-active {
- border-bottom: solid 6rpx #00B7FF;
- }
- .nav-item::after {
- content: "";
- position: absolute;
- right: 0;
- top: 24rpx;
- width: 2rpx;
- height: 46rpx;
- background: #e6e6e6;
- }
- .nav-item:nth-last-of-type(1):after {
- content: "";
- position: absolute;
- right: 0;
- top: 0;
- width: 0;
- height: 0;
- }
- .nav-item-text {
- font-size: 30rpx;
- color: #6C6C80;
- }
- .nav-item-text-active {
- color: #41414C;
- }
- .nav-item-button {
- font-size: 24rpx;
- color: #6C6C80;
- border-radius: 4rpx;
- padding: 0 14rpx;
- margin-left: 10rpx;
- border: 1rpx solid #6C6C80;
- }
- .nav-item-button-active {
- color: #41414C;
- border: 1rpx solid #41414C;
- }
- /* 导航头部统一样式 ===== end ===== */
- /* 底部按钮统一样式 ===== start ===== */
- .footer-box {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- padding: 20rpx 0;
- background: linear-gradient(90deg,rgba(81,206,255,1),rgba(0,183,255,1));
- opacity: 0.9;
- cursor: pointer;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 99;
- }
- .footer-box-gray {
- background: #ccc;
- color: #999;
- }
- .footer-box-item {
- flex: 1;
- padding: 4rpx 0;
- text-align: center;
- font-size: 30rpx;
- color: #fff;
- border-right: solid 1rpx #fff;
- cursor: pointer;
- }
- .footer-box-item:nth-last-of-type(1) {
- border-right: none;
- }
- /* 底部按钮统一样式 ===== end ===== */
- /* 图书介绍统一样式 ===== start ===== */
- .book-container {
- width: 100%;
- }
- .book-wrapper {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- }
- .book-content {
- flex: 1;
- }
- .book-images {
- width: 200rpx;
- height: 230rpx;
- box-shadow: 0rpx 0rpx 8rpx 0px rgba(204,204,204,1);
- border-radius: 6rpx;
- margin-right: 24rpx;
- overflow: hidden;
- position: relative;
- /* top:-24rpx; */
- }
- .book-image {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .book-tip {
- position: absolute;
- top: 0;
- left: 0;
- background: rgba(255,84,43,1);
- border-radius: 6rpx 0rpx 6rpx 0rpx;
- opacity: 0.8;
- font-size: 28rpx;
- color: #fff;
- padding: 14rpx 15rpx;
- }
- .book-tip-two {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background:rgba(255,128,168,1);
- border-radius: 6rpx 0rpx 6rpx 0rpx;
- opacity: 0.8;
- font-size: 28rpx;
- color: #fff;
- padding: 14rpx 15rpx;
- text-align: center;
- }
- .book-title,
- .book-text,
- .book-content {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .book-text,
- .book-context {
- font-size: 28rpx;
- color: #666;
- /* margin-top: 16rpx; */
- }
- .book-title {
- font-size: 32rpx;
- color: #333;
- }
- .book-text {
- -webkit-line-clamp: 1;
- }
- .book-footer {
- margin-top: 30rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .book-footer-two {
- margin-top: 30rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .book-footer-right {
- justify-content: flex-end;
- }
- .book-footer-item {
- position: relative;
- font-size: 28rpx;
- cursor: pointer;
- margin-left: 30rpx;
- }
- .book-footer-item-two {
- position: relative;
- font-size: 28rpx;
- cursor: pointer;
- margin-top: 30rpx;
- }
- .book-footer-item:nth-of-type(1) {
- margin-left: 0;
- }
- .book-footer-item-two:nth-of-type(1) {
- margin-top: 0;
- }
- .book-icon {
- width: 30rpx;
- height: 30rpx;
- margin-right: 14rpx;
- }
- .book-icon-two {
- width: 28rpx;
- height: 34rpx;
- margin-right: 14rpx;
- }
- .book-text-large {
- font-size: 32rpx;
- }
- .book-text-blue {
- color: #00B7FF;
- }
- .book-text-gray {
- color: #999;
- }
- .book-text-red {
- color: #FF80A8;
- }
- .book-text-yellow {
- color: #FF542B;
- }
- .book-button-yellow {
- background: rgba(255,255,255,1);
- border-radius: 200rpx;
- border: 1rpx solid rgba(255,84,43,1);
- color: rgba(255,84,43,1);
- padding: 12rpx 24rpx;
- min-width: 98rpx;
- text-align: center;
- }
- .book-button-blue {
- background: rgba(255,255,255,1);
- border-radius: 200rpx;
- border: 1rpx solid rgba(0,183,255,1);
- color: rgba(0,183,255,1);
- padding: 12rpx 24rpx;
- min-width: 98rpx;
- text-align: center;
- }
- .book-button-fill-blue {
- background: linear-gradient(90deg,rgba(81,206,255,1) 0%,rgba(0,183,255,1) 100%);
- border-radius: 200rpx;
- border: 1rpx solid transparent;
- color: rgba(255,255,255,1);
- padding: 12rpx 24rpx;
- min-width: 98rpx;
- text-align: center;
- }
- .book-modal {
- position: absolute;
- top: 200%;
- right: -30rpx;
- width: 400rpx;
- padding: 30rpx;
- background: rgba(0,0,0,1);
- border-radius: 16rpx;
- opacity: 0.5;
- font-size: 30rpx;
- color: #fff;
- line-height: 42rpx;
- z-index: 9;
- }
- .book-modal::after {
- content: "";
- position: absolute;
- top: -18rpx;
- right: 15%;
- border-left: solid 16rpx transparent;
- border-right: solid 16rpx transparent;
- border-bottom: solid 20rpx rgba(0,0,0,1);
- }
- @keyframes snake {
- 0%, 20%, 40%, 60%, 80% {
- transform: translate(0, 0);
- opacity: 0.5;
- }
- 5%, 15%, 25%, 35%, 45%, 55%, 65%, 75% {
- transform: translate(0, -10rpx);
- opacity: 0.4;
- }
- 10%, 30%, 50%, 70% {
- transform: translate(0, 10rpx);
- opacity: 0.6;
- }
- 90% {
- opacity: 0;
- z-index: 9;
- }
- 100% {
- z-index: -9;
- opacity: 0;
- }
- }
- @keyframes snake-slow {
- 0%, 100% {
- transform: translate(0%, 0);
- }
- 25%, 75% {
- transform: translate(0%, -10rpx);
- }
- 50% {
- transform: translate(0%, 10rpx);
- }
- }
- .book-nav{
- display: flex;
- justify-content: space-between
- }
- .canvas {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- flex-direction: column;
- height: 617rpx;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- }
- /* 图书介绍统一样式 ===== end ===== */
- /* 列表2.0统一样式 ===== end ===== */
- .ul{
- display: flex;
- justify-content: flex-start;
- align-items: center;
- background:rgba(255,255,255,1);
- border-radius:18rpx;
- margin-bottom: 50rpx;
- position: relative;
- }
- .ui-image{
- position: relative;
- top: -30rpx;
- }
- .li-img{
- width: 178rpx;
- height: 210rpx;
- box-shadow:0px 0px 8rpx 0px rgba(204,204,204,1);
- border-radius:6rpx;
- }
- .li-right{
- color: #333333;
- font-size: 34rpx;
- margin-left: 10rpx;
- padding: 20rpx;
-
- }
- .li-right-tips{
- margin: 20rpx 0;
- }
- .li-right-tips-items{
- height:40rpx;
- line-height: 40rpx;
- border-radius:8rpx;
- border:2rpx solid rgba(103,163,255,1);
- color: #67A3FF;
- font-size: 24rpx;
- padding:0 8rpx;
- display: inline-block;
- /* margin: 10rpx 0; */
- }
- .li-right-grade{
- width: 28rpx;
- height: 34rpx;
- margin-right: 10rpx;
- }
- .ul-num{
- position: absolute;
- bottom: 42rpx;
- right: 30rpx;
- }
- .ul-num-img{
- width: 50rpx;
- height: 50rpx;
- }
- .ul-num-text{
- color: #666666;
- font-size: 30rpx;
- margin: 0 20rpx;
- }
- /* 加载统一样式 ===== end ===== */
- .load{
- color: #999999;
- font-size: 26rpx;
- text-align: center;
- margin: 30rpx;
- }
- .load-img{
- width: 40rpx;
- height: 40rpx;
- animation: loading 3s linear infinite;
- }
- @keyframes loading {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .firstaddBooks{
- height:60rpx;
- text-align:center;
- line-height:60rpx;
- width:160rpx;
- background: linear-gradient(#51CEFF, #00B7FF);
- color:#ffff;
- border-radius:36rpx;
- font-size:14px;
- padding:5rpx 10rpx;
- margin: 0 auto;
- margin-top:100rpx;
- }
- /* 书籍列表迭代样式 */
- .list-items{
- margin: 0;
- padding: 0;
- }
- .list-items-title{
- color: #41414C;
- font-size: 36rpx;
- margin: 40rpx 0;
- font-weight: bold;
- }
- .list-item{
- display: flex;
- justify-content: flex-start;
- margin-bottom: 50rpx;
- }
- .list-item-img-items{
- width:210rpx;
- height:220rpx;
- border-radius:10rpx;
- }
- .list-item-content{
- color: #41414C;
- font-size: 32rpx;
- margin-left: 40rpx;
- text-align: left;
- font-weight:500;
- }
- .list-item-content-tips{
- color: #6C6C80;
- font-size: 26rpx;
- margin: 8rpx 0;
- }
- .list-item-content-title{
- font-weight: bold;
- }
- .list-item-content-label{
- font-size: 24rpx;
- font-weight:400;
- }
- .list-item-content-label-one{
- color: #20A3E0;
- background:rgba(226,243,251,1);
- border-radius:20px;
- text-align: center;
- padding: 5rpx 15rpx;
- display: inline-block;
- margin-right: 15rpx;
- }
- .list-item-content-label-two{
- color: #D59F10;
- background:#FEF6DF;
- border-radius:20px;
- text-align: center;
- padding: 5rpx 15rpx;
- display: inline-block
- }
- .list-item-content-fire{
- width: 26rpx;
- height: 30rpx;
- margin:5rpx 0 0 13rpx;
- }
- .list-detail-head{
- display: flex;
- justify-content: space-between;
- color: #6C6C80;
- font-size: 30rpx;
- margin-bottom: 10rpx
- }
- .list-dedail-item{
- background:rgba(246,245,251,1);
- border-radius:20rpx;
- padding: 40rpx;
- margin-bottom: 18rpx;
- }
- .list-dedail-date{
- border-top: 1rpx solid #E6E6EC;
- padding-top: 25rpx;
- color: #A1A1B3;
- font-size: 26rpx;
- }
|