党建大屏
This commit is contained in:
		| @@ -16,10 +16,11 @@ import Border0 from "./borders/border0"; | ||||
| import Border2 from "./borders/border2"; | ||||
| import Border3 from "./borders/border3"; | ||||
| import Border4 from "./borders/border4"; | ||||
| import Border5 from "./borders/border5"; | ||||
|  | ||||
| export default { | ||||
|   name: "AiDvPanel", | ||||
|   components: { Border0, Border1, Border2, Border3, Border4 }, | ||||
|   components: { Border0, Border1, Border2, Border3, Border4, Border5 }, | ||||
|   props: { | ||||
|     title: {default: "请传入标题"}, | ||||
|     border: {default: "border0"} | ||||
|   | ||||
							
								
								
									
										1
									
								
								project/dvui/layout/AiDvPanel/asset/dq.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								project/dvui/layout/AiDvPanel/asset/dq.svg
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="180" height="40" viewBox="0 0 180 40"><defs><linearGradient id="a" x1="100%" x2="0%" y1="50%" y2="50%"><stop offset="0%" stop-color="#FF5244"/><stop offset="100%" stop-color="#D21600"/></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF6C7"/><stop offset="100%" stop-color="#FF9A02"/></linearGradient><filter id="c" width="170%" height="170%" x="-35%" y="-25%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0.457823822 0 0 0 0 0.0353836399 0 0 0 0 0.0353836399 0 0 0 0.5 0"/></filter><path id="b" d="M14.0068268,4.00341841 C19.1676737,5.93854789 22.2992804,12.1241478 19.6165546,17.1359344 L13.0698171,10.5587743 L15.5689049,8.05113932 L14.0059386,6.49580357 C13.1435377,7.34040354 11.7729399,7.52047681 10.8486002,7.14810955 L5.8726766,12.1267591 L8.69064405,14.9339591 L10.5689895,13.0633646 L17.1135326,19.6296095 C13.9108489,21.3881387 9.47146108,20.8339486 6.19504112,17.4306894 L4.60852179,19.0122006 C5.08399639,19.6710504 5.48226026,20.2679818 5.97736409,20.7685363 C5.93418188,20.8204223 5.79807822,20.9320541 5.79546587,20.9351093 C5.71214222,20.9215829 5.61356765,20.8893337 5.52588659,20.8893337 C4.6818088,20.8893337 4,21.6240357 4,22.4686514 C4,23.3119353 4.68835536,24 5.53242792,24 C6.3769498,24 7.09931278,23.3058249 7.09931278,22.4616793 C7.09931278,22.3631299 7.0770712,22.2733022 7.06004909,22.1804193 L7.30389669,21.941044 C11.0706294,24.4813878 15.1989851,24.797947 19.6409696,22.1398662 L21.4752551,23.9808072 L23.9861142,21.5041262 L22.140047,19.6387699 C27.4379223,11.6549703 20.3738238,3.81244048 14.0068268,4.00341841 L14.0068268,4.00341841 L14.0068268,4.00341841 Z"/></defs><g fill="none" fill-rule="evenodd"><path fill="#850100" d="M148,0 L148,20 L59.9048072,11.9285139 L10,13.9990592 C15.970231,4.66635305 27.2050908,0.226703614 43.7045795,0.680110841 C68.4538125,1.36022168 99.8326471,7.79622159 116.382143,8.89811079 C127.415141,9.6327036 137.954427,6.66666667 148,0 Z"/><path fill="url(#a)" d="M0,32.567 C0,30.6617245 0,28.1127921 0,24.9202028 C9.58415484,22.7190157 8.28549035,6.15276659 30.4031861,2.50814365 C52.5208819,-1.13647928 100.23732,16.019279 119.855503,16.019279 C132.934291,16.019279 145.385696,13.1031801 157.209716,7.27098241 L157.209716,22.1589448 C166.282732,22.9696483 173.879493,26.439 180,32.567 C168.804955,37.9116546 144.843267,40 124.922081,40 C105.000895,40 83.8242706,36.2095908 66.6700235,27.6117443 C49.5157764,19.0138977 29.8385713,12.4021534 20,21 C13.4409524,26.7318977 6.77428577,30.5875644 0,32.567 Z"/><g transform="translate(0 2)"><rect width="28" height="28" fill="#000" fill-rule="nonzero" opacity="0"/><use xlink:href="#b" fill="#000" filter="url(#c)"/><use xlink:href="#b" fill="url(#d)"/></g></g></svg> | ||||
| After Width: | Height: | Size: 2.9 KiB | 
							
								
								
									
										1
									
								
								project/dvui/layout/AiDvPanel/asset/gz.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								project/dvui/layout/AiDvPanel/asset/gz.svg
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| After Width: | Height: | Size: 12 KiB | 
							
								
								
									
										78
									
								
								project/dvui/layout/AiDvPanel/borders/border5.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								project/dvui/layout/AiDvPanel/borders/border5.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| <template> | ||||
|   <section class="border5"> | ||||
|     <div class="title"> | ||||
|       <div class="title-left"> | ||||
|         <h2>{{ title }}</h2> | ||||
|       </div> | ||||
|       <img src="https://cdn.cunwuyun.cn/dvcp/dv/img/gz.svg" /> | ||||
|     </div> | ||||
|     <div class="slot"> | ||||
|       <slot/> | ||||
|     </div> | ||||
|   </section> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| export default { | ||||
|   name: 'border5', | ||||
|   props: {title: String} | ||||
| } | ||||
| </script> | ||||
|  | ||||
| <style lang="scss" scoped> | ||||
|   .border5 { | ||||
|     width: 100%; | ||||
|     height: 100%; | ||||
|     padding-top: 10px; | ||||
|     box-sizing: border-box; | ||||
|     overflow: hidden; | ||||
|  | ||||
|     .slot { | ||||
|       width: 100%; | ||||
|       height: calc(100% - 0px); | ||||
|       background: rgba(120, 0, 0, 0.2); | ||||
|       border: 1px solid rgba(203, 45, 0, 0.5); | ||||
|     } | ||||
|  | ||||
|     .title { | ||||
|       display: flex; | ||||
|       position: absolute; | ||||
|       align-items: center; | ||||
|       justify-content: space-between; | ||||
|       top: 0; | ||||
|       left: 0; | ||||
|       z-index: 111; | ||||
|       width: 100%; | ||||
|  | ||||
|       .title-left { | ||||
|         width: 180px; | ||||
|         height: 38px; | ||||
|         padding-left: 32px; | ||||
|         background: url(./../asset/dq.svg); | ||||
|         background-size: 100% 100%; | ||||
|  | ||||
|         h2 { | ||||
|           padding-top: 4px; | ||||
|           font-size: 18px; | ||||
|           font-family: MicrosoftYaHei-Bold, MicrosoftYaHei; | ||||
|           font-weight: bold; | ||||
|           color: #FFFFFF; | ||||
|           line-height: 24px; | ||||
|           text-shadow: 0px 2px 4px rgba(117, 9, 9, 0.5); | ||||
|           background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%); | ||||
|           -webkit-background-clip: text; | ||||
|           -webkit-text-fill-color: transparent; | ||||
|         } | ||||
|       } | ||||
|  | ||||
|       img { | ||||
|         width: 64px; | ||||
|         height: 26px; | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     * { | ||||
|       box-sizing: border-box; | ||||
|     } | ||||
|   } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user