<div class="setting-main">
	<div class="s-header s-line">
		<i class="s-header-icon">
			<!--<svg class="icon" aria-hidden="true">
                        <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-back1"></use>
         </svg>-->
		</i>
		<span class="s-header-text"> 设置 </span>
	</div>
	<div class="s-main">
		<div class="s-panle s-line">
			<h1>常规</h1>
			<div class="s-p-container">
				<div class="s-p-item">
					<p>
						<span class="s-p-title">关闭主面板：</span>
					</p>
					<div class="s-p-ul">
						<md-radio-group ng-model="sys_config.close.type">
							<md-radio-button value="min" ng-click="changesType()" class="md-primary">最小化到托盘</md-radio-button>
							<md-radio-button value="close" ng-click="changesType()" > 退出云盘 </md-radio-button>
						</md-radio-group>
					</div>
				</div>
			</div>
		</div>
		<div class="s-panle ">
			<h1>下载设置</h1>
			<div class="s-p-container">
				<div class="s-p-item">
					<p>
						<span class="s-p-title">下载目录：</span>
					</p>
					<div class="s-p-ul s-down-path" style="line-height:30px;">
						<div >
							<span>{{sys_config.down_setting.path}}</span>
							<span class="nwdirectory">更换目录
							  <input type="file" class="open_saveFolder" id="open_saveFolder" nwdirectory=""/>
							</span>
						</div>
						<md-checkbox aria-label="默认此路径是下载路径" ng-model="sys_config.down_setting.default">
							默认此路径是下载路径
						</md-checkbox>
					</div>
				</div>
				<div class="s-p-item" style="display:none">
					<p>
						<span class="s-p-title">并行：</span>
					</p>
					<div class="s-p-ul">
						上传并行数量
						<md-select aria-label="上传并行数量" class="s-down-num" ng-model="sys_config.task.upload_num">
							<md-option ng-value="state" ng-repeat="state in states">
								{{state}}
							</md-option>
						</md-select>
						下载并行数量
						<md-select aria-label="下载并行数量" class="s-upload-num" ng-model="sys_config.task.down_num">
							<md-option ng-value="state" ng-repeat="state in states">
								{{state}}
							</md-option>
						</md-select>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>