101 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			101 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
| <div class="page-content">
 | |
|     <div class="page-header">
 | |
|         <h2 id="merchantName">时尚服装店</h2>
 | |
|         <span class="page-subtitle">- 等级设置明细</span>
 | |
|     </div>
 | |
|     
 | |
|     <!-- 操作按钮区域 -->
 | |
|     <div class="action-section">
 | |
|         <button class="btn btn-primary" onclick="addLevel()">等级编辑</button>
 | |
|         <button class="btn" onclick="saveLevelSettings()">提交</button>
 | |
|     </div>
 | |
|     
 | |
|     <!-- 等级明细表格 -->
 | |
|     <table class="table level-details-table">
 | |
|         <thead>
 | |
|             <tr>
 | |
|                 <th>等级名称</th>
 | |
|                 <th>所需成长值</th>
 | |
|                 <th>会员人数</th>
 | |
|                 <th>会员权益</th>
 | |
|             </tr>
 | |
|         </thead>
 | |
|         <tbody id="levelDetailsBody">
 | |
|             <tr>
 | |
|                 <td>LV1</td>
 | |
|                 <td>100</td>
 | |
|                 <td>1250</td>
 | |
|                 <td>9.5折优惠</td>
 | |
|             </tr>
 | |
|             <tr>
 | |
|                 <td>LV2</td>
 | |
|                 <td>500</td>
 | |
|                 <td>850</td>
 | |
|                 <td>9折优惠, 积分双倍</td>
 | |
|             </tr>
 | |
|             <tr>
 | |
|                 <td>LV3</td>
 | |
|                 <td>1200</td>
 | |
|                 <td>450</td>
 | |
|                 <td>8.5折优惠, 积分双倍, 生日优惠券</td>
 | |
|             </tr>
 | |
|             <tr>
 | |
|                 <td>LV4</td>
 | |
|                 <td>2500</td>
 | |
|                 <td>180</td>
 | |
|                 <td>8折优惠, 积分三倍, 生日优惠券, 专属客服</td>
 | |
|             </tr>
 | |
|         </tbody>
 | |
|     </table>
 | |
| </div>
 | |
| 
 | |
| <style>
 | |
| .page-header {
 | |
|     display: flex;
 | |
|     align-items: baseline;
 | |
|     margin-bottom: 20px;
 | |
| }
 | |
| 
 | |
| .page-header h2 {
 | |
|     margin: 0;
 | |
|     margin-right: 10px;
 | |
| }
 | |
| 
 | |
| .page-subtitle {
 | |
|     color: #666;
 | |
|     font-size: 16px;
 | |
| }
 | |
| 
 | |
| .action-section {
 | |
|     margin-bottom: 20px;
 | |
|     text-align: right;
 | |
| }
 | |
| 
 | |
| .action-section .btn {
 | |
|     margin-left: 10px;
 | |
| }
 | |
| 
 | |
| .level-details-table {
 | |
|     width: 100%;
 | |
|     margin-top: 20px;
 | |
| }
 | |
| 
 | |
| .level-details-table th,
 | |
| .level-details-table td {
 | |
|     text-align: center;
 | |
|     padding: 12px;
 | |
| }
 | |
| 
 | |
| .level-details-table th {
 | |
|     background-color: #f8f9fa;
 | |
|     font-weight: bold;
 | |
| }
 | |
| 
 | |
| .level-details-table tr:nth-child(even) {
 | |
|     background-color: #f8f9fa;
 | |
| }
 | |
| 
 | |
| .level-details-table tr:hover {
 | |
|     background-color: #e8f4f8;
 | |
| }
 | |
| </style> |