mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								{$layout "layout_popup"}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h3>修改DNS服务商账号</h3>
							 | 
						||
| 
								 | 
							
								<form class="ui form" data-tea-action="$" data-tea-success="success">
							 | 
						||
| 
								 | 
							
									<csrf-token></csrf-token>
							 | 
						||
| 
								 | 
							
									<input type="hidden" name="providerId" :value="provider.id"/>
							 | 
						||
| 
								 | 
							
									<input type="hidden" name="type" :value="provider.type"/>
							 | 
						||
| 
								 | 
							
									<table class="ui table definition selectable">
							 | 
						||
| 
								 | 
							
										<tr>
							 | 
						||
| 
								 | 
							
											<td class="title">账号说明 *</td>
							 | 
						||
| 
								 | 
							
											<td>
							 | 
						||
| 
								 | 
							
												<input type="text" name="name" maxlength="50" ref="focus" v-model="provider.name"/>
							 | 
						||
| 
								 | 
							
												<p class="comment">用来方便区分不同的账号。</p>
							 | 
						||
| 
								 | 
							
											</td>
							 | 
						||
| 
								 | 
							
										</tr>
							 | 
						||
| 
								 | 
							
										<tr>
							 | 
						||
| 
								 | 
							
											<td>服务商厂家 *</td>
							 | 
						||
| 
								 | 
							
											<td>
							 | 
						||
| 
								 | 
							
												{{provider.typeName}}
							 | 
						||
| 
								 | 
							
												<p class="comment">创建后无法修改此选项。</p>
							 | 
						||
| 
								 | 
							
											</td>
							 | 
						||
| 
								 | 
							
										</tr>
							 | 
						||
| 
								 | 
							
										<tr>
							 | 
						||
| 
								 | 
							
											<td colspan="2">API参数</td>
							 | 
						||
| 
								 | 
							
										</tr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<!-- DNSPod -->
							 | 
						||
| 
								 | 
							
										<tbody v-if="provider.type == 'dnspod'">
							 | 
						||
| 
								 | 
							
											<tr>
							 | 
						||
| 
								 | 
							
												<td>密钥ID *</td>
							 | 
						||
| 
								 | 
							
												<td>
							 | 
						||
| 
								 | 
							
													<input type="text" name="paramId" maxlength="100" :value="provider.params.id"/>
							 | 
						||
| 
								 | 
							
												</td>
							 | 
						||
| 
								 | 
							
											</tr>
							 | 
						||
| 
								 | 
							
											<tr>
							 | 
						||
| 
								 | 
							
												<td>密钥Token *</td>
							 | 
						||
| 
								 | 
							
												<td>
							 | 
						||
| 
								 | 
							
													<input type="text" name="paramToken" maxlength="100" :value="provider.params.token"/>
							 | 
						||
| 
								 | 
							
												</td>
							 | 
						||
| 
								 | 
							
											</tr>
							 | 
						||
| 
								 | 
							
										</tbody>
							 | 
						||
| 
								 | 
							
									</table>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									<submit-btn></submit-btn>
							 | 
						||
| 
								 | 
							
								</form>
							 |