|
|
@@ -1,118 +1,144 @@
|
|
|
+// 定义颜色变量
|
|
|
+$light-blue: #e0f7fa;
|
|
|
+$blue: #bbdcff;
|
|
|
+$dark-blue: #587fb6;
|
|
|
+$text-color: #333;
|
|
|
+
|
|
|
ion-title {
|
|
|
flex: 1; // 使标题占据可用空间
|
|
|
text-align: left; // 确保文字左对齐
|
|
|
margin-left: 16px; // 左侧边距,可以根据需要调整
|
|
|
margin-top: 5px;
|
|
|
- color: rgb(71, 68, 68);
|
|
|
-}
|
|
|
+ // font-family: 楷体;
|
|
|
+ // font-style: italic;
|
|
|
+ }
|
|
|
|
|
|
ion-header {
|
|
|
- background-color: #3880ff; // 设置头部背景色
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-ion-card {
|
|
|
- margin: 10px; // 设置卡片之间的间距
|
|
|
- border-radius: 10px; // 设置卡片圆角
|
|
|
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); // 添加阴影效果
|
|
|
-}
|
|
|
-
|
|
|
-ion-card-header {
|
|
|
- background-color: #d8e5fa; // 设置头部背景色
|
|
|
+ background-color: #f5f7fc; // 设置头部背景色
|
|
|
color: white; // 设置头部文字颜色
|
|
|
}
|
|
|
|
|
|
-ion-card-title {
|
|
|
- font-size: 1.2em; // 设置卡片标题字体大小
|
|
|
- font-weight: bold; // 设置卡片标题字体加粗
|
|
|
-}
|
|
|
-
|
|
|
-ion-item {
|
|
|
- --ion-item-background: transparent; // 设置列表项背景透明
|
|
|
+ion-content {
|
|
|
+ background-color: #f9f9f9; // 内容背景颜色
|
|
|
}
|
|
|
|
|
|
-ion-label {
|
|
|
- color: #333; // 设置标签文字颜色
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-h2 {
|
|
|
- font-size: 1em; // 设置二级标题字体大小
|
|
|
- margin: 0; // 去掉默认外边距
|
|
|
-}
|
|
|
-
|
|
|
-p {
|
|
|
- font-size: 0.9em; // 设置段落字体大小
|
|
|
- color: #666; // 设置段落文字颜色
|
|
|
-}
|
|
|
-
|
|
|
-ion-list {
|
|
|
- padding: 0; // 去掉列表内边距
|
|
|
-}
|
|
|
-
|
|
|
-ion-card-content {
|
|
|
- padding: 10px; // 设置卡片内容内边距
|
|
|
-}
|
|
|
-
|
|
|
-ion-button {
|
|
|
- --background: #3880ff; // 设置按钮背景色
|
|
|
- --color: white; // 设置按钮文字颜色
|
|
|
- margin-top: 10px; // 设置按钮与上方内容的间距
|
|
|
- border-radius: 20px; // 设置按钮圆角
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.chat-partner-area {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 20px;
|
|
|
- border: 1px solid #ccc;
|
|
|
- border-radius: 10px;
|
|
|
- padding: 15px;
|
|
|
-
|
|
|
- .avatar {
|
|
|
- width: 60px;
|
|
|
- height: 60px;
|
|
|
- border-radius: 50%;
|
|
|
- margin-right: 15px;
|
|
|
- }
|
|
|
-
|
|
|
- .description {
|
|
|
- flex-grow: 1;
|
|
|
- }
|
|
|
+// AI陪聊搭子区域样式
|
|
|
+#one {
|
|
|
+ margin: 15px;
|
|
|
+
|
|
|
+ ion-card {
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 8px;
|
|
|
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ ion-card-header {
|
|
|
+ background-color: $blue;
|
|
|
+ ion-card-title {
|
|
|
+ color: rgb(37, 37, 37);
|
|
|
+ font-size: 1.5rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- ion-button {
|
|
|
- border-radius: 20px;
|
|
|
+ ion-card-content {
|
|
|
+ ion-list {
|
|
|
+ ion-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 15px;
|
|
|
+
|
|
|
+ ion-thumbnail {
|
|
|
+ margin-right: 16px;
|
|
|
+ img {
|
|
|
+ border-radius: 50%;
|
|
|
+ width: 50px;
|
|
|
+ height: 50px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .filmpartner-info {
|
|
|
+ flex: 1;
|
|
|
+ h3 {
|
|
|
+ color: $dark-blue;
|
|
|
+ margin: 4px 0 0 0 0;
|
|
|
+ font-size: 1.1rem;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ color: $text-color;
|
|
|
+ margin: 6px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ ion-button {
|
|
|
+ background-color: $blue;
|
|
|
+ color: white;
|
|
|
+ border-radius: 20px;
|
|
|
+ &:hover {
|
|
|
+ background-color: darken($blue, 10%);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.role-interaction-area {
|
|
|
- h2 {
|
|
|
- margin-bottom: 15px;
|
|
|
- }
|
|
|
-
|
|
|
- .role-container {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 15px;
|
|
|
- border: 1px solid #ccc;
|
|
|
- border-radius: 10px;
|
|
|
- padding: 15px;
|
|
|
-
|
|
|
- .avatar {
|
|
|
- width: 50px;
|
|
|
- height: 50px;
|
|
|
- border-radius: 50%;
|
|
|
- margin-right: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- .role-description {
|
|
|
- flex-grow: 1;
|
|
|
+// 角色互动区域样式
|
|
|
+#two {
|
|
|
+ margin: 15px;
|
|
|
+
|
|
|
+ ion-card {
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 8px;
|
|
|
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ ion-card-header {
|
|
|
+ background-color: $blue;
|
|
|
+ ion-card-title {
|
|
|
+ color: rgb(37, 37, 37);
|
|
|
+ font-size: 1.5rem;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- ion-button {
|
|
|
- border-radius: 20px;
|
|
|
+ ion-card-content {
|
|
|
+ ion-list {
|
|
|
+ ion-item {
|
|
|
+ margin-top: 15px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ ion-thumbnail {
|
|
|
+ margin-right: 16px;
|
|
|
+ img {
|
|
|
+ border-radius: 50%;
|
|
|
+ width: 50px;
|
|
|
+ height: 50px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .filmpartner-info {
|
|
|
+ flex: 1;
|
|
|
+ h3 {
|
|
|
+ color: $dark-blue;
|
|
|
+ margin: 0;
|
|
|
+ font-size: 1.1rem;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ color: $text-color;
|
|
|
+ margin: 6px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ ion-button {
|
|
|
+ background-color: $blue;
|
|
|
+ color: white;
|
|
|
+ border-radius: 20px;
|
|
|
+ &:hover {
|
|
|
+ background-color: darken($blue, 10%);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|