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