Paooofuu/miniprogram/pages/example/index.wxss

393 lines
6.6 KiB
Plaintext

page {
background-color: white;
padding-bottom: 50px;
font-family: PingFang SC;
}
.page-container {
padding: 20rpx 40rpx;
}
.tip {
font-size: 23rpx;
color: rgba(0, 0, 0, 0.5);
width: 90%;
text-align: center;
margin: 30rpx auto 0 auto;
}
.top_tip {
font-size: 28rpx;
color: rgba(0, 0, 0, 0.5);
width: 90%;
text-align: left;
margin-top: 30rpx;
/* margin-left: 20rpx; */
}
.box_text {
background-color: white;
text-align: center;
padding: 300rpx 0;
margin-top: 30rpx;
color: rgba(0, 0, 0, 0.5);
}
.button {
width: 300rpx;
text-align: center;
margin: 250rpx auto 0 auto;
height: 80rpx;
color: white;
border-radius: 5px;
line-height: 80rpx;
background-color: #07c160;
}
.button_clear {
width: 300rpx;
text-align: center;
margin: 0 auto 0 auto;
height: 80rpx;
color: #07c160;
border-radius: 5px;
line-height: 80rpx;
background-color: rgba(0, 0, 0, 0.03);
}
.line {
height: 1rpx;
width: 100%;
background-color: rgba(0, 0, 0, 0.1);
}
.code_box {
text-align: center;
background-color: white;
margin-top: 30rpx;
padding: 17rpx;
}
.code_box_title {
color: rgba(0, 0, 0, 0.5);
font-size: 26rpx;
margin-bottom: 20rpx;
text-align: left;
}
.code_box_record {
display: flex;
}
.code_box_record_title {
width: 33%;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.5);
padding: 20rpx 0;
}
.code_box_record_detail {
width: 25%;
font-size: 26rpx;
padding: 20rpx 0;
display: flex;
align-items: center;
justify-content: center;
}
.title {
margin-top: 16px;
margin-bottom: 8px;
font-size: 36rpx;
font-weight: 500;
color: #000;
}
.info {
margin-top: 12px;
font-size: 28rpx;
font-weight: 400;
color: rgba(0, 0, 0, 0.6);
line-height: 52rpx;
}
.img {
/* margin-top: 16px; */
width: 100%;
}
.step-img {
margin-top: 20rpx;
border-radius: 12rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
}
.code_img {
width: 360rpx;
height: 360rpx;
}
.block {
font-size: 16px;
line-height: 40px;
}
.step-left {
color: #FFF;
background-color: #1aad19;
border: #1aad19 solid 1px;
padding: 0px 6px;
}
.step-right {
color: #1aad19;
background-color: #FFF;
border: #1aad19 solid 1px;
padding: 0px 6px;
margin-right: 10px;
}
.code_zone {
background-color: #0E190E;
color: rgba(255, 255, 255, 0.7);
border-radius: 12rpx;
padding: 16rpx 32rpx;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
position: relative;
margin-bottom: 24rpx;
}
.btn-full {
height: 40px;
border-radius: 4px;
line-height: 40px;
color: #fff;
background-color: #1aad19;
text-align: center;
margin-bottom: 5px;
}
.step-title {
line-height: 37px;
font-size: 16px;
}
.step-text{
font-size: 14px;
line-height: 24px;
padding: 10px 0px;
text-align: justify;
}
.modal-mask {
position: fixed; left: 0; top: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.3); z-index: 1000; display: flex; align-items: center; justify-content: center;
}
.modal-content {
background: #fff; padding: 24px; border-radius: 8px; width: 80%;
}
.modal-title { font-size: 18px; margin-bottom: 16px; }
.modal-input { margin-bottom: 12px; border: 1px solid #eee; padding: 8px; border-radius: 4px; width: 100%; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; }
/* AI助手相关样式 */
.notice-box {
background: linear-gradient(135deg, #fff8e6 0%, #fff3d9 100%);
border-left: 4rpx solid #ff9800;
border-radius: 8rpx;
padding: 20rpx 24rpx;
margin: 20rpx 0;
box-shadow: 0 2rpx 8rpx rgba(255, 152, 0, 0.1);
}
.notice-text {
font-size: 26rpx;
color: rgba(0, 0, 0, 0.75);
line-height: 40rpx;
}
.notice-highlight {
color: #ff6f00;
font-weight: 600;
}
.shortcut-box {
background-color: rgba(0, 0, 0, 0.03);
border-radius: 8rpx;
padding: 24rpx;
margin: 20rpx 0;
}
.shortcut-item {
display: flex;
align-items: center;
margin-bottom: 16rpx;
}
.shortcut-item:last-child {
margin-bottom: 0;
}
.shortcut-label {
font-size: 28rpx;
color: rgba(0, 0, 0, 0.7);
width: 240rpx;
flex-shrink: 0;
}
.shortcut-key {
font-size: 28rpx;
color: #1aad19;
font-weight: 500;
background-color: rgba(26, 173, 25, 0.1);
padding: 4rpx 12rpx;
border-radius: 4rpx;
white-space: nowrap;
}
.plugin-name-box {
background-color: rgba(26, 173, 25, 0.05);
border-left: 4rpx solid #1aad19;
padding: 20rpx;
margin: 20rpx 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.plugin-name {
font-size: 32rpx;
color: #1aad19;
font-weight: 500;
flex: 1;
}
.copy-btn {
display: flex;
align-items: center;
padding: 6rpx 16rpx;
background-color: rgba(26, 173, 25, 0.1);
border: 1rpx solid rgba(26, 173, 25, 0.3);
border-radius: 8rpx;
margin-left: 20rpx;
transition: all 0.2s;
}
.copy-btn:active {
background-color: rgba(26, 173, 25, 0.2);
}
.copy-icon {
width: 24rpx;
height: 24rpx;
margin-right: 6rpx;
filter: invert(52%) sepia(73%) saturate(2034%) hue-rotate(90deg) brightness(92%) contrast(84%);
}
.copy-text {
font-size: 24rpx;
color: #1aad19;
font-weight: 500;
}
.divider {
height: 1rpx;
width: 100%;
background-color: rgba(0, 0, 0, 0.1);
margin: 40rpx 0;
}
.feature-section {
margin-top: 20rpx;
}
.feature-title {
font-size: 32rpx;
font-weight: 500;
color: rgba(0, 0, 0, 0.85);
margin-bottom: 20rpx;
}
.feature-list {
padding-left: 0;
}
.feature-item {
font-size: 28rpx;
color: rgba(0, 0, 0, 0.65);
line-height: 48rpx;
margin-bottom: 12rpx;
}
/* 带示例的功能项 */
.feature-item-with-examples {
margin-bottom: 20rpx;
padding: 20rpx;
background-color: rgba(0, 0, 0, 0.02);
border-radius: 12rpx;
}
.feature-item-with-examples:last-child {
margin-bottom: 0;
}
.feature-main {
font-size: 30rpx;
font-weight: 500;
color: rgba(0, 0, 0, 0.85);
margin-bottom: 12rpx;
padding-bottom: 8rpx;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.08);
}
.feature-examples {
padding-left: 0;
}
.feature-example {
font-size: 26rpx;
color: rgba(0, 0, 0, 0.55);
line-height: 44rpx;
margin-bottom: 8rpx;
}
.feature-example-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4rpx;
padding: 8rpx 12rpx;
}
.feature-example-text {
flex: 1;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.55);
line-height: 40rpx;
}
.feature-copy-btn {
padding: 12rpx;
border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
margin-left: 12rpx;
flex-shrink: 0;
transition: all 0.2s;
}
.feature-copy-btn:active {
background-color: rgba(0, 0, 0, 0.08);
}
.feature-copy-icon {
width: 32rpx;
height: 32rpx;
opacity: 0.5;
transition: opacity 0.2s;
}
.feature-copy-btn:active .feature-copy-icon {
opacity: 0.8;
}