fix: 同时学习课程数的推荐改到输入框右边
This commit is contained in:
@@ -985,7 +985,10 @@ onMounted(() => {
|
||||
</div>
|
||||
</n-form-item>
|
||||
<n-form-item label="同时学习课程数">
|
||||
<n-select class="worker-select" v-model:value="workersValue" :options="workerOptions" placeholder="保持不变" />
|
||||
<div class="target-control">
|
||||
<n-select class="worker-select" v-model:value="workersValue" :options="workerOptions" placeholder="保持不变" />
|
||||
<span class="target-unit">推荐:1</span>
|
||||
</div>
|
||||
</n-form-item>
|
||||
<ProxyFields
|
||||
v-model:scheme="proxyScheme"
|
||||
|
||||
@@ -900,7 +900,10 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</n-form-item>
|
||||
<n-form-item v-if="workersLoaded" label="同时学习课程数">
|
||||
<n-select class="worker-select" v-model:value="courseWorkers" size="small" :options="workerOptions" />
|
||||
<div class="target-control">
|
||||
<n-select class="worker-select" v-model:value="courseWorkers" size="small" :options="workerOptions" />
|
||||
<span class="target-unit">推荐:1</span>
|
||||
</div>
|
||||
</n-form-item>
|
||||
</n-form>
|
||||
<div class="study-actions">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const workerOptions = [
|
||||
{ label: "1 · 推荐", value: 1 },
|
||||
{ label: "1", value: 1 },
|
||||
{ label: "2", value: 2 },
|
||||
{ label: "3", value: 3 },
|
||||
{ label: "4", value: 4 },
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ select {
|
||||
}
|
||||
|
||||
.worker-select {
|
||||
width: 148px;
|
||||
width: 132px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user