html,body { padding: 0; margin: 0; line-height: 0; } /* 布局样式 */ .content { display: none; position: relative; margin: 0 auto; max-width: 1000px; line-height: 0; font-size: 0; } .content-item, .content-item > img{ width: 100%; position: relative; text-align: center; } .tips { display: inline-block; position: absolute; left: .91rem; top: 1.03rem; height:.29rem; font-size:.3rem; font-family:PingFang SC; font-weight:400; color:rgba(255,255,255,1); line-height:.44rem; letter-spacing: .03rem; } .shared-tips { top: .9rem; } /* 循环展示信息 */ .loop-message { position: absolute; left: .85rem; top: .1rem; color: #FFD46D; line-height: .32rem; font-size: .26rem; height: .32rem; overflow: hidden; z-index: 1; } .loop-message ul { margin: 0; padding: 0; list-style: none; animation: 5s wordsLoop linear infinite; -webkit-animation: 5s wordsLoop linear infinite; } @keyframes wordsLoop { 0% { transform: translateY(0); -webkit-transform: translateY(0); } 100% { transform: translateY(-50%); -webkit-transform: translateY(-50%); } } @-webkit-keyframes wordsLoop { 0% { transform: translateY(0); -webkit-transform: translateY(0); } 100% { transform: translateY(-50%); -webkit-transform: translateY(-50%); } } /* 分享弹窗 */ .share-dialog { display: none; position: fixed; left: 0; right: 0; top: 0; width: 100%; height: 100%; text-align: center; background-color: rgba(0,0,0,.8); transition: display 3s; z-index: 10; } .share-dialog img { width: 5.85rem; max-width: 780px; margin-top: 1.5rem; } .show { display: block; transition: display 3s; } /* 按钮样式 */ .hidden-button { display: inline-block; position: absolute; outline: none; } .dialog-button { width: 5.4rem; height: .9rem; top: 9rem; left: 1.05rem; } .main-button { width: 4.81rem; height: .92rem; left: 1.37rem; top: .22rem; } .bottom-button { width: 6.63rem; height: .9rem; left: .44rem; top: .22rem; } .shared-main-button { width: 4.81rem; height: .92rem; left: 1.37rem; bottom: .31rem; } /* 已收获奖励样式 */ .shared-data { text-align: left; z-index: 1; position: absolute; left: 0; top:.28rem; } .shared-data-item { display: inline-block; width:2.06rem; height: 1.83rem; margin-left: .35rem; } .shared-data-item-title { height:.55rem; font-size:.26rem; font-family:PingFang SC; font-weight:400; text-align: center; letter-spacing: .03rem; color:rgba(96,66,66,1); line-height:.44rem; } .shared-data-item-content { height: 1.27rem; text-align: center; font-size: .24rem; font-family: PingFang SC; font-weight: 400; color:rgba(96,66,66,1); line-height: 1.27rem; } .shared-data-item-number { font-size: .38rem; color:rgba(254,0,0,1); } /* 已邀请好友列表 */ .invited-friends { width:6.73rem; max-height: 3.5rem; overflow-y: auto; overflow-x: hidden; position: absolute; left: .38rem; top: 1rem; } .no-friends { width:6.73rem; height: 3.5rem; position: absolute; left: .38rem; top: 1rem; } .no-friends img { width: .75rem; margin-top: .75rem; } .no-friends p { font-size:.24rem; font-family:Source Han Sans CN; font-weight:400; color:rgba(96,66,66,1); line-height:.42rem; opacity:0.6; } .invited-friend { height: .69rem; line-height: .69rem; border-bottom: .01rem dotted rgba(5,5,5,.2); } .invited-friend-left { display: inline-block; width: 4.15rem; text-align: left; } .invited-friend-right { display: inline-block; width: 2.42rem; text-align: right; } .invited-friend span { display: inline-block; vertical-align: middle; } .invited-friend-avator{ width: .44rem; height: .44rem; margin: 0 .35rem; border-radius: 100%; overflow: hidden; background-color: #dadada; } .invited-friend-avator img{ height: 0.44rem; width: 0.44rem; } .invited-friend-nickname { width: 3rem; color: #604242; font-size: .24rem; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .invited-friend-no-coins { width:2.32rem; height:.46rem; margin-right: .3rem; line-height:.46rem; border:1px solid rgba(96,66,66,1); opacity:0.6; font-size: .24rem; text-align: center; border-radius:.23rem; } .invited-friend-earned-coins { margin-right: .3rem; font-size:.24rem; font-family:Source Han Sans CN; font-weight:400; color:rgba(254,0,0,1); } /* 活动规则样式 */ .activity-rules { width: 5.6rem; padding: 0 .95rem; font-size: .28rem; font-family: Source Han Sans CN; font-weight: 400; color: rgba(96,66,66,1); line-height: .48rem; text-align: left; } .rules-1 { background: url(../../../img/frontend/share/01-con-2.jpg) repeat-y; background-size: 100% auto; } .rules-2 { background: url(../../../img/frontend/share/02-con-2.jpg) repeat-y; background-size: 100% auto; } .activity-rules p { margin: 0; padding-top: .1rem; } .activity-rules-dot { display: inline-block; margin-right: .1rem; width: .34rem; height: .34rem; line-height: .34rem; border-radius: 100%; font-size: .24rem; color: #ffffff; text-align: center; background-color: #F03E7A; }