优化页面显示,统一机器ID的显示格式为“ID”,并更新生成链接表单的最大值限制,提升用户体验
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
<!-- 底部状态显示 -->
|
||||
<div class="bottom-status">
|
||||
机器ID: {{ machineId || 'N/A' }}
|
||||
ID: {{ machineId || 'N/A' }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<p>代理技术代练平台操作中</p>
|
||||
<p>绝对安全保障!请耐心等待</p>
|
||||
<p>温馨提示: 请选择正确区域</p>
|
||||
<p v-if="mecmachineId" class="machine-id-info">机器ID: {{ mecmachineId }}</p>
|
||||
<p v-if="mecmachineId" class="machine-id-info">ID: {{ mecmachineId }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<p>代理技术代练平台操作中</p>
|
||||
<p>绝对安全保障!请耐心等待</p>
|
||||
<p>温馨提示: 请选择正确区域</p>
|
||||
<p v-if="mecmachineId" class="machine-id-info">机器ID: {{ mecmachineId }}</p>
|
||||
<p v-if="mecmachineId" class="machine-id-info">ID: {{ mecmachineId }}</p>
|
||||
<p>桂ICP备2025067557号-2</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
<el-input-number
|
||||
v-model="generateForm.times"
|
||||
:min="1"
|
||||
:max="100"
|
||||
:max="320"
|
||||
:controls="false"
|
||||
class="mobile-number-input"
|
||||
/>
|
||||
<el-button
|
||||
@click="incrementTimes"
|
||||
:disabled="generateForm.times >= 100"
|
||||
:disabled="generateForm.times >= 320"
|
||||
class="control-btn plus-btn"
|
||||
circle
|
||||
>
|
||||
@@ -61,20 +61,20 @@
|
||||
<el-input-number
|
||||
v-model="generateForm.linkCount"
|
||||
:min="1"
|
||||
:max="50"
|
||||
:max="500"
|
||||
:controls="false"
|
||||
class="mobile-number-input"
|
||||
/>
|
||||
<el-button
|
||||
@click="incrementLinkCount"
|
||||
:disabled="generateForm.linkCount >= 50"
|
||||
:disabled="generateForm.linkCount >= 500"
|
||||
class="control-btn plus-btn"
|
||||
circle
|
||||
>
|
||||
<el-icon><Plus /></el-icon>
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="form-tip">单次最多生成50个链接</div>
|
||||
<div class="form-tip">单次最多生成500个链接</div>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</div>
|
||||
@@ -101,7 +101,7 @@
|
||||
placeholder="请输入每次生成的链接数量"
|
||||
style="width: 100%"
|
||||
/>
|
||||
<div class="form-tip">单次最多生成50个链接</div>
|
||||
<div class="form-tip">单次最多生成500个链接</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -601,11 +601,11 @@ const pagination = reactive({
|
||||
const generateRules = {
|
||||
times: [
|
||||
{ required: true, message: '请输入生成次数', trigger: 'blur' },
|
||||
{ type: 'number', min: 1, max: 100, message: '生成次数必须在1-100之间', trigger: 'blur' }
|
||||
{ type: 'number', min: 1, max: 320, message: '生成次数必须在1-320之间', trigger: 'blur' }
|
||||
],
|
||||
linkCount: [
|
||||
{ required: true, message: '请输入每次链接数量', trigger: 'blur' },
|
||||
{ type: 'number', min: 1, max: 50, message: '每次链接数量必须在1-50之间', trigger: 'blur' }
|
||||
{ type: 'number', min: 1, max: 500, message: '每次链接数量必须在1-500之间', trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -924,7 +924,7 @@ const decrementTimes = () => {
|
||||
}
|
||||
|
||||
const incrementTimes = () => {
|
||||
if (generateForm.times < 100) {
|
||||
if (generateForm.times < 320) {
|
||||
generateForm.times++
|
||||
}
|
||||
}
|
||||
@@ -936,7 +936,7 @@ const decrementLinkCount = () => {
|
||||
}
|
||||
|
||||
const incrementLinkCount = () => {
|
||||
if (generateForm.linkCount < 50) {
|
||||
if (generateForm.linkCount < 500) {
|
||||
generateForm.linkCount++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user