@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /* uni.scss */ page { background-color: #FC6E53; } .extractBook .bookCurrs { background-color: #FFFFFF; margin: 30rpx 14rpx; border-radius: 22rpx; min-height: 200rpx; padding: 20rpx 0 30rpx; box-sizing: border-box; } .extractBook .topContent { padding: 0 24rpx 20rpx; border-bottom: 1rpx solid #eee; display: flex; justify-content: space-between; align-items: center; } .extractBook .topContent .title { font-size: 38rpx; font-weight: 600; } .extractBook .bottomContent { padding: 40rpx 24rpx 0; } .extractBook .bottomContent .balance { font-size: 38rpx; font-weight: 600; } .extractBook .bottomContent .bookCurrNum { color: #FE604F; font-size: 38rpx; font-weight: 600; margin-top: 26rpx; } .extractBook .bottomContent .bookCurrList { margin-top: 20rpx; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 20rpx; } .extractBook .bottomContent .bookCurrList > view { width: 152rpx; height: 168rpx; background-color: #FFFFFF; box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(182, 182, 182, 0.3); border: 2rpx solid #ececec; border-radius: 16rpx; padding: 12rpx; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; position: relative; } .extractBook .bottomContent .bookCurrList > view.select { background: #FFF7EF; box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(254, 173, 165, 0.26); border: 2rpx solid #FFB35C; } .extractBook .bottomContent .bookCurrList > view.select .reward { color: #FE604F; } .extractBook .bottomContent .bookCurrList .goldCoins { height: 68rpx; margin: 5rpx 0; } .extractBook .bottomContent .bookCurrList .reward { font-size: 28rpx; font-weight: 500; color: #000000; margin-top: 16rpx; } .extractBook .bottomContent .extractButton { height: 80rpx; margin-top: 60rpx; font-size: 34rpx; color: #FFFFFF; font-weight: 500; text-align: center; display: flex; justify-content: center; align-items: center; border-radius: 40rpx; background: linear-gradient(180deg, #FDC606 0%, #FF8D12 100%); box-sizing: border-box; } .extractBook .bottomContent .extractRecord { text-align: center; color: #5084f5; margin-top: 24rpx; } .extractBook .popupCenter { width: 650rpx; padding: 26rpx; background-color: #DC8182; color: #FFFFFF; } .extractBook .popupCenter .popupTitle { font-size: 36rpx; font-weight: 600; color: #FFFFFF; text-align: center; } .extractBook .popupCenter .bottom { margin-top: 30rpx; padding: 0 28rpx 30rpx; box-sizing: border-box; } .extractBook .popupCenter .bottom > view { margin-bottom: 12rpx; font-size: 28rpx; font-weight: 400; color: #FFFFFF; line-height: 46rpx; } .extractBook .popupCount { width: 540rpx; padding: 60rpx 0 0; min-height: 100rpx; display: flex; flex-direction: column; align-items: center; } .extractBook .popupCount > image { height: 200rpx; } .extractBook .popupCount > .title { margin-top: 28rpx; font-size: 36rpx; } .extractBook .popupCount > .subTitle { color: #909090; margin-top: 20rpx; font-size: 24rpx; } .extractBook .popupCount > .bt { margin-top: 30rpx; width: 100%; border-radius: 0; background-color: #FFFFFF; } .extractBook .popupCount > .bt::after { border-top-left-radius: 0; border-top-right-radius: 0; border-left-width: 0; border-right-width: 0; border-bottom-width: 0; } .popup { position: fixed; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.6); top: 0; left: 0; right: 0; bottom: 0; } .popup .popupContent { width: 632rpx; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; } .popup .popupContent > .content { position: relative; } .popup .popupContent > .content > image { width: 100%; height: 652rpx; } .popup .popupContent > .content > .textCon { position: absolute; width: 100%; top: 0; left: 0; right: 0; bottom: 0; padding: 192rpx 106rpx 0; box-sizing: border-box; display: flex; align-items: center; flex-direction: column; } .popup .popupContent > .content > .textCon .ts { font-size: 40rpx; font-weight: 500; color: #F5631D; } .popup .popupContent > .content > .textCon .reward { height: 60rpx; background: #FFD9A2; border-radius: 31rpx; font-size: 32rpx; font-weight: 400; display: inline-block; padding: 0 32rpx; color: #F5631E; line-height: 60rpx; margin-top: 20rpx; } .popup .popupContent > .content > .textCon .doubleBt { width: 456rpx; height: 104rpx; margin-top: 90rpx; transition: all linear .5s; } .popup .popupContent > .content > .textCon .bt { width: 386rpx; height: 104rpx; text-align: center; line-height: 104rpx; margin-top: 184rpx; font-size: 36rpx; font-weight: 400; color: #831902; box-shadow: 0rpx 3rpx 4rpx 0rpx rgba(211, 63, 22, 0.58); background-color: #fede77; border-radius: 52rpx; } .popup .popupContent > .close { width: 54rpx; height: 54rpx; margin-top: 76rpx; }