/* pages/index.wxss */ .container{ padding-bottom: 120rpx; } .page-body{ height: 300rpx; position: relative; } .swiper-item image{ width: 100%; height: 300rpx; } .dots{ display: inline-block; position: absolute; bottom: 20rpx; right: 0; padding: 0 20rpx; } .dots .dot{ width: 8rpx; height: 8rpx; background: #fff; float: left; margin:0 4rpx; border-radius: 50%; } .dots .dot.active{ background: #2a8de9; } .rule{ padding: 40rpx 90rpx 0; font-size: 23rpx; text-align: left; color: #8c8c8c; line-height: 32rpx; } .rule text:first-child{ display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .rule .rule-more{ color: #2a8de9; } /**/ .scroll-height{ height: 100vh; } .works{ padding: 0 24rpx; } .works .list{ width:calc((100% - 20rpx) / 2); float: left; margin-top: 30rpx; } .works .list:nth-child(2n){ float: right; } .works .list .img{ padding: 16rpx; width: 100%; position: relative; } .works .list .img .id{ width: 61rpx; height: 72rpx; position: absolute; left: 0; top: 0; font-size: 24rpx; color: #fff; text-align: center; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAABICAYAAACuukaYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1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GsAk+tEvYY58L/FhOPITKLwcYqI6BX3fw3eRPQ/Dwhbo3aCf0i8SWhhCtBRgA0ghNoQEzJioAAAAASUVORK5CYII=) no-repeat top center; background-size:61rpx 72rpx ; } .works .list .img .id text{ display: block; margin-top: -5rpx; } .works .list .img image{ width: 277rpx; height: 256rpx; } .works .list .text{ display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 22rpx; color: #8c8c8c; padding:0 16rpx; } .works .list .name{ font-size: 30rpx; color: #333333; display: inline-block; width: 100%; padding: 16rpx; vertical-align: top; } .works .list .name text{ float: right; color: #ff1a1a; } .works .list .add{ width: 100%; height: 58rpx; line-height: 58rpx; background:#ffc103; padding: 0; border-radius: 0; color: #fff; font-size: 30rpx; } .search{ padding: 20rpx 24rpx; } .search .search-int{ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAkCAYAAADsHujfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS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akHQBfmF+pE5JPKtNWI+IahPXSc/ms5Ekhi9jMqNy4boRj11jSmzI8SsAc5jeDbyEJUaF5zfwSKaSQ+S1GuPaSHU+SQmLM7wpZyGd2nCuFRMWXMUxLioqdIaSH+bGQhYwQKylDSAfzp4QspIgdd0ghPEHL5JQFaAOpGKbthRTSwPxhYFlIQlaAHOY36Gbkrd3nNyCrYMdvQKuu1vDyv4Ca5CBtLYU9bWetip7qEz6xcbXHGBWQiALxYlVUL1sJUUVuBxsfSW3AcJ8i8ug5+WysXFdUeWN0C1xl/kzwCEz2sVQbwXQ2pmbijpuedTN4yPyp4DklWrZLATm0D2qmLp5bm9vmOUnLrE60d6rxbQeHqTs3NbsBVU2P0DajmrWd3A6BPW43WL0k5pioPaPBPpCgGLdRNW0nvwnsFUmu7r8icqJKJ8Zqp/ebLi6lF+j2Q+PBDDDOYn/URPdvoh9mKybiEO8Erf/59MucmqZuSvh5dF+CxuudxLj9b0AjkUWFsZhCFaVdfxd9Ld9Tu6mztJi77FNfRX+Pmh6XZIo+za19XNJWYrojxv83XZg29IcQLuYHzfIN0+g/U2LGgEHg6z8BBgCauqqxmMlUBwAAAABJRU5ErkJggg==) #ebebeb no-repeat; background-size: 34rpx 36rpx; background-position: 580rpx center; height: 60rpx; border-radius: 30rpx; padding-right: 80rpx; padding-left: 30rpx; font-size: 24rpx; }