新需求更新 同步更新
This commit is contained in:
+323
-17
@@ -354,6 +354,31 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.pagination-jump {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pagination-jump input {
|
||||
width: 64px;
|
||||
height: 32px;
|
||||
padding: 4px 6px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pagination-jump input:focus {
|
||||
border-color: #667eea;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
|
||||
}
|
||||
|
||||
.thumb {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
@@ -446,6 +471,100 @@
|
||||
z-index: 1010;
|
||||
}
|
||||
|
||||
.shop-key-whitelist-status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
padding: 3px 8px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shop-key-whitelist-status.is-allowed {
|
||||
color: #18794e;
|
||||
background: #eaf8f0;
|
||||
border-color: #b9e3ca;
|
||||
}
|
||||
|
||||
.shop-key-whitelist-status.is-blocked {
|
||||
color: #b42318;
|
||||
background: #fff0ee;
|
||||
border-color: #f2c0ba;
|
||||
}
|
||||
|
||||
.shop-key-whitelist-status.is-unknown {
|
||||
color: #667085;
|
||||
background: #f2f4f7;
|
||||
border-color: #d0d5dd;
|
||||
}
|
||||
|
||||
.shop-key-table-scroll {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.shop-key-table-scroll table {
|
||||
min-width: 900px;
|
||||
}
|
||||
|
||||
.shop-password-cell {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 86px;
|
||||
}
|
||||
|
||||
.shop-password-value {
|
||||
min-width: 48px;
|
||||
max-width: 220px;
|
||||
overflow-wrap: anywhere;
|
||||
font-family: Consolas, "Courier New", monospace;
|
||||
}
|
||||
|
||||
.shop-password-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 28px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
color: #667085;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.shop-password-toggle:hover:not(:disabled) {
|
||||
color: #5268d9;
|
||||
background: #eef1ff;
|
||||
}
|
||||
|
||||
.shop-password-toggle:focus-visible {
|
||||
outline: 2px solid #667eea;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.shop-password-toggle:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.shop-password-toggle svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dedupe-group-access {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1286,6 +1405,113 @@
|
||||
background: #fafbfb;
|
||||
}
|
||||
|
||||
.shop-data-task-card .image-video-card-body {
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.shop-data-task-card .image-video-card-info {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.shop-data-group-head {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.shop-data-group-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shop-data-result-list {
|
||||
margin-top: 8px;
|
||||
border-top: 1px solid #edf0ef;
|
||||
}
|
||||
|
||||
.shop-data-result {
|
||||
padding: 13px 0 12px;
|
||||
border-bottom: 1px solid #edf0ef;
|
||||
}
|
||||
|
||||
.shop-data-result:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.shop-data-result.selected {
|
||||
margin-left: -8px;
|
||||
margin-right: -8px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
border-radius: 4px;
|
||||
background: #f3fbf7;
|
||||
}
|
||||
|
||||
.shop-data-result-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.shop-data-result .shop-data-task-title {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.shop-data-result .image-video-card-info {
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.shop-data-result .image-video-card-actions {
|
||||
margin-top: 11px;
|
||||
}
|
||||
|
||||
.shop-data-task-title {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
color: #2b3532;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.shop-data-task-title input {
|
||||
flex: 0 0 auto;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
accent-color: #27b38b;
|
||||
}
|
||||
|
||||
.shop-data-task-title span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shop-data-result .image-video-status[title] {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.shop-data-delete-action {
|
||||
margin-left: auto;
|
||||
border-color: #d96b6b;
|
||||
color: #b33a3a;
|
||||
}
|
||||
|
||||
.shop-data-delete-action:hover:not(:disabled) {
|
||||
border-color: #b33a3a;
|
||||
background: #b33a3a;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.image-video-permission-btn {
|
||||
display: none;
|
||||
min-height: 36px;
|
||||
@@ -1790,11 +2016,11 @@
|
||||
<input type="text" id="searchDedupeTotalDataUsername" placeholder="输入用户名">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>导出开始日期</label>
|
||||
<label>开始日期</label>
|
||||
<input type="date" id="exportDedupeTotalDataStartDate">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>导出结束日期</label>
|
||||
<label>结束日期</label>
|
||||
<input type="date" id="exportDedupeTotalDataEndDate">
|
||||
</div>
|
||||
<div class="dedupe-filter-actions">
|
||||
@@ -1883,20 +2109,23 @@
|
||||
</div>
|
||||
<div class="panel-box">
|
||||
<h3 style="margin-bottom:16px;font-size:15px;">店铺密钥列表</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>备注名</th>
|
||||
<th>紫鸟账号名称</th>
|
||||
<th>紫鸟令牌</th>
|
||||
<th>创建时间</th>
|
||||
<th>修改时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="shopKeyListBody"></tbody>
|
||||
</table>
|
||||
<div class="shop-key-table-scroll">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>备注名</th>
|
||||
<th>紫鸟账号名称</th>
|
||||
<th>紫鸟令牌</th>
|
||||
<th>白名单状态</th>
|
||||
<th>创建时间</th>
|
||||
<th>修改时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="shopKeyListBody"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="pagination" id="shopKeyPagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2304,6 +2533,50 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="panel-shop-data-crawl-tasks" class="tab-panel">
|
||||
<div class="form-box">
|
||||
<h3 style="margin-bottom:16px;font-size:15px;">店铺数据任务筛选</h3>
|
||||
<div class="form-row">
|
||||
<div class="form-group" style="min-width:150px;"><label>店铺</label><input type="text"
|
||||
id="shopDataTaskFilterShop" placeholder="模糊搜索店铺名"></div>
|
||||
<div class="form-group" style="min-width:140px;"><label>分组</label><input type="text"
|
||||
id="shopDataTaskFilterGroup" placeholder="模糊搜索分组"></div>
|
||||
<div class="form-group" style="min-width:170px;"><label>创建开始</label><input
|
||||
type="datetime-local" id="shopDataTaskFilterFrom"></div>
|
||||
<div class="form-group" style="min-width:170px;"><label>创建结束</label><input
|
||||
type="datetime-local" id="shopDataTaskFilterTo"></div>
|
||||
<button class="btn" id="btnFilterShopDataTasks" type="button">查询</button>
|
||||
<button class="btn btn-secondary" id="btnResetShopDataTasks" type="button">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-box image-video-panel-box">
|
||||
<div class="image-video-results">
|
||||
<div class="image-video-toolbar">
|
||||
<div class="image-video-toolbar-main">
|
||||
<button class="btn btn-secondary image-video-permission-btn"
|
||||
id="btnOpenShopDataTaskPermissions" type="button">权限配置</button>
|
||||
<button class="btn image-video-batch-btn" id="btnBatchDownloadShopDataTasks"
|
||||
type="button" disabled>
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M12 3v12m0 0 4-4m-4 4-4-4M5 21h14"></path>
|
||||
</svg>
|
||||
批量下载
|
||||
</button>
|
||||
<label class="image-video-select-all">
|
||||
<input type="checkbox" id="shopDataTaskSelectAll">
|
||||
全选当前页
|
||||
</label>
|
||||
<span class="image-video-download-progress" id="shopDataTaskDownloadProgress"
|
||||
aria-live="polite"></span>
|
||||
</div>
|
||||
<span class="image-video-summary" id="shopDataTaskTotal"></span>
|
||||
</div>
|
||||
<div class="image-video-grid" id="shopDataTaskGrid" aria-live="polite"></div>
|
||||
</div>
|
||||
<div class="pagination" id="shopDataTaskPagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="panel-history" class="tab-panel">
|
||||
<div class="form-box">
|
||||
<h3 style="margin-bottom:16px;font-size:15px;">筛选条件</h3>
|
||||
@@ -2746,7 +3019,40 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/admin.js?v=permission-tree-groups-1"></script>
|
||||
<div class="modal-mask" id="shopDataTaskPermissionModal">
|
||||
<div class="modal image-video-permission-modal" role="dialog" aria-modal="true"
|
||||
aria-labelledby="shopDataTaskPermissionTitle">
|
||||
<div class="image-video-permission-head">
|
||||
<h3 id="shopDataTaskPermissionTitle">店铺数据任务权限配置</h3>
|
||||
<button class="btn btn-secondary btn-sm" id="btnCloseShopDataTaskPermissions"
|
||||
type="button">关闭</button>
|
||||
</div>
|
||||
<div class="image-video-permission-tabs" role="tablist" aria-label="店铺数据任务权限用户范围">
|
||||
<button class="image-video-permission-tab active" type="button" role="tab"
|
||||
aria-selected="true" data-shop-data-permission-view="granted">已分配用户 <span
|
||||
id="shopDataTaskPermissionGrantedCount">(0)</span></button>
|
||||
<button class="image-video-permission-tab" type="button" role="tab" aria-selected="false"
|
||||
data-shop-data-permission-view="all">全部用户 <span
|
||||
id="shopDataTaskPermissionAllCount">(0)</span></button>
|
||||
</div>
|
||||
<div class="image-video-permission-tools">
|
||||
<input class="image-video-permission-search" id="shopDataTaskPermissionSearch" type="search"
|
||||
placeholder="搜索用户名">
|
||||
<label class="image-video-select-all">
|
||||
<input type="checkbox" id="shopDataTaskPermissionSelectAll">
|
||||
全选搜索结果
|
||||
</label>
|
||||
</div>
|
||||
<p class="image-video-permission-summary" id="shopDataTaskPermissionSummary"></p>
|
||||
<div class="image-video-permission-list" id="shopDataTaskPermissionList" aria-live="polite"></div>
|
||||
<p class="msg" id="shopDataTaskPermissionMessage" aria-live="polite"></p>
|
||||
<div class="image-video-permission-actions">
|
||||
<button class="btn btn-secondary" id="btnCancelShopDataTaskPermissions" type="button">取消</button>
|
||||
<button class="btn" id="btnSaveShopDataTaskPermissions" type="button">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/admin.js?v=shop-data-task-admin-1"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user