Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
v2rayng-vpn committed Feb 3, 2024
1 parent b67c760 commit 3f606fb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ <h2>منو</h2>
var size = Number(document.getElementById('size').value);
var price;
if (productType === 'A') {
price = 450000000;
price = 131000;

} else if (productType === 'B') {
price *= 10000;
price *= 291000;
}
quantity=Number(document.getElementById('quantity').value) *price;

size = Number(document.getElementById('size').value) * 12000;
size = Number(document.getElementById('size').value) * 40000;
let c="t";
price = quantity + size;
document.getElementById('price').innerHTML= price + " تومان";
Expand Down Expand Up @@ -351,10 +351,8 @@ <h1>خرید فیلتر شکن V2ryaNG | خرید اشتراک NapsterneTV</h1>
<div class="container">
<label for="productType">نوع محصول:</label>
<select id="productType">
<option value="A">دستگاه بسته بندی</option>
<option value="B">محصول B</option>
<option value="B">محصول B</option>
<option value="B">محصول B</option>
<option value="A">اشتراک 1 ماهه</option>
<option value="B">اشتراک 3 ماهه</option>
</select>
</div>

Expand All @@ -364,7 +362,7 @@ <h1>خرید فیلتر شکن V2ryaNG | خرید اشتراک NapsterneTV</h1>
</div>

<div class="container">
<label for="size">سایز:</label>
<label for="size">تعداد کاربر:</label>
<input type="number" id="size" min="1" value="1">
</div>

Expand Down

0 comments on commit 3f606fb

Please sign in to comment.