|
7 | 7 | <script> |
8 | 8 | const gateway_list = [ |
9 | 9 | //LoRa Gateway |
| 10 | + {a:'https://heltec.org/project/lora-gateway-module/', img:'https://resource.heltec.cn/img/docs/lora_gateway/lora_gateway_module.jpg', p:'SX130x LoRa Gateway Module'}, |
10 | 11 | {a:'https://heltec.org/project/ht-m00', img:'https://resource.heltec.cn/img/docs/lora_gateway/ht_m00.jpg', p:'HT-M00 Dual Channel LoRa Gateway'}, |
11 | 12 | {a:"https://heltec.cn/project/ht-m01", img:"https://resource.heltec.cn/img/docs/lora_gateway/ht_m01.jpg", p:"HT-M01 PicoCell LoRa Gateway"}, |
12 | 13 | {a:'https://heltec.org/project/ht-m01s', img: 'https://resource.heltec.cn/img/docs/lora_gateway/ht_m01s.jpg', p: 'HT-M01S Indoor LoRa Gateway'}, |
|
146 | 147 | const touchKeyList = [ |
147 | 148 | {a: 'https://heltec.org/project/touch-button/', img: 'https://resource.heltec.cn/img/docs/touch_key_1.jpg', p: 'Touch Key'} |
148 | 149 | ] |
149 | | - // var product = [core,module,unit,base,application,accessory,aluminium]; |
| 150 | + |
150 | 151 | var product_class = [gateway_list,cubecell_list,esp32_lora_list,stm32_lora_list,esp32_arduino_list,esp8266_arduino_list,oled_list,e_ink_list,accessories_list, touchKeyList]; |
151 | 152 | var product_class_name = ["gateway","cubecell","esp32_lora","stm32_lora","esp32_arduino","esp8266_arduino","oled","e_ink","accessories", 'touch_key']; |
152 | 153 |
|
|
160 | 161 |
|
161 | 162 | //append的内容将显示在product_class.p名称的上方,并作为一行的开始 |
162 | 163 | /*lora gateway*/ |
163 | | - if(product_class[class_num][i].p === "HT-M00 Dual Channel LoRa Gateway"){ |
| 164 | + if(product_class[class_num][i].p === "SX130x LoRa Gateway Module"){ |
164 | 165 | $("#"+product_class_name[class_num]).append('<br><p> <a href="#/en/products/lora/lora_gateway/heltec_lora_gateway_list"> <strong>LoRa Gateway</strong> </a> </p>'); |
165 | 166 | } |
166 | 167 | /*cubecell*/ |
|
255 | 256 | //给lora gateway添加属性 |
256 | 257 | function appendAttr(e) { |
257 | 258 | const gatewayId = [ |
| 259 | + 'lora-gate-module', |
258 | 260 | 'htm-00', |
259 | 261 | 'htm-01', |
260 | 262 | 'htm-01s', |
|
295 | 297 | $("#gateway div#htm-02 .mask a").attr("href", "https://heltec-automation-docs.readthedocs.io/en/latest/gateway/ht-m02_4g/index.html"); |
296 | 298 | $("#gateway div#htm-00 .mask a").attr("href", "https://heltec-automation-docs.readthedocs.io/en/latest/gateway/ht-m00/index.html"); |
297 | 299 | $("#gateway div#htm-01s .mask a").attr("href", "https://heltec-automation-docs.readthedocs.io/en/latest/gateway/ht-m01s/index.html"); |
| 300 | + $("#gateway div#lora-gate-module .mask a").attr("href", "https://heltec-automation-docs.readthedocs.io/en/latest/gateway/sx1301module/index.html"); |
298 | 301 |
|
299 | 302 | $("#cubecell div.item a:lt("+cubecell_list.length+")").append(mask_html); |
300 | 303 | $("#cubecell .mask a").attr("href", "https://heltec-automation-docs.readthedocs.io/en/latest/cubecell/quick_start.html"); |
|
0 commit comments