|
|
@@ -54,17 +54,13 @@ watch(visible, (value) => {
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
@import "@/uni.scss";
|
|
|
-
|
|
|
-.confirm-popup {
|
|
|
+:deep(.cwg-dialog) {
|
|
|
width: px2rpx(500);
|
|
|
background-color: #fff;
|
|
|
border-radius: px2rpx(16);
|
|
|
- padding: px2rpx(20) px2rpx(16);
|
|
|
text-align: center;
|
|
|
box-shadow: 0 px2rpx(10) px2rpx(20) rgba(0, 0, 0, 0.1);
|
|
|
- animation: popup-in 0.3s ease-out;
|
|
|
}
|
|
|
-
|
|
|
.confirm-title {
|
|
|
font-size: px2rpx(24);
|
|
|
font-weight: 600;
|
|
|
@@ -80,237 +76,4 @@ watch(visible, (value) => {
|
|
|
word-break: break-word;
|
|
|
}
|
|
|
|
|
|
-.confirm-buttons {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- gap: px2rpx(24);
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn {
|
|
|
- // flex: 1;
|
|
|
- min-width: px2rpx(120);
|
|
|
- padding: 0 px2rpx(20);
|
|
|
- margin: 0;
|
|
|
- height: px2rpx(40);
|
|
|
- line-height: px2rpx(40);
|
|
|
- border-radius: px2rpx(20);
|
|
|
- font-size: px2rpx(20);
|
|
|
- border: none;
|
|
|
- background-color: #f5f5f5;
|
|
|
- color: #666;
|
|
|
- font-weight: 500;
|
|
|
- transition: all 0.2s ease;
|
|
|
- -webkit-tap-highlight-color: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn:active {
|
|
|
- transform: scale(0.98);
|
|
|
- opacity: 0.9;
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn.confirm {
|
|
|
- background-color: #2979ff;
|
|
|
- color: #fff;
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn.confirm:active {
|
|
|
- background-color: #1a66e5;
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn.cancel {
|
|
|
- background-color: #f5f5f5;
|
|
|
- color: #666;
|
|
|
-}
|
|
|
-
|
|
|
-.confirm-btn.cancel:active {
|
|
|
- background-color: #e6e6e6;
|
|
|
-}
|
|
|
-
|
|
|
-@keyframes popup-in {
|
|
|
- from {
|
|
|
- opacity: 0;
|
|
|
- transform: scale(0.9);
|
|
|
- }
|
|
|
-
|
|
|
- to {
|
|
|
- opacity: 1;
|
|
|
- transform: scale(1);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-/* 响应式调整 */
|
|
|
-@media screen and (max-width: 750px) {
|
|
|
- .confirm-popup {
|
|
|
- width: 85vw;
|
|
|
- max-width: px2rpx(600);
|
|
|
- padding: px2rpx(32) px2rpx(24);
|
|
|
- }
|
|
|
-
|
|
|
- .confirm-title {
|
|
|
- font-size: px2rpx(24);
|
|
|
- margin-bottom: px2rpx(16);
|
|
|
- }
|
|
|
-
|
|
|
- .confirm-content {
|
|
|
- font-size: px2rpx(20);
|
|
|
- margin-bottom: px2rpx(32);
|
|
|
- }
|
|
|
-
|
|
|
- .confirm-btn {
|
|
|
- height: px2rpx(48);
|
|
|
- line-height: px2rpx(48);
|
|
|
- font-size: px2rpx(20);
|
|
|
- }
|
|
|
-}
|
|
|
</style>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-<style lang="scss" scoped>
|
|
|
-.clause-popup {
|
|
|
- width: 90%;
|
|
|
- max-width: 800px;
|
|
|
- max-height: 80vh;
|
|
|
- overflow: hidden;
|
|
|
-
|
|
|
- .clause-content {
|
|
|
- padding: 20px;
|
|
|
-
|
|
|
- scroll-view {
|
|
|
- width: 100%;
|
|
|
-
|
|
|
- h4 {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: 600;
|
|
|
- color: #303133;
|
|
|
- margin-bottom: 12px;
|
|
|
- }
|
|
|
-
|
|
|
- ul {
|
|
|
- margin-bottom: 20px;
|
|
|
-
|
|
|
- li {
|
|
|
- margin-bottom: 8px;
|
|
|
- line-height: 1.5;
|
|
|
- color: #606266;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- table {
|
|
|
- margin: 16px 0;
|
|
|
- width: 100%;
|
|
|
- border-collapse: collapse;
|
|
|
-
|
|
|
- th,
|
|
|
- td {
|
|
|
- padding: 10px;
|
|
|
- text-align: center;
|
|
|
- border: 1px solid #dcdfe6;
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
-
|
|
|
- th {
|
|
|
- background: #f5f7fa;
|
|
|
- font-weight: 600;
|
|
|
- color: #303133;
|
|
|
- }
|
|
|
-
|
|
|
- td {
|
|
|
- color: #606266;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // Handle v-html content
|
|
|
- div {
|
|
|
- line-height: 1.6;
|
|
|
- color: #606266;
|
|
|
-
|
|
|
- p {
|
|
|
- margin-bottom: 12px;
|
|
|
- }
|
|
|
-
|
|
|
- h1,
|
|
|
- h2,
|
|
|
- h3,
|
|
|
- h4,
|
|
|
- h5,
|
|
|
- h6 {
|
|
|
- margin: 16px 0 8px 0;
|
|
|
- color: #303133;
|
|
|
- }
|
|
|
-
|
|
|
- ul,
|
|
|
- ol {
|
|
|
- margin-left: 20px;
|
|
|
- margin-bottom: 12px;
|
|
|
- }
|
|
|
-
|
|
|
- li {
|
|
|
- margin-bottom: 4px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .clause-footer {
|
|
|
- padding: 16px 20px;
|
|
|
- border-top: 1px solid #e4e7ed;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
-
|
|
|
- button {
|
|
|
- min-width: 120px;
|
|
|
- padding: 10px 20px;
|
|
|
- border-radius: 4px;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-// Responsive styles
|
|
|
-@media (max-width: 768px) {
|
|
|
- .clause-popup {
|
|
|
- width: 95%;
|
|
|
- max-height: 85vh;
|
|
|
-
|
|
|
- .clause-header {
|
|
|
- padding: 12px 16px;
|
|
|
-
|
|
|
- .clause-title {
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .clause-content {
|
|
|
- padding: 16px;
|
|
|
-
|
|
|
- scroll-view {
|
|
|
- height: 50vh;
|
|
|
-
|
|
|
- h4 {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
-
|
|
|
- table {
|
|
|
-
|
|
|
- th,
|
|
|
- td {
|
|
|
- padding: 8px;
|
|
|
- font-size: 12px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .clause-footer {
|
|
|
- padding: 12px 16px;
|
|
|
-
|
|
|
- button {
|
|
|
- min-width: 100px;
|
|
|
- padding: 8px 16px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|