add price policy
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tin tức & Chuyên môn - Worker App</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="assets/css/style.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css">
|
||||
<style>
|
||||
:root {
|
||||
--primary-color: #2563eb;
|
||||
--primary-color: #005B9A;
|
||||
--primary-dark: #1d4ed8;
|
||||
--secondary-color: #64748b;
|
||||
--success-color: #10b981;
|
||||
@@ -19,6 +20,7 @@
|
||||
--text-primary: #1e293b;
|
||||
--text-secondary: #64748b;
|
||||
--border-color: #e2e8f0;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -28,21 +30,22 @@
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
/*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
|
||||
background-color: var(--background-color);
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.header {
|
||||
/*.header {
|
||||
background: var(--card-background);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
padding: 0px;
|
||||
}*/
|
||||
|
||||
.header-content {
|
||||
display: flex;
|
||||
@@ -68,11 +71,6 @@
|
||||
background-color: #f1f5f9;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.search-button {
|
||||
background: none;
|
||||
@@ -95,11 +93,12 @@
|
||||
margin: 0 auto;
|
||||
background: var(--card-background);
|
||||
min-height: 100vh;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1rem;
|
||||
padding-bottom: 100px;
|
||||
padding: 16px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.categories-section {
|
||||
@@ -112,6 +111,9 @@
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.5rem;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding-top: 4px;
|
||||
scrollbar-width: none;
|
||||
|
||||
}
|
||||
|
||||
.category-tab {
|
||||
@@ -121,7 +123,6 @@
|
||||
color: var(--text-secondary);
|
||||
border: none;
|
||||
border-radius: 1.5rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
@@ -308,8 +309,8 @@
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.content {
|
||||
padding: 0.75rem;
|
||||
padding-bottom: 100px;
|
||||
padding: 16px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.news-card {
|
||||
@@ -325,19 +326,11 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Header -->
|
||||
<header class="header">
|
||||
<div class="header-content">
|
||||
<button class="back-button" onclick="goBack()">
|
||||
<i class="fas fa-arrow-left"></i>
|
||||
</button>
|
||||
<h1 class="header-title">Tin tức & Chuyên môn</h1>
|
||||
<button class="search-button" onclick="toggleSearch()">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="header">
|
||||
<h1 class="header-title">Tin tức & chuyên môn</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Content -->
|
||||
<div class="content">
|
||||
@@ -345,11 +338,11 @@
|
||||
<div class="categories-section">
|
||||
<div class="categories-tabs">
|
||||
<button class="category-tab active" onclick="filterCategory('all')">Tất cả</button>
|
||||
<button class="category-tab" onclick="filterCategory('trends')">Xu hướng</button>
|
||||
<button class="category-tab" onclick="filterCategory('technique')">Kỹ thuật</button>
|
||||
<button class="category-tab" onclick="filterCategory('pricing')">Bảng giá</button>
|
||||
<button class="category-tab" onclick="filterCategory('trends')">Tin tức</button>
|
||||
<button class="category-tab" onclick="filterCategory('technique')">Chuyên môn</button>
|
||||
<button class="category-tab" onclick="filterCategory('projects')">Dự án</button>
|
||||
<button class="category-tab" onclick="filterCategory('tips')">Mẹo hay</button>
|
||||
<button class="category-tab" onclick="filterCategory('tips')">Sự kiện</button>
|
||||
<button class="category-tab" onclick="filterCategory('tips')">Khuyến mãi</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -476,9 +469,33 @@
|
||||
Xem thêm tin tức
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bottom Navigation -->
|
||||
<div class="bottom-nav">
|
||||
<a href="index.html" class="nav-item">
|
||||
<i class="fas fa-home nav-icon"></i>
|
||||
<span class="nav-label">Trang chủ</span>
|
||||
</a>
|
||||
<a href="loyalty.html" class="nav-item">
|
||||
<i class="fas fa-crown nav-icon"></i>
|
||||
<span class="nav-label">Hội viên</span>
|
||||
</a>
|
||||
<a href="news-list.html" class="nav-item active">
|
||||
<i class="fas fa-newspaper nav-icon"></i>
|
||||
<span class="nav-label">Tin tức</span>
|
||||
</a>
|
||||
<a href="notifications.html" class="nav-item" style="position: relative">
|
||||
<i class="fas fa-bell nav-icon"></i>
|
||||
<span class="nav-label">Thông báo</span>
|
||||
<span class="badge">5</span>
|
||||
</a>
|
||||
<a href="account.html" class="nav-item">
|
||||
<i class="fas fa-user nav-icon"></i>
|
||||
<span class="nav-label">Cài đặt</span>
|
||||
</a>
|
||||
</div>
|
||||
<script>
|
||||
function goBack() {
|
||||
window.history.back();
|
||||
|
||||
Reference in New Issue
Block a user