123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452 |
- /* pages/guicangDetails/index.wxss */
- .container {
- padding: 0;
- background: url('https://swkz-1332577016.cos.ap-guangzhou.myqcloud.com/swkzGuicang/bg.png') no-repeat 100% 180%;
- background-size: cover;
- color: #fff;
- min-height: 100vh;
- position: relative;
- overflow: hidden;
- }
- /* 下载APP提示栏 */
- .app-download-banner {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- background: #fff;
- z-index: 100;
- padding: 20rpx 30rpx;
- box-sizing: border-box;
- }
- .banner-content {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .app-logo {
- width: 60rpx;
- height: 60rpx;
- border-radius: 12rpx;
- margin-right: 20rpx;
- }
- .app-info {
- flex: 1;
- margin-right: 20rpx;
- }
- .app-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #333333;
- line-height: 1.2;
- }
- .app-subtitle {
- font-size: 24rpx;
- color: #888888;
- line-height: 1.2;
- }
- .banner-actions {
- display: flex;
- align-items: center;
- }
- .download-btn {
- background-color: #B39775;
- border: 1px solid #B39775;
- border-radius: 30rpx;
- padding: 12rpx 24rpx;
- font-size: 26rpx;
- color: #fff;
- margin-right: 20rpx;
- }
- .close-btn {
- color: #888888;
- font-size: 48rpx;
- margin-right: 10rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .close-icon {
- width: 24rpx;
- height: 24rpx;
- opacity: 0.8;
- }
- /* 图片区域 */
- .image-container {
- width: 100%;
- height: 50%;
- position: absolute;
- top: 45%;
- transform: translateY(-50%);
- background-size: cover;
- }
- .main-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .image-info {
- position: absolute;
- bottom: 240rpx;
- left: 0;
- width: 100%;
- padding: 30rpx;
- background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
- }
- .title {
- font-size: 40rpx;
- font-weight: bold;
- margin-bottom: 10rpx;
- }
- .subtitle {
- font-size: 28rpx;
- color: #ccc;
- }
- /* 可上拉信息框 */
- .info-box {
- position: absolute;
- left: 0;
- width: 100%;
- height: 100vh;
- background-color: #1a1a1a;
- border-top-left-radius: 30rpx;
- border-top-right-radius: 30rpx;
- transition: top 0.3s ease;
- z-index: 10;
- }
- .info-box.full-screen {
- top: 10vh !important;
- }
- /* 上拉指示器 */
- .drag-indicator {
- width: 80rpx;
- height: 8rpx;
- background-color: #fff;
- border-radius: 4rpx;
- margin: 20rpx auto;
- }
- /* 内容区域 */
- .info-content {
- padding: 0 30rpx 30rpx;
- overflow-y: auto;
- max-height: calc(98vh - 60rpx);
- }
- .section-title {
- font-size: 32rpx;
- font-weight: bold;
- margin-bottom: 30rpx;
- }
- .description-text {
- font-size: 28rpx;
- line-height: 1.6;
- color: #ccc;
- margin-bottom: 30rpx;
- white-space: pre-wrap;
- }
- /* 信息区域 */
- .info-section {
- margin-top: 30rpx;
- border-top: 1px solid #333;
- padding-top: 30rpx;
- }
- .info-item {
- display: flex;
- margin-bottom: 20rpx;
- }
- .info-label {
- width: 120rpx;
- color: #999;
- font-size: 28rpx;
- }
- .info-value {
- flex: 1;
- color: #fff;
- font-size: 28rpx;
- }
- /* 加载中 */
- .loading {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100vh;
- color: #999;
- }
- .loading-text {
- margin-top: 20rpx;
- font-size: 28rpx;
- }
- /* 添加以下样式到index.wxss文件 */
- .header-section {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- margin-bottom: 30rpx;
- padding-bottom: 20rpx;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- }
- .title-container {
- flex: 1;
- }
- .title {
- font-size: 36rpx;
- font-weight: bold;
- color: #fff;
- margin-bottom: 10rpx;
- }
- .subtitle {
- font-size: 24rpx;
- color: rgba(255, 255, 255, 0.6);
- }
- .share-button {
- width: 100rpx;
- height: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: 20rpx;
- border-radius: 30rpx;
- border: 1px solid #252525;
- }
- .share-icon {
- width: 30rpx;
- height: 30rpx;
- }
- /* 分享弹窗样式 */
- .share-popup {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 999;
- }
- .share-popup-mask {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.7);
- }
- .share-popup-content {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #2a2a2a;
- border-top-left-radius: 20rpx;
- border-top-right-radius: 20rpx;
- padding: 30rpx;
- box-sizing: border-box;
- }
- .share-title {
- font-size: 32rpx;
- color: #fff;
- text-align: center;
- margin-bottom: 30rpx;
- }
- .canvas {
- width: 375px;
- height: 600px;
- position: fixed;
- left: -9999px;
- top: 0;
- }
- .widget{
- position: absolute;
- left: -9999px;
- top: 0;
- }
- .share-image-container {
- width: 720rpx;
- height: 512rpx;
- display: flex;
- flex-direction: column;
- background-color: #ccc;
- align-items: center;
- }
- .share-png-box{
- position: absolute;
- left: 36rpx;
- top: -160%;
- z-index: 10;
- width: 680rpx;
- height: 512rpx;
- border-radius: 20rpx;
- overflow: hidden;
- background: #323233;
- }
- .share-tips{
- width: 100%;
- height: 100%;
- font-size: 28rpx;
- color: #f5f5f5;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .share-png{
- width: 100%;
- height: 100%;
- }
- .top-image{
- width: 100%;
- height: 378rpx;
- background: linear-gradient(to bottom, #000 0%, #040404 25%, #262626 50%, #343434 75%, #3D3D3D 100%);
- }
- .wenwubg{
- width: 100%;
- height: 378rpx;
- }
- .item-box{
- position: relative;
- width: 100%;
- height: 134rpx;
- }
- .btmbg{
- width: 100%;
- height: 134rpx;
- }
- .left-box{
- position:absolute;
- display: flex;
- left: 0;
- top: 0;
- width: 710rpx;
- height: 132rpx;
- flex-direction: column;
- justify-content: center;
- padding-left: 48rpx;
- }
- .text{
- width: 254rpx;
- text-align: left;
- }
- .canvas-code{
- position: absolute;
- width: 72rpx;
- height: 72rpx;
- top: -50%;
- z-index: -1;
- }
- .scrwenwu {
- font-size: 14px;
- color: #383127;
- vertical-align: bottom;
- }
- .scrcontent {
- font-size: 10px;
- color: #B39775;
- vertical-align: top;
- }
- .rightBox {
- width: 100rpx;
- height: 100rpx;
- position:absolute;
- right: 0;
- top: 16rpx;
- }
- .qrcode {
- width: 50px;
- height: 50px;
- border-radius: 1;
- }
- .share-image {
- max-width: 90%;
- margin: 0 auto;
- }
- .loading-image {
- width: 80%;
- height: 400rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #999;
- font-size: 28rpx;
- background-color: #333;
- border-radius: 10rpx;
- }
- .share-options {
- display: flex;
- justify-content: space-around;
- margin-bottom: 40rpx;
- }
- .share-option-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .option-img{
- display: flex;
- justify-content: center;
- align-items: center;
- width: 148rpx;
- height: 96rpx;
- background: #323233;
- box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
- border-radius: 24rpx;
- margin-bottom: 8rpx;
- }
- .option-icon {
- width: 44rpx;
- height: 44rpx;
- }
- .option-text {
- font-size: 24rpx;
- color: #fff;
- }
- .cancel-button {
- width: 100%;
- height: 90rpx;
- line-height: 90rpx;
- text-align: center;
- background-color: #3a3a3a;
- color: #fff;
- font-size: 32rpx;
- border-radius: 45rpx;
- box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
- }
|