587 lines
9.0 KiB
Plaintext
587 lines
9.0 KiB
Plaintext
@import '../../styles/shangjia-xym-form.wxss';
|
|
|
|
page {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.balance-amount {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
margin-bottom: 15rpx;
|
|
}
|
|
|
|
.type-scroll {
|
|
white-space: nowrap;
|
|
display: flex;
|
|
height: 90rpx;
|
|
}
|
|
|
|
.type-text {
|
|
max-width: 220rpx;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.filter-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 20rpx;
|
|
gap: 15rpx;
|
|
}
|
|
|
|
.filter-item {
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 30rpx;
|
|
padding: 10rpx 20rpx;
|
|
}
|
|
|
|
.filter-label {
|
|
font-size: 24rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.filter-input {
|
|
width: 120rpx;
|
|
height: 50rpx;
|
|
background: transparent;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.clear-search {
|
|
margin-left: auto;
|
|
padding: 10rpx 20rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.template-section {
|
|
height: calc(100vh - 600rpx);
|
|
position: relative;
|
|
}
|
|
|
|
.template-scroll {
|
|
height: 100%;
|
|
}
|
|
|
|
.template-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 25rpx;
|
|
padding-bottom: 30rpx;
|
|
}
|
|
|
|
.template-card {
|
|
padding: 25rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 280rpx;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-intro {
|
|
flex: 1;
|
|
margin-bottom: 10rpx;
|
|
min-height: 70rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.intro-text {
|
|
font-size: 24rpx;
|
|
line-height: 1.4;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
overflow: hidden;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.template-label {
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.template-price-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
padding: 10rpx 0;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.template-actions-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12rpx;
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
.action-grid-btn {
|
|
height: 65rpx;
|
|
border-radius: 32rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 600;
|
|
border: none;
|
|
padding: 0 20rpx;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.add-card {
|
|
border: 2rpx dashed #ddd;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 280rpx;
|
|
}
|
|
|
|
.add-icon {
|
|
font-size: 60rpx;
|
|
color: #bbb;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.add-text {
|
|
font-size: 30rpx;
|
|
color: #666;
|
|
font-weight: 600;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.add-subtext {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #fff;
|
|
border-radius: 24rpx;
|
|
width: 100%;
|
|
max-width: 700rpx;
|
|
max-height: 85vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 25rpx;
|
|
right: 25rpx;
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border-radius: 50%;
|
|
background: #f5f5f5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 40rpx;
|
|
color: #999;
|
|
z-index: 10;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 40rpx 40rpx 20rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #222;
|
|
}
|
|
|
|
.detail-info {
|
|
padding: 30rpx 40rpx;
|
|
}
|
|
|
|
.detail-item {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.detail-label {
|
|
font-size: 26rpx;
|
|
color: #888;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.detail-value {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.intro-value {
|
|
background: #f9f9f9;
|
|
border-radius: 15rpx;
|
|
padding: 20rpx;
|
|
max-height: 200rpx;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.detail-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 25rpx 0;
|
|
margin: 20rpx 0;
|
|
border-top: 1rpx solid #eee;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.meta-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.meta-label {
|
|
font-size: 22rpx;
|
|
color: #999;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.meta-value {
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.meta-divider {
|
|
color: #ddd;
|
|
font-size: 24rpx;
|
|
margin: 0 15rpx;
|
|
}
|
|
|
|
.link-filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 30rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.filter-switch {
|
|
padding: 10rpx 25rpx;
|
|
margin-left: 10rpx;
|
|
border-radius: 20rpx;
|
|
background: #f5f5f5;
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.filter-switch.active {
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
color: #492f00;
|
|
}
|
|
|
|
.link-list {
|
|
background: #f9f9f9;
|
|
border-radius: 15rpx;
|
|
padding: 15rpx;
|
|
}
|
|
|
|
.link-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 15rpx 0;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.link-url {
|
|
flex: 1;
|
|
font-size: 22rpx;
|
|
color: #666;
|
|
word-break: break-all;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
.link-status {
|
|
font-size: 20rpx;
|
|
color: #999;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
.copy-link-btn {
|
|
padding: 8rpx 20rpx;
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
color: #492f00;
|
|
border-radius: 15rpx;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.load-more-links {
|
|
text-align: center;
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.load-more-btn {
|
|
display: inline-block;
|
|
padding: 15rpx 40rpx;
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
border-radius: 30rpx;
|
|
color: #492f00;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.link-loading,
|
|
.link-empty {
|
|
text-align: center;
|
|
padding: 30rpx;
|
|
color: #999;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.modal-actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 18rpx;
|
|
padding: 30rpx 40rpx 40rpx;
|
|
border-top: 1rpx solid #eee;
|
|
}
|
|
|
|
.modal-grid-btn {
|
|
height: 85rpx;
|
|
border-radius: 42rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
border: none;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.generate-modal-grid-btn,
|
|
.copy-modal-grid-btn,
|
|
.edit-modal-grid-btn {
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
color: #492f00;
|
|
}
|
|
|
|
.delete-modal-grid-btn {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
}
|
|
|
|
.edit-section {
|
|
padding: 30rpx 40rpx 20rpx;
|
|
border-top: 1rpx solid #eee;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.edit-item {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.edit-label {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
margin-bottom: 15rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.edit-input {
|
|
width: 100%;
|
|
background: #f5f5f5;
|
|
border-radius: 15rpx;
|
|
padding: 25rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.intro-edit {
|
|
min-height: 150rpx;
|
|
}
|
|
|
|
.price-edit {
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
}
|
|
|
|
.commission-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.commission-input {
|
|
flex: 1;
|
|
background: #f5f5f5;
|
|
border-radius: 15rpx;
|
|
padding: 20rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.add-form {
|
|
padding: 30rpx 40rpx 20rpx;
|
|
}
|
|
|
|
.form-item {
|
|
margin-bottom: 35rpx;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 18rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.intro-input,
|
|
.price-input {
|
|
width: 100%;
|
|
background: #f5f5f5;
|
|
border-radius: 15rpx;
|
|
padding: 25rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.intro-input {
|
|
min-height: 180rpx;
|
|
}
|
|
|
|
.price-input {
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.add-actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 25rpx;
|
|
padding: 30rpx 40rpx 40rpx;
|
|
border-top: 1rpx solid #eee;
|
|
}
|
|
|
|
.cancel-grid-btn {
|
|
background: #f5f5f5;
|
|
color: #666;
|
|
}
|
|
|
|
.confirm-add-grid-btn {
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
color: #492f00;
|
|
}
|
|
|
|
.confirm-content {
|
|
background: #fff;
|
|
border-radius: 25rpx;
|
|
padding: 50rpx 40rpx 40rpx;
|
|
width: 85%;
|
|
max-width: 550rpx;
|
|
box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.15);
|
|
text-align: center;
|
|
}
|
|
|
|
.confirm-title {
|
|
font-size: 34rpx;
|
|
font-weight: bold;
|
|
color: #222;
|
|
margin-bottom: 25rpx;
|
|
}
|
|
|
|
.confirm-text {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.confirm-actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 25rpx;
|
|
}
|
|
|
|
.confirm-grid-btn {
|
|
height: 85rpx;
|
|
border-radius: 42rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cancel-confirm-grid-btn {
|
|
background: #f5f5f5;
|
|
color: #666;
|
|
}
|
|
|
|
.delete-confirm-grid-btn {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
}
|
|
|
|
.confirm-new-link-grid-btn {
|
|
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
|
|
color: #492f00;
|
|
}
|
|
|
|
.loading-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.loading-content {
|
|
background: #fff;
|
|
padding: 60rpx 80rpx;
|
|
border-radius: 30rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
border: 8rpx solid #eee;
|
|
border-top: 8rpx solid #9333ea;
|
|
border-radius: 50%;
|
|
animation: spin 1.2s linear infinite;
|
|
margin-bottom: 35rpx;
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|