fix: RATIO/DRATIO actions change to demote-to-Peasant first
- Low ratio \u2192 demote to Peasant \u2192 kill after 7 days, not immediate kill - Orange arrow + '\u964d\u7ea7\u81f3Peasant' label instead of red '\u5c01\u53f7/\u5220\u9664\u8d26\u53f7' - Card body shows full explanation: \u4f4e\u4e8e\u6b64\u5206\u4eab\u7387\u5219\u964d\u7ea7\u81f3Peasant\uff0c7\u5929\u540e\u5c01\u53f7/\u5220\u9664\u8d26\u53f7 - Template dialog also shows '\u964d\u7ea7' label for RATIO/DRATIO presets
This commit is contained in:
@@ -93,8 +93,8 @@
|
||||
<span v-else-if="rule.type==='DRATIO'" class="rule-fixed-text">下载量 ≥ {{ rule.threshold }}GB 时分享率 ≥ {{ rule.minRatio }}</span>
|
||||
<span v-else-if="rule.type==='EXEMPT'" class="rule-fixed-text">永久保留 ≥ {{ rankDisplay(rule.permRank) }} / 封存豁免 ≥ {{ rankDisplay(rule.sealExemptRank) }}</span>
|
||||
<span v-else class="rule-fixed-text">{{ metricLabel(rule.metric) }} {{ condLabel(rule.condition) }} {{ rule.threshold }}{{ rule.unit || '' }}</span>
|
||||
<span class="then-arrow" :style="rule.type==='EXEMPT'?'color:#67c23a':''">→</span>
|
||||
<span :style="rule.type==='EXEMPT'?'color:#67c23a;font-weight:600;font-size:13px':'color:#f56c6c;font-weight:600;font-size:13px'">{{ rule.type==='EXEMPT' ? '保号' : '封号/删除账号' }}</span>
|
||||
<span class="then-arrow" :style="rule.type==='EXEMPT'?'color:#67c23a':rule.type==='RATIO'||rule.type==='DRATIO'?'color:#e6a23c':''">→</span>
|
||||
<span :style="{fontWeight:'600',fontSize:'13px',color:rule.type==='EXEMPT'?'#67c23a':rule.type==='RATIO'||rule.type==='DRATIO'?'#e6a23c':'#f56c6c'}">{{ rule.type==='EXEMPT' ? '保号' : rule.type==='RATIO'||rule.type==='DRATIO' ? '降级至Peasant' : '封号/删除账号' }}</span>
|
||||
</div>
|
||||
<div class="card-header-right">
|
||||
<span class="rule-index">#{{ idx + 1 }}</span>
|
||||
@@ -134,7 +134,7 @@
|
||||
<div class="field-row">
|
||||
<span class="field-label">要求分享率</span>
|
||||
<el-input v-model.number="rule.minRatio" size="small" type="number" :step="0.1" placeholder="分享率" @input="sync" style="width:100px" />
|
||||
<span class="field-hint">(分享率低于此值则封号/删除账号)</span>
|
||||
<span class="field-hint">(分享率低于此值则降级至Peasant,7天后封号/删除账号)</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -161,7 +161,8 @@
|
||||
<div class="field-row">
|
||||
<span class="field-label">阈值</span>
|
||||
<el-input v-model.number="rule.threshold" size="small" type="number" placeholder="阈值" @input="sync" style="width:120px" />
|
||||
<span class="field-hint">{{ rule.unit || '' }}</span>
|
||||
<span v-if="rule.type==='RATIO'" class="field-hint">(低于此分享率则降级至Peasant,7天后封号/删除账号)</span>
|
||||
<span v-else class="field-hint">{{ rule.unit || '' }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -193,7 +194,7 @@
|
||||
<el-checkbox :value="p.name" :label="p.name" style="margin-right:0;height:auto">
|
||||
<span style="font-weight:500;font-size:13px">{{ p.name }}</span>
|
||||
</el-checkbox>
|
||||
<span :style="p.type==='EXEMPT'?'color:#67c23a;font-size:11px;font-weight:500':'color:#f56c6c;font-size:11px;font-weight:500'">{{ p.type==='EXEMPT' ? '保号' : '封号' }}</span>
|
||||
<span :style="{fontSize:'11px',fontWeight:500,color:p.type==='EXEMPT'?'#67c23a':p.type==='RATIO'||p.type==='DRATIO'?'#e6a23c':'#f56c6c'}">{{ p.type==='EXEMPT' ? '保号' : p.type==='RATIO'||p.type==='DRATIO' ? '降级' : '封号' }}</span>
|
||||
<span style="color:#909399;font-size:11px;flex:1">{{ presetDesc(p) }}</span>
|
||||
</div>
|
||||
</el-checkbox-group>
|
||||
|
||||
Reference in New Issue
Block a user