DSW DAVIES MASK
|
|
-
Giao hàng
Giao hàng miễn phí khi mua qua website. Đơn hàng có giá trị từ 150.000.
CHƯƠNG TRÌNH ƯU ĐÃI
Miễn phí vận chuyển và đổi trả sản phẩm trên toàn quốc và nhiều ưu đãi hơn thế nữa.
Giảm thêm 5% cho khách hàng mua lần tiếp theo.
Giảm thêm 5% cho khách hàng mua lần tiếp theo.
\n
\n\n{HỖ TRỢ CÁC DAVIES FAN} Mask sẽ chỉ còn 20k/mỗi đơn hàng Mua hàng AN TOÀN hơn mà còn được tham gia FREESHIP tại https://davies.vn/khau-trang-mask-local-brand-davies
Người đăng: Davies streetwear vào Thứ Sáu, 27 tháng 3, 2020
\n
Trang bị ngay cho mình một vũ khí bảo vệ ngay nào.
\n------------
\nThông tin liên hệ:
\n@Davies.brand với sắc thái thời trang đa dạng trong thiết kế cho các bạn nữ.
\n@Davies.original khám phá và áp dụng mọi thứ dựa trên nguyên bản.
\n@Davies.lab phòng thí nghiệm trưng bày những mẫu thử LIMITED đắt giá
\nHotline : 089 9966116
\nFlagship Store: 159 Triệu Nữ Vương, Đà Nẵng.
","summary":"https://shopee.vn/universal-link/p-i.96065719.5721704391?utm_source=an_17171860000&utm_medium=affiliates&utm_campaign=&utm_content=sellerdaviesvn","template_layout":"product","available":false,"tags":["40000","balo local brand","các local brand cho nam","các local brand nổi tiếng ở việt nam","khẩu trang davies","khẩu trang local brand","khẩu trang đen streetwear","local brand","local brand dành cho nam","local brand dark wear","local brand davies","local brand giá rẻ","local brand là gì","local brand rẻ đẹp","local brand Sài Gòn","local brand streetwear việt nam","local brand vn","local brand đà nẵng","local brand đáng mua","mask local brand","mask màu đen davies","quần áo local brand","RAYMA","shop quần áo local brand","shop quần áo streetwear hà nội","street style nam","street style shop","streetwear","streetwear brand","streetwear là gì","streetwear nam","streetwear shop","streetwear vietnam","tổng hợp các local brand","top local brand vietnam","đồ streetwear"],"price":34000.0000,"price_min":34000.0000,"price_max":34000.0000,"price_varies":false,"compare_at_price":40000.0000,"compare_at_price_min":40000.0000,"compare_at_price_max":40000.0000,"compare_at_price_varies":false,"variants":[{"id":31487424,"barcode":"4012121","sku":"4012121","unit":null,"title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":false,"taxable":false,"price":34000.0000,"price_original":40000.0000,"compare_at_price":40000.0000,"compare_at_price_original":null,"inventory_management":"bizweb","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"g","weight":100,"requires_shipping":true,"image":{"src":"https://bizweb.dktcdn.net/100/287/440/products/mask-davies.jpg?v=1585316894680"}}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/287/440/products/mask-davies.jpg?v=1585316894680"},"images":[{"src":"https://bizweb.dktcdn.net/100/287/440/products/mask-davies.jpg?v=1585316894680"},{"src":"https://bizweb.dktcdn.net/100/287/440/products/dust.jpg?v=1585316912040"},{"src":"https://bizweb.dktcdn.net/100/287/440/products/103578879-3323144307709590-999921336188838059-o-jpg-nc-cat-103-nc-sid-730e14-nc-ohc-qciofxdxztsax-yh5uv-nc-ht-scontent-fdad3-1-fna-oh-37c5f973f028abca4106eb1120556000-oe-5f3f24bb.jpg?v=1595570831127"},{"src":"https://bizweb.dktcdn.net/100/287/440/products/101830574-3323144304376257-2579138352207447609-o-jpg-nc-cat-108-nc-sid-730e14-nc-ohc-jua5f2x1vucax-d3wym-nc-ht-scontent-fdad3-3-fna-oh-03da0dc67f021ec3f921440ed8ba38ba-oe-5f41a230.jpg?v=1595570844270"}],"options":["Title"],"created_on":"2020-03-26T09:10:22","modified_on":"2025-12-27T11:35:40","published_on":"2020-03-31T08:47:00"}][0]; var selectedVariant = { id: product.variants ? (product.variants.length > 0 ? product.variants[0].id : product.id) : product.id, images: product.images, price:product.price, compare_at_price:product.compare_at_price_max, available: product.variants ? (product.variants.length > 0 ? product.variants[0].available : product.available ) : product.available, mainImg:{ alt: product.name ? product.name : product.featured_image.alt, src: Bizweb.resizeImage(product.featured_image.src ,'original') } }; if(product.variants.length>0){ if(product.variants[0].inventory_quantity > 0 || (product.variants[0].inventory_quantity<=0 && product.variants[0].inventory_policy=='continue')) { selectedVariant.available = true; } else{ selectedVariant.available = false; } selectedVariant.price = product.variants[0].price; } //init img selected variants function _initImages() { var _newImgs = []; // Lặp qua tất cả hình ảnh mà không cần lọc theo phiên bản for(var i = 0; i < product.images.length; i++) { var _img = product.images[i]; _img.src = Bizweb.resizeImage(_img.src ,'original'); _newImgs.push(_img); } if(_newImgs.length > 0) { selectedVariant.images = _newImgs; // Đổi hình ảnh chính selectedVariant.mainImg.src = _newImgs[0].src; var newUrl = _newImgs[0].src; // Khởi động lại zoom setTimeout(function(){ if($(window).width() > 768) { $('.zoomContainer').remove(); // Xóa zoom container khỏi DOM $("#main-img").removeData('elevateZoom'); $("#main-img").removeData('zoomImage'); $("#main-img").attr('data-zoom-image',newUrl); $("#main-img").elevateZoom(); } }, 1000); } } _initImages(); localProduct.save(product); function _initOptions() { var options = []; // {name: '',values:[],selectedValue: ''} var productOptions = product.options; var productVariants = product.variants; if(productOptions && productVariants ) { for(var i = 0;i < productOptions.length; i++) { var option = {name:productOptions[i],values:[],selectedValue:'' }; for(var j = 0; j < productVariants.length; j++) { var variantAtJ = productVariants[j]; if(variantAtJ.options && variantAtJ.options.length > i) { if(option.values.indexOf(variantAtJ.options[i].toString().toLowerCase())<0) { option.values.push(variantAtJ.options[i].toString().toLowerCase()); } } } if(option.values.length > 0) { option.selectedValue = option.values[0]; } options.push(option); } } //console.log(JSON.stringify(options)); return options; } var options = _initOptions(); function _initColorSchema() { var _colorSchemas = {}; $('#color-schema > li').each(function () { _colorSchemas[$(this).data('title')] = $(this).data('hex'); }); return _colorSchemas; } var colorSchema = _initColorSchema(); var app = new Vue({ el: '#ega-product-app', delimiters: ["[[","]]"], data: { product: product, selectedVariant:selectedVariant, qty:1, options:options, colorSchema:colorSchema, imageCurrentIndex:0 }, watch:{ }, methods:{ changeMainImg: function (event) { console.log(product); debugger; if( $(event.target).attr('src')) { this.selectedVariant.mainImg.src = $(event.target).attr('src'); var newUrl = $(event.target).attr('src'); this.imageCurrentIndex = parseInt( $(event.target).attr('index')); //reinit zoom setTimeout(function(){ if($(window).width() > 768) { $('.zoomContainer').remove();// remove zoom container from DOM $("#main-img").removeData('elevateZoom'); $("#main-img").removeData('zoomImage'); $("#main-img").attr('data-zoom-image',newUrl); $("#main-img").elevateZoom(); } },1000); } }, hideFixedSliderImg:function () { $(".ega-top-img-slider").hide(); }, showFixedSliderImg:function () { if($(window).width()>899) { $(".ega-top-img-slider").show(); } }, changeIndexImgSlider:function (asc) { if(asc) { this.imageCurrentIndex++; } else{ this.imageCurrentIndex--; } if(this.imageCurrentIndex<0) { this.imageCurrentIndex = 0; } if(this.imageCurrentIndex > this.selectedVariant.images.length-1) { this.imageCurrentIndex = this.selectedVariant.images.length-1; } }, changeQty: function (asc) { if(asc == true) { this.qty++; } else{ this.qty--; } if(this.qty <= 0) { this.qty = 1; } }, onQtyChange:function () { this.qty = parseInt(this.qty); if(isNaN(this.qty)){ this.qty = 1; } if(this.qty <= 0) { this.qty = 1; } }, selectVariant:function (index,value) { for(var i = 0; i < this.options.length;i++) { if(i == index) { this.options[i].selectedValue = value; break; } } var maxScore = 0; var selectedVariantIndex = 0; for(var i = 0; i < this.product.variants.length; i++) { var _variantAtI = this.product.variants[i]; var _score = 0; for(var j = 0; j < this.options.length;j++) { if(_variantAtI.options[j].toString().toLowerCase() == this.options[j].selectedValue) { _score++; } } if(_score > maxScore) { maxScore = _score; selectedVariantIndex = i; } } //variant id this.selectedVariant.id = this.product.variants[selectedVariantIndex].id; //price this.selectedVariant.price = this.product.variants[selectedVariantIndex].price; //available this.selectedVariant.available = this.product.variants[selectedVariantIndex].available; if(this.product.variants[selectedVariantIndex].inventory_quantity > 0 || (this.product.variants[selectedVariantIndex].inventory_quantity<=0 && this.product.variants[selectedVariantIndex].inventory_policy=='continue')) { if(this.selectedVariant.available ) { this.selectedVariant.available = true; } } else{ this.selectedVariant.available = false; } this.selectedVariant.compare_at_price = this.product.variants[selectedVariantIndex].compare_at_price; if(maxScore");
}
}
},
computed:{
__price_usd: function () {
if(this.selectedVariant.price) {
return "$" + (this.selectedVariant.price / 25400).toFixed(2) + " USD";
}
return "";
},
__price_thb: function () {
if(this.selectedVariant.price) {
return "฿" + (this.selectedVariant.price / 720).toFixed(2) + " THB";
}
return "";
},
__price_cny: function () {
if(this.selectedVariant.price) {
return "¥" + (this.selectedVariant.price / 3500).toFixed(2) + " CNY";
}
return "";
},
__price: function () {
if(this.selectedVariant.price)
{
return Bizweb.formatMoney( this.selectedVariant.price , "{{amount_no_decimals_with_comma_separator}}₫");
}
return "Liên hệ";
},
__comparePrice: function () {
if(this.selectedVariant.price
&& this.selectedVariant.compare_at_price
&& this.selectedVariant.compare_at_price > this.selectedVariant.price)
{
return Bizweb.formatMoney( this.selectedVariant.compare_at_price , "{{amount_no_decimals_with_comma_separator}}₫");
}
return "";
},
__available: function () {
if(this.selectedVariant.available )
{
return "CÒN HÀNG";
}
return "HẾT HÀNG";
},
__imageSliderText:function () {
return (this.imageCurrentIndex + 1 ) + '/' + selectedVariant.images.length;
}
},
mounted: function () {
this.initCarousel();
var self = this;
$(document).on('click','img.ega-product-img',function () {
$('.ega-product-img').removeClass('selected-thumb');
$(this).addClass('selected-thumb');
$(this)[0].scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' });
console.log(JSON.stringify(product))
self.selectedVariant.mainImg.src = $(this).attr('src');
var newUrl = $(this).attr('src');
self.imageCurrentIndex = parseInt( $(this).attr('index'));
//reinit zoom
setTimeout(function(){
if($(window).width() > 768)
{
$('.zoomContainer').remove();// remove zoom container from DOM
$("#main-img").removeData('elevateZoom');
$("#main-img").removeData('zoomImage');
$("#main-img").attr('data-zoom-image',newUrl);
$("#main-img").elevateZoom();
}
},1000);
});
// Swipe support for main image
var touchstartX = 0;
var touchendX = 0;
var imageWrapper = document.querySelector('.main-img-wrapper');
if (imageWrapper) {
imageWrapper.addEventListener('touchstart', function(e) {
touchstartX = e.changedTouches[0].screenX;
}, {passive: true});
imageWrapper.addEventListener('touchend', function(e) {
touchendX = e.changedTouches[0].screenX;
var swipeThreshold = 50;
if (touchendX < touchstartX - swipeThreshold) {
var nextIndex = self.imageCurrentIndex + 1;
if (nextIndex < self.selectedVariant.images.length) {
$('.ega-product-img[index="' + nextIndex + '"]').click();
}
}
if (touchendX > touchstartX + swipeThreshold) {
var prevIndex = self.imageCurrentIndex - 1;
if (prevIndex >= 0) {
$('.ega-product-img[index="' + prevIndex + '"]').click();
}
}
}, {passive: true});
}
if(product.variants.length > 0)
{
var id = product.variants[0].id;
var variantImg = '';
for(var i = 0; i < product.images.length;i++)
{
var _img = product.images[i];
if(_img.variant_ids && _img.variant_ids.indexOf(id) > -1)
{
if(variantImg==='')
{
variantImg = _img.src;
}
}
}
if(variantImg)
{
//change main img
this.selectedVariant.mainImg.src = variantImg;
setTimeout(function(){
if($(window).width() > 768)
{
$('.zoomContainer').remove();// remove zoom container from DOM
$("#main-img").removeData('elevateZoom');
$("#main-img").removeData('zoomImage');
$("#main-img").attr('data-zoom-image',variantImg);
$("#main-img").elevateZoom();
}
},1000);
}
}
}
});
if($(window).width() > 768){
$("#main-img").elevateZoom();
}
$(document).on('keyup','.ega-qty-control input[name="quantity"]',function(){
var v = $(this).val();
if( Math.floor(v) == v && $.isNumeric(v))
{
}
else{
$(this).val(1);
}
});
$(".ega-show-after").show();
var appQuickAdd = new Vue(
{
el:'#quick-add-div-vue',
delimiters: ["[[","]]"],
data:{
qty:1
},
methods:{
changeQty: function (asc) {
if(asc == true)
{
this.qty++;
}
else{
this.qty--;
}
if(this.qty <= 0)
{
this.qty = 1;
}
}
},
computed:{
__price: function () {
if(app.selectedVariant.price)
{
return Bizweb.formatMoney( app.selectedVariant.price , "{{amount_no_decimals_with_comma_separator}}₫");
}
return "Liên hệ";
},
__total:function () {
if(app.selectedVariant.price)
{
return Bizweb.formatMoney( app.selectedVariant.price*this.qty , "{{amount_no_decimals_with_comma_separator}}₫");
}
return "Liên hệ";
},
__available:function () {
return app.selectedVariant.available && app.selectedVariant.price > 0;
},
__id:function () {
return app.selectedVariant.id;
}
}
}
);
$(document).on('keyup','.ega-pr-page-qty-bottom input[name="quantity"]',function(){
var v = $(this).val();
if( Math.floor(v) == v && $.isNumeric(v))
{
}
else{
$(this).val(1);
appQuickAdd.qty = 1;
}
});
});