mirror of
				https://github.com/tidys/cc-inspector-chrome
				synced 2025-11-04 05:05:23 +00:00 
			
		
		
		
	增加edge下载链接
This commit is contained in:
		@@ -8,10 +8,19 @@
 | 
				
			|||||||
    <div class="content" :class="horizontal ? 'content-row' : 'content-col'">
 | 
					    <div class="content" :class="horizontal ? 'content-row' : 'content-col'">
 | 
				
			||||||
      <div class="title">
 | 
					      <div class="title">
 | 
				
			||||||
        <p style="font-size: 40px; font-weight: bold; color: white">为Coocs游戏开发加速。</p>
 | 
					        <p style="font-size: 40px; font-weight: bold; color: white">为Coocs游戏开发加速。</p>
 | 
				
			||||||
        <div style="font-size: 18px; font-weight: normal; margin: 30px 0; line-height: 40px; color: white">在Chrome浏览器中查看节点树、节点属性。<br />支持Creator所有版本。</div>
 | 
					        <div style="font-size: 18px; font-weight: normal; margin: 30px 0; line-height: 40px; color: white">在浏览器中查看节点树、节点属性。<br />支持Creator所有版本。</div>
 | 
				
			||||||
        <div class="link">
 | 
					        <div class="link">
 | 
				
			||||||
          <CCButton color="rgb(38,187,255)" class="download" @click="onClickBtn">
 | 
					          <CCButton color="rgb(38,187,255)" class="download" @click="onClickChrome">
 | 
				
			||||||
            <div style="font-size: 20px; font-weight: normal; color: black">下载</div>
 | 
					            <div class="list">
 | 
				
			||||||
 | 
					              <img src="./res/chrome.png" />
 | 
				
			||||||
 | 
					              <div class="txt">下载</div>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					          </CCButton>
 | 
				
			||||||
 | 
					          <CCButton style="margin-left: 20px" color="rgb(38,187,255)" class="download" @click="onClickEdge">
 | 
				
			||||||
 | 
					            <div class="list">
 | 
				
			||||||
 | 
					              <img src="./res/edge.png" />
 | 
				
			||||||
 | 
					              <div class="txt">下载</div>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
          </CCButton>
 | 
					          </CCButton>
 | 
				
			||||||
          <i @click="onClickGithub" class="iconfont icon_github github"></i>
 | 
					          <i @click="onClickGithub" class="iconfont icon_github github"></i>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
@@ -123,10 +132,14 @@ export default defineComponent({
 | 
				
			|||||||
      horizontal,
 | 
					      horizontal,
 | 
				
			||||||
      msg,
 | 
					      msg,
 | 
				
			||||||
      count,
 | 
					      count,
 | 
				
			||||||
      onClickBtn() {
 | 
					      onClickChrome() {
 | 
				
			||||||
        const url = "https://chromewebstore.google.com/detail/cc-inspector/hejbkamkfnkifppoaljcidepkhgaahcj?hl=zh-CN&utm_source=ext_sidebar";
 | 
					        const url = "https://chromewebstore.google.com/detail/cc-inspector/hejbkamkfnkifppoaljcidepkhgaahcj?hl=zh-CN&utm_source=ext_sidebar";
 | 
				
			||||||
        window.open(url);
 | 
					        window.open(url);
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
 | 
					      onClickEdge() {
 | 
				
			||||||
 | 
					        const url = "https://microsoftedge.microsoft.com/addons/detail/ccinspector/jcghedjiinobccoffphdgkplcildapgb";
 | 
				
			||||||
 | 
					        window.open(url);
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
      onClickGithub() {
 | 
					      onClickGithub() {
 | 
				
			||||||
        const url = "https://github.com/tidys/cc-inspector-chrome";
 | 
					        const url = "https://github.com/tidys/cc-inspector-chrome";
 | 
				
			||||||
        window.open(url);
 | 
					        window.open(url);
 | 
				
			||||||
@@ -202,6 +215,26 @@ export default defineComponent({
 | 
				
			|||||||
          width: 160px;
 | 
					          width: 160px;
 | 
				
			||||||
          height: 60px;
 | 
					          height: 60px;
 | 
				
			||||||
          font-size: 20px !important;
 | 
					          font-size: 20px !important;
 | 
				
			||||||
 | 
					          display: flex;
 | 
				
			||||||
 | 
					          flex-direction: row;
 | 
				
			||||||
 | 
					          align-items: center;
 | 
				
			||||||
 | 
					          .list {
 | 
				
			||||||
 | 
					            display: flex;
 | 
				
			||||||
 | 
					            flex-direction: row;
 | 
				
			||||||
 | 
					            img {
 | 
				
			||||||
 | 
					              width: 50px;
 | 
				
			||||||
 | 
					              height: 50px;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            .txt {
 | 
				
			||||||
 | 
					              display: flex;
 | 
				
			||||||
 | 
					              flex-direction: row;
 | 
				
			||||||
 | 
					              align-items: center;
 | 
				
			||||||
 | 
					              font-size: 20px;
 | 
				
			||||||
 | 
					              line-height: 22px;
 | 
				
			||||||
 | 
					              font-weight: normal;
 | 
				
			||||||
 | 
					              color: black;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								cc-inspector/src/panel/res/chrome.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cc-inspector/src/panel/res/chrome.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 11 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								cc-inspector/src/panel/res/edge.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cc-inspector/src/panel/res/edge.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 12 KiB  | 
		Reference in New Issue
	
	Block a user