download.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <script setup>
  2. import { ref, onMounted } from 'vue';
  3. const System1= ref("")
  4. const selectList1Windows = ref([{
  5. id: 0,
  6. value: "https://cocorobo.cn/downloads/CocoBlocklyUploaderInstallerv3.0.12.exe",
  7. name: "v3.0.12"
  8. },])
  9. const selectList2Mac = ref([
  10. {
  11. id: 0,
  12. value: "https://cocorobo.cn/downloads/CocoBlocklyUploaderInstallerv3.0.12.pkg",
  13. name: "v3.0.12"
  14. },
  15. ])
  16. const blocklyiVersion = ref("")
  17. const blocklyLink = ref("")
  18. const blocklyList =ref("")
  19. const System2= ref("")
  20. const AIoTVersionWindows = ref([
  21. {
  22. id: 0,
  23. value: "https://cocorobo.cn/downloads/CocoBlocklyXUploaderInstallerv1.1.0.exe",
  24. name: "v1.1.0"
  25. }, {
  26. id: 1,
  27. value: "https://cocorobo.cn/downloads/CocoBlocklyXUploaderInstallerv1.0.18.exe",
  28. name: "v1.0.18"
  29. }
  30. ])
  31. const AIoTVersionMac = ref([
  32. {
  33. id: 0,
  34. value: "https://cocorobo.cn/downloads/CocoBlocklyXUploaderInstallerv1.1.1.pkg",
  35. name: "v1.1.1"
  36. },
  37. {
  38. id: 1,
  39. value: "https://cocorobo.cn/downloads/CocoBlocklyXUploaderInstallerv1.1.0.pkg",
  40. name: "v1.1.0"
  41. }, {
  42. id: 2,
  43. value: "https://cocorobo.cn/downloads/CocoBlocklyXUploaderInstallerv1.0.18.pkg",
  44. name: "v1.0.18"
  45. }
  46. ])
  47. const AIoTVersion = ref("")
  48. const AIoTVersionList = ref([])
  49. const AIoTLink = ref("")
  50. onMounted(() => {
  51. const isSystem = /macintosh|mac os x/i.test(navigator.userAgent)
  52. if (isSystem) {
  53. System1.value = "Mac"
  54. System2.value = "Mac"
  55. blocklyList.value = selectList2Mac.value
  56. AIoTVersionList.value = AIoTVersionMac.value
  57. } else {
  58. System1.value = "Windows"
  59. System2.value = "Windows"
  60. blocklyList.value = selectList1Windows.value
  61. AIoTVersionList.value = selectList1Windows.value
  62. }
  63. AIoTVersion.value = AIoTVersionList.value[0].name
  64. AIoTLink.value = AIoTVersionList.value[0].value
  65. blocklyiVersion.value = blocklyList.value[0].name
  66. blocklyLink.value = blocklyList.value[0].value
  67. })
  68. const selectSystem1 = (e) => {
  69. console.log(e.target.value == "Mac")
  70. if (e.target.value == "Mac") {
  71. System1.value = "Mac"
  72. blocklyList.value = selectList2Mac.value
  73. } else {
  74. System1.value = "Windows"
  75. blocklyList.value = selectList1Windows.value
  76. }
  77. blocklyiVersion.value = blocklyList.value[0].name
  78. blocklyLink.value = blocklyList.value[0].value
  79. console.log(blocklyList.value[0])
  80. }
  81. const selectSystem2 = (e) => {
  82. if (e.target.value == "Mac") {
  83. System2.value = "Mac"
  84. AIoTVersionList.value = AIoTVersionMac.value
  85. } else {
  86. System2.value = "Windows"
  87. AIoTVersionList.value = AIoTVersionWindows.value
  88. }
  89. AIoTVersion.value = AIoTVersionList.value[0].name
  90. AIoTLink.value = AIoTVersionList.value[0].value
  91. }
  92. const selectBlocklyVersion = (e) => {
  93. blocklyLink.value = blocklyList.value.find(x => x.name == e.target.value).value
  94. }
  95. const BlocklyDownload = () => {
  96. console.log(blocklyLink)
  97. }
  98. const selectAIoTVersion = (e) => {
  99. console.log(e.target.value)
  100. AIoTLink.value = AIoTVersionList.value.find(x => x.name == e.target.value).value
  101. }
  102. const AIoTDownload = () => {
  103. console.log(AIoTLink)
  104. }
  105. </script>
  106. <template>
  107. <div class="download">
  108. <h1>离线编程软件</h1>
  109. <div class="download-content content">
  110. <img src="../assets/img/cocorobolixianban.png" alt="">
  111. <div class="download-content-desc">
  112. <h3>CocoPi 图形化编程离线版本</h3>
  113. <p>为了能够让用户更方便的使用该产品,在网络较慢或者其他情况下,可以更好使用。</p>
  114. <h5>支持的操作系统:</h5>
  115. <span>windows</span>
  116. </div>
  117. <div class="download-content-download">
  118. <a href="https://cocorobo.cn/downloads/CocoRoboPiDeskTop Installer v1.0.3.exe">下载 CocoPi
  119. 图形化编程离线版本(v1.0.3)</a>
  120. <p>更新与2024/05/22</p>
  121. </div>
  122. </div>
  123. <div class="download-content content">
  124. <img src="../assets/img/cocorobolixianban2.png" alt="">
  125. <div class="download-content-desc">
  126. <h3>AIoT 图形化编程离线版本</h3>
  127. <p>为了能够让用户更方便的使用该产品,在网络较慢或者其他情况下,可以更好使用。</p>
  128. <h5>支持的操作系统:</h5>
  129. <span>windows</span>
  130. </div>
  131. <div class="download-content-download">
  132. <a href="https://cocorobo.cn/downloads/CocoRoboXDeskTop Installer v1.0.8.exe">下载 AIoT
  133. 图形化编程离线版本(v1.0.8)</a>
  134. <p>更新与2024/04/09</p>
  135. </div>
  136. </div>
  137. <div class="download-content content">
  138. <img src="../assets/img/blocklylixian.png" alt="">
  139. <div class="download-content-desc">
  140. <h3>百变智造图形化编程离线版本</h3>
  141. <p>为了能够让用户更方便的使用该产品,在网络较慢或者其他情况下,可以更好使用。</p>
  142. <h5>支持的操作系统:</h5>
  143. <span>windows</span>
  144. </div>
  145. <div class="download-content-download">
  146. <a
  147. href="https://cocorobo.cn/downloads/CocoBlockly%20Desktop%20Installer%20v3.0.7.exe">下载百变智造图形化编程离线版本(v3.0.7)</a>
  148. <p>更新与2024/04/09</p>
  149. </div>
  150. </div>
  151. <h1>图形化编程上传插件</h1>
  152. <div class="download-content content">
  153. <img src="../assets/img/blockly1.png" alt="">
  154. <div class="download-content-desc">
  155. <h3>百变智造图形化编程平台上传插件</h3>
  156. <p>为了能够让百变智造图形化编程平台能够从浏览器和主控模块进行通信,我们推出一款跨平台的上传插件(Uploader),用户下载该插件并安装,随后即可访问
  157. CocoBlockly,对我们的电子模块进行上传编程。</p>
  158. <h5>支持的操作系统:</h5>
  159. <span>Windows / macOS</span>
  160. </div>
  161. <div class="download-content-download">
  162. <div>
  163. <span>系统:</span>
  164. <select name="" id="" :value="System1" @change="selectSystem1">
  165. <option value="Windows">Windows</option>
  166. <option value="Mac">Mac</option>
  167. </select>
  168. <span>版本:</span>
  169. <select name="" id="" :value="blocklyiVersion" @change="selectBlocklyVersion">
  170. <option v-for="item in blocklyList" :value="item.name">{{ item.name }}</option>
  171. </select>
  172. <button @click="BlocklyDownload()">下载</button>
  173. </div>
  174. </div>
  175. </div>
  176. <div class="download-content content">
  177. <img src="../assets/img/blockly2.png" alt="">
  178. <div class="download-content-desc">
  179. <h3>AIoT图形化编程平台上传插件</h3>
  180. <p>为了能够让AIoT图形化编程平台能够从浏览器和我们的 AI 和 IoT 模块进行通信,进行上传和运行的操作,我们推出一款跨平台的上传插件,用户下载该插件并安装,随后便可以对我们的电子模块进行上传编程。
  181. </p>
  182. <h5>支持的操作系统:</h5>
  183. <span>Windows / macOS</span>
  184. </div>
  185. <div class="download-content-download">
  186. <div>
  187. <span>系统:</span>
  188. <select name="" id="" :value="System2" @change="selectSystem2">
  189. <option value="Windows">Windows</option>
  190. <option value="Mac">Mac</option>
  191. </select>
  192. <span>版本:</span>
  193. <select name="" id="" :value="AIoTVersion" @change="selectAIoTVersion">
  194. <option v-for="item in AIoTVersionList" :value="item.name">{{ item.name }}</option>
  195. </select>
  196. <button @click="AIoTDownload()">下载</button>
  197. </div>
  198. </div>
  199. </div>
  200. <h1>推荐浏览器</h1>
  201. <div class="download-content content">
  202. <img src="../assets/img/google.png" alt="">
  203. <div class="download-content-desc">
  204. <h3>下载谷歌浏览器</h3>
  205. <p>使用谷歌浏览器,在线编程体验更流畅</p>
  206. </div>
  207. <div class="download-content-download">
  208. <a href="https://cocorobo.cn/downloads/Chrome.apk">下载Android版本</a>
  209. <a href="https://www.google.cn/chrome/index.html" target="_blank">前往下载</a>
  210. </div>
  211. </div>
  212. <div class="download-content content">
  213. <img src="../assets/img/360.png" alt="">
  214. <div class="download-content-desc">
  215. <h3>360安全浏览器</h3>
  216. <p>CocoBlockly 编程工具在 360 极速浏览器中运行,让你在线编程体验进行流畅</p>
  217. </div>
  218. <div class="download-content-download">
  219. <a href="https://browser.360.cn" target="_blank">前往下载</a>
  220. </div>
  221. </div>
  222. <h1>辅助工具及软件</h1>
  223. <div class="download-content content">
  224. <img src="../assets/img/TeamViewer.png" alt="">
  225. <div class="download-content-desc">
  226. <h3>TeamViewer 远程协助软件</h3>
  227. <p>随时随地连接到远程桌面电脑,让远程连接过程更加的快速和安全,轻松访问文件、网络及程序</p>
  228. </div>
  229. <div class="download-content-download">
  230. <a href="https://www.teamviewer.cn/cn/download/" target="_blank">前往下载</a>
  231. </div>
  232. </div>
  233. <div class="download-content content">
  234. <img src="../assets/img/zoom.png" alt="">
  235. <div class="download-content-desc">
  236. <h3>ZOOM 远程会议软件</h3>
  237. <p>多人手机云视频会议软件,提供兼备高清视频与移动网络会议功能的免费云视频通话</p>
  238. </div>
  239. <div class="download-content-download">
  240. <a href="https://zoom.com.cn/download" target="_blank">前往下载</a>
  241. </div>
  242. </div>
  243. <div class="download-content content">
  244. <img src="../assets/img/xiangrikui.jpg" alt="">
  245. <div class="download-content-desc">
  246. <h3>向日葵远程协助软件</h3>
  247. <p>免费的集远程控制电脑手机、远程桌面连接、远程开机、远程管理、支持内网穿透的一体化远程控制管理工具软件</p>
  248. </div>
  249. <div class="download-content-download">
  250. <a href="https://sunlogin.oray.com/download/" target="_blank">前往下载</a>
  251. </div>
  252. </div>
  253. <div class="download-content content">
  254. <img src="../assets/img/todesk.jpg" alt="">
  255. <div class="download-content-desc">
  256. <h3>ToDesk 远程协助软件</h3>
  257. <p>稳定流畅的远程控制,远程办公,远程协助软件.采用端对端加密,让每一次远程访问都安全可靠</p>
  258. </div>
  259. <div class="download-content-download">
  260. <a href="https://www.todesk.com/download.html" target="_blank">前往下载</a>
  261. </div>
  262. </div>
  263. </div>
  264. </template>
  265. <style scoped lang="scss">
  266. .download {
  267. background-color: #f0f0f0;
  268. text-align: center;
  269. width: 100%;
  270. padding-bottom: 75px;
  271. h1 {
  272. padding: 75px 0 0;
  273. }
  274. .download-content {
  275. position: relative;
  276. display: flex;
  277. justify-content: start;
  278. background-color: #fff;
  279. padding: 40px;
  280. border-radius: 10px;
  281. box-shadow: 0 3px 1px 0px #f1f1f1;
  282. margin-top: 75px;
  283. img {
  284. border-radius: 15px;
  285. width: 190px;
  286. }
  287. .download-content-desc {
  288. width: calc(100% - 200px);
  289. padding-left: 50px;
  290. text-align: left;
  291. P {
  292. margin-top: 25px;
  293. }
  294. h5 {
  295. margin-top: 50px;
  296. margin-bottom: 10px;
  297. }
  298. span {
  299. color: #666;
  300. }
  301. }
  302. .download-content-download {
  303. position: absolute;
  304. right: 40px;
  305. bottom: 40px;
  306. a {
  307. color: #fff;
  308. background-color: #1eaaff;
  309. padding: 10px 20px;
  310. border-radius: 20px;
  311. text-decoration: none;
  312. margin-left: 15px;
  313. }
  314. p {
  315. margin-top: 15px;
  316. }
  317. select{
  318. margin: 0 10px;
  319. }
  320. }
  321. }
  322. }
  323. </style>