page-crm-home.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /* 全局样式 */
  2. :host {
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. font-family: "阿里巴巴普惠体", sans-serif;
  8. }
  9. body {
  10. background-color: #f8f4e8;
  11. background-image: url('/assets/images/paper-texture.webp');
  12. color: #333;
  13. line-height: 1.6;
  14. }
  15. }
  16. /* 自定义字体 - 修正路径 */
  17. @font-face {
  18. font-family: "赣锋体";
  19. src: url('/assets/fonts/ganfeng.ttf') format('truetype');
  20. font-weight: normal;
  21. font-style: normal;
  22. }
  23. /* 主色调定义 */
  24. :root {
  25. --primary-blue: #2F7DAD; /* 天青瓷 */
  26. --primary-green: #5B8C5A; /* 香樟绿 */
  27. --primary-gold: #D4B16A; /* 庐金 */
  28. --secondary-gray: #6D6D6D; /* 婺源黛瓦灰 */
  29. --secondary-red: #C53D43; /* 井冈山鹃红 */
  30. --secondary-white: #F0F0F0; /* 鄱阳湖银白 */
  31. }
  32. /* 智能Banner区域 */
  33. .banner {
  34. height: 500px;
  35. position: relative;
  36. overflow: hidden;
  37. background: linear-gradient(to bottom, #f8f4e8, #e8e0d0);
  38. .banner-content {
  39. position: absolute;
  40. top: 50%;
  41. left: 10%;
  42. transform: translateY(-50%);
  43. z-index: 3;
  44. max-width: 40%;
  45. }
  46. .banner-title {
  47. font-family: "赣锋体", serif;
  48. font-size: 3rem;
  49. color: var(--primary-blue);
  50. margin-bottom: 1rem;
  51. text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  52. }
  53. .banner-subtitle {
  54. font-size: 1.2rem;
  55. color: var(--secondary-gray);
  56. margin-bottom: 2rem;
  57. line-height: 1.8;
  58. }
  59. .banner-btn {
  60. display: inline-block;
  61. padding: 0.8rem 2rem;
  62. background-color: var(--primary-gold);
  63. color: white;
  64. text-decoration: none;
  65. border-radius: 30px;
  66. font-weight: bold;
  67. transition: all 0.3s ease;
  68. box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  69. &:hover {
  70. background-color: #c9a055;
  71. transform: translateY(-3px);
  72. box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  73. }
  74. }
  75. .banner-bg {
  76. position: absolute;
  77. top: 0;
  78. right: 0;
  79. height: 100%;
  80. width: 60%;
  81. background: url('/assets/images/jiangxi-landscape.webp') center right no-repeat;
  82. background-size: contain;
  83. opacity: 0.9;
  84. &::after {
  85. content: "";
  86. position: absolute;
  87. top: 0;
  88. left: 0;
  89. right: 0;
  90. bottom: 0;
  91. background: radial-gradient(circle at 70% 50%, transparent 30%, rgba(248,244,232,0.8));
  92. }
  93. }
  94. }
  95. /* 数智动态区 */
  96. .dynamic-section {
  97. padding: 4rem 10%;
  98. background-color: white;
  99. position: relative;
  100. .section-title {
  101. font-family: "赣锋体", serif;
  102. font-size: 2.2rem;
  103. color: var(--primary-blue);
  104. text-align: center;
  105. margin-bottom: 3rem;
  106. position: relative;
  107. &::after {
  108. content: "";
  109. display: block;
  110. width: 80px;
  111. height: 3px;
  112. background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
  113. margin: 1rem auto 0;
  114. }
  115. }
  116. .dynamic-grid {
  117. display: grid;
  118. grid-template-columns: repeat(3, 1fr);
  119. gap: 2rem;
  120. .dynamic-card {
  121. background-color: white;
  122. border-radius: 8px;
  123. overflow: hidden;
  124. box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  125. transition: all 0.3s ease;
  126. position: relative;
  127. &:hover {
  128. transform: translateY(-10px);
  129. box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  130. }
  131. .card-img {
  132. height: 200px;
  133. background-size: cover;
  134. background-position: center;
  135. position: relative;
  136. &::after {
  137. content: "";
  138. position: absolute;
  139. top: 0;
  140. left: 0;
  141. right: 0;
  142. bottom: 0;
  143. background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6));
  144. }
  145. }
  146. .card-content {
  147. padding: 1.5rem;
  148. .card-title {
  149. font-size: 1.3rem;
  150. color: var(--primary-blue);
  151. margin-bottom: 0.8rem;
  152. }
  153. .card-desc {
  154. color: var(--secondary-gray);
  155. margin-bottom: 1.5rem;
  156. font-size: 0.95rem;
  157. }
  158. .card-link {
  159. display: inline-block;
  160. color: var(--primary-gold);
  161. text-decoration: none;
  162. font-weight: bold;
  163. position: relative;
  164. &::after {
  165. content: "";
  166. position: absolute;
  167. bottom: -2px;
  168. left: 0;
  169. width: 100%;
  170. height: 1px;
  171. background-color: var(--primary-gold);
  172. transition: transform 0.3s ease;
  173. transform-origin: right;
  174. transform: scaleX(0);
  175. }
  176. &:hover::after {
  177. transform-origin: left;
  178. transform: scaleX(1);
  179. }
  180. }
  181. }
  182. }
  183. }
  184. }
  185. /* 共创展示区 */
  186. .co-creation-section {
  187. padding: 4rem 10%;
  188. background-color: #f5f9f5;
  189. position: relative;
  190. .co-creation-slider {
  191. display: flex;
  192. gap: 2rem;
  193. overflow-x: auto;
  194. padding: 1rem 0;
  195. scroll-snap-type: x mandatory;
  196. .co-creation-item {
  197. min-width: 300px;
  198. scroll-snap-align: start;
  199. background-color: white;
  200. border-radius: 8px;
  201. overflow: hidden;
  202. box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  203. .cc-img {
  204. height: 180px;
  205. background-size: cover;
  206. background-position: center;
  207. }
  208. .cc-content {
  209. padding: 1.5rem;
  210. .cc-title {
  211. font-size: 1.2rem;
  212. color: var(--primary-green);
  213. margin-bottom: 0.5rem;
  214. }
  215. .cc-author {
  216. color: var(--secondary-gray);
  217. font-size: 0.9rem;
  218. margin-bottom: 1rem;
  219. }
  220. }
  221. }
  222. }
  223. }
  224. /* 协会智能体 */
  225. .ai-section {
  226. padding: 4rem 10%;
  227. background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  228. color: white;
  229. text-align: center;
  230. .ai-container {
  231. max-width: 800px;
  232. margin: 0 auto;
  233. .ai-title {
  234. font-family: "赣锋体", serif;
  235. font-size: 2.5rem;
  236. margin-bottom: 1.5rem;
  237. }
  238. .ai-desc {
  239. margin-bottom: 2rem;
  240. font-size: 1.1rem;
  241. line-height: 1.8;
  242. }
  243. .ai-features {
  244. display: grid;
  245. grid-template-columns: repeat(3, 1fr);
  246. gap: 2rem;
  247. margin-top: 3rem;
  248. .ai-feature {
  249. background-color: rgba(255,255,255,0.1);
  250. padding: 1.5rem;
  251. border-radius: 8px;
  252. backdrop-filter: blur(5px);
  253. transition: all 0.3s ease;
  254. &:hover {
  255. background-color: rgba(255,255,255,0.2);
  256. transform: translateY(-5px);
  257. }
  258. .ai-icon {
  259. font-size: 2.5rem;
  260. margin-bottom: 1rem;
  261. color: var(--primary-gold);
  262. }
  263. .ai-feature-title {
  264. font-size: 1.2rem;
  265. margin-bottom: 0.5rem;
  266. }
  267. }
  268. }
  269. }
  270. }
  271. /* 页脚 */
  272. .footer {
  273. background-color: #2a2a2a;
  274. color: white;
  275. padding: 4rem 10% 2rem;
  276. .footer-grid {
  277. display: grid;
  278. grid-template-columns: repeat(4, 1fr);
  279. gap: 3rem;
  280. margin-bottom: 3rem;
  281. .footer-col {
  282. h3 {
  283. font-size: 1.3rem;
  284. margin-bottom: 1.5rem;
  285. color: var(--primary-gold);
  286. }
  287. .footer-links {
  288. list-style: none;
  289. li {
  290. margin-bottom: 0.8rem;
  291. a {
  292. color: #ccc;
  293. text-decoration: none;
  294. transition: color 0.3s ease;
  295. &:hover {
  296. color: var(--primary-gold);
  297. }
  298. }
  299. }
  300. }
  301. }
  302. }
  303. .footer-bottom {
  304. text-align: center;
  305. padding-top: 2rem;
  306. border-top: 1px solid #444;
  307. color: #999;
  308. font-size: 0.9rem;
  309. }
  310. }
  311. /* 响应式设计 */
  312. @media (max-width: 1024px) {
  313. .dynamic-grid {
  314. grid-template-columns: repeat(2, 1fr) !important;
  315. }
  316. .ai-features {
  317. grid-template-columns: repeat(2, 1fr) !important;
  318. }
  319. .footer-grid {
  320. grid-template-columns: repeat(2, 1fr) !important;
  321. }
  322. }
  323. @media (max-width: 768px) {
  324. .banner {
  325. height: auto !important;
  326. padding: 3rem 1rem !important;
  327. .banner-content {
  328. position: static !important;
  329. transform: none !important;
  330. max-width: 100% !important;
  331. text-align: center !important;
  332. }
  333. .banner-bg {
  334. position: relative !important;
  335. width: 100% !important;
  336. height: 300px !important;
  337. margin-top: 2rem !important;
  338. }
  339. }
  340. .dynamic-grid {
  341. grid-template-columns: 1fr !important;
  342. }
  343. .ai-features {
  344. grid-template-columns: 1fr !important;
  345. }
  346. .footer-grid {
  347. grid-template-columns: 1fr !important;
  348. }
  349. }