1403/06/11-changes Armaghan Gold
|
|
@ -81,8 +81,8 @@ Version: 1.0.0
|
|||
*/
|
||||
|
||||
:root {
|
||||
--primary-color:#1c2d56;
|
||||
--secondary-color:#836447 ;
|
||||
--primary-color:#000;
|
||||
--secondary-color:#d4a851 ;
|
||||
}
|
||||
|
||||
body{
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 246 KiB |
|
After Width: | Height: | Size: 255 KiB |
|
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 168 KiB |
|
|
@ -82,7 +82,7 @@ export default {
|
|||
},
|
||||
methods:{
|
||||
link(product){
|
||||
return `https://henzagold.shop/product/${product.title.split(' ').join('-')}/${product.id}`;
|
||||
return `${this.$store.state.config.url}/product/${product.title.split(' ').join('-')}/${product.id}`;
|
||||
},
|
||||
variant(cartItem)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<img src="@/assets/images/henza.svg" alt="هنزاگلد" :width="width" :height="height">
|
||||
<img src="@/assets/images/henza.svg" alt="ارمغان گلد" :width="width" :height="height">
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div class="col-lg-2 col-5 text-left" >
|
||||
<!-- Logo -->
|
||||
<a class="navbar-brand" href="https://henzagold.shop">
|
||||
<a class="navbar-brand" :href="this.$store.state.config.url">
|
||||
<logo width="220px"/>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<ul class="navbar-nav">
|
||||
<!-- Pages Start -->
|
||||
<li class="menu-item">
|
||||
<a href="https://henzagold.shop/">بازگشت به فروشگاه</a>
|
||||
<a :href="this.$store.state.config.url">بازگشت به فروشگاه</a>
|
||||
</li>
|
||||
<!-- <li class="menu-item menu-item-has-children" v-for="(item, index) in menu" :key="index">-->
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<div class="aside-title header-sidebar" v-if="Mobile">
|
||||
<div class="aside-controls">
|
||||
<router-link tag="div" to="/" class="vx-logo cursor-pointer flex items-center">
|
||||
<h4>هنزاگلد</h4>
|
||||
<h4>ارمغان گلد</h4>
|
||||
</router-link>
|
||||
<div @click="toggleMenu" class="close-btn close-dark">
|
||||
<span></span>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<div :class="(Mobile)?'aside-scroll' : ''">
|
||||
<ul>
|
||||
<li @click="toggleMenu" v-if="Mobile">
|
||||
<a href="https://henzagold.shop/"
|
||||
<a :href="this.$store.state.config.url"
|
||||
class="nav-link flex items-center">
|
||||
<span class="feather-icon select-none relative w-5 h-5 rtl:ml-3 ltr:mr-3 grow-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<!-- Preloader Start -->
|
||||
<div class="acr-preloader" id="loading-bg">
|
||||
<img src="@/assets/images/henza.svg" alt="هنزاگلد" width="170px" height="120px">
|
||||
<img src="@/assets/images/henza.svg" alt="ارمغان گلد" width="170px" height="120px">
|
||||
<div class="acr-preloader-inner">
|
||||
<div class="lds-grid" >
|
||||
<div ></div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div style="display: block" class="modal quick-view-modal" :class="m?'fade-in show':'fade'" role="dialog">
|
||||
<div v-if="m" style="display: flex" class="modal quick-view-modal" :class="m?'fade-in show':'fade'" role="dialog">
|
||||
|
||||
<div class="vs-sidebar--background" @click="m=false"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -130,5 +130,5 @@ Vue.filter('tomanPriceUnit', (val) => {
|
|||
})
|
||||
|
||||
Vue.filter('url', function (item) {
|
||||
return `https://henzagold.shop/product/${item.title.split(' ').join('-')}/${item.id}`;
|
||||
return `${this.$store.state.config.url}/product/${item.title.split(' ').join('-')}/${item.id}`;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const routes = [
|
|||
redirect: '/my-orders' ,
|
||||
component: () => import('../components/layouts/panel.vue'),
|
||||
// meta:{
|
||||
// pageTitle: 'طلای هنزا گلد',
|
||||
// pageTitle: 'طلای ارمغان گلد',
|
||||
// },
|
||||
children: [
|
||||
{
|
||||
|
|
@ -78,7 +78,7 @@ const router = new VueRouter({
|
|||
// Remove initial loading
|
||||
togglePreLoader('close')
|
||||
// Vue.nextTick(() => {
|
||||
// document.title = to.meta.pageTitle || 'طلای هنزا گلد';
|
||||
// document.title = to.meta.pageTitle || 'طلای ارمغان گلد';
|
||||
// });
|
||||
})*/
|
||||
const noneath = ["/login","/register","/error-404"]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export default {
|
|||
state: {
|
||||
menu:[],
|
||||
price:{},
|
||||
url:window.location.origin=='http://localhost:8080'?'https://henzagold.shop':window.location.origin,
|
||||
},
|
||||
actions: {
|
||||
init({commit}, e) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
</div>
|
||||
</td>
|
||||
<td data-title='محصول ' class="toltip">
|
||||
<a :href="`https://henzagold.shop/product/${item.product.title.split(' ').join('-')}/${item.pid}`"
|
||||
<a :href="`${this?.$store?.state?.config.url}/product/${item.product.title.split(' ').join('-')}/${item.pid}`"
|
||||
target="_blank">
|
||||
<span class="toltiptext" v-if="getVariant(Items[index]).is_pre_order"> این محصول به صورت پیش فروش است </span>
|
||||
<div class="product-box">
|
||||
|
|
@ -219,7 +219,7 @@
|
|||
</template>
|
||||
</modal>
|
||||
</div>
|
||||
<h2 class="text-center" style="margin-top: 50px;" v-if="!$store.state.cart.items ||($store.state.cart.items && $store.state.cart.items.length<1)">هیچ محصولی در سبد خرید ندارید</h2>
|
||||
<h2 class="text-center" style="margin-top: 50px;" v-if="!$store?.state?.cart?.items ||($store?.state?.cart?.items && $store?.state?.cart?.items.length<1)">هیچ محصولی در سبد خرید ندارید</h2>
|
||||
<modal :maxWidth="'500px'" v-model="endModel" @close="$router.push('/my-orders')">
|
||||
<template v-slot:header>
|
||||
سفارش با موفقیت ثبت شد
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<login>
|
||||
<form>
|
||||
<div class="auth-text">
|
||||
<h3>به هنزاگلد خوش آمدید</h3>
|
||||
<h3>به ارمغان گلد خوش آمدید</h3>
|
||||
<!-- <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's</p> -->
|
||||
</div>
|
||||
<!--start send phone -->
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
<!--end send token -->
|
||||
<div class="social-login">
|
||||
<a href="https://henzagold.shop/" class="btn-custom secondary btn-block">
|
||||
<a :href="this.$store.state.config.url" class="btn-custom secondary btn-block">
|
||||
بازگشت به فروشگاه
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr class="product" v-for="(Item,Index) in Orders" :key="Index">
|
||||
<td class="center" data-title='کد سفارش '>{{Orders[Index].id}}</td>
|
||||
<td class="center" data-title='کد سفارش '>{{Orders[Index]?.id}}</td>
|
||||
<td class="center" data-title='تاریخ سفارش '>{{Orders[Index].caj}}</td>
|
||||
<td class="center" data-title='وضعیت سفارش '>
|
||||
<span>
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
@pagechanged="onPageChange" />
|
||||
<modal v-model="model">
|
||||
<template v-slot:header>
|
||||
جزییات سفارش شماره {{Orders[Order_Index].id}}
|
||||
جزییات سفارش شماره {{Orders[Order_Index]?.id}}
|
||||
</template>
|
||||
<template v-slot:body>
|
||||
<div class="vs-popup--content popup-example">
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<div class="text-right mb-4 w-1/3">
|
||||
<div class="title">شماره سفارش</div>
|
||||
<div class="value">
|
||||
{{Orders[Order_Index].id}}
|
||||
{{Orders[Order_Index]?.id}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right mb-4 w-1/3">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<login>
|
||||
<form>
|
||||
<div class="auth-text">
|
||||
<h3>به هنزاگلد خوش آمدید</h3>
|
||||
<h3>به ارمغان گلد خوش آمدید</h3>
|
||||
<!-- <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's</p> -->
|
||||
</div>
|
||||
<!--start send phone -->
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
<!--end send phone -->
|
||||
<div class="social-login">
|
||||
<a href="https://henzagold.shop/" class="btn-custom secondary btn-block">
|
||||
<a :href="this.$store.state.config.url" class="btn-custom secondary btn-block">
|
||||
بازگشت به فروشگاه
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<div :class="{'col-xl-4 col-lg-6 col-md-6 col-sm-6': Style == 'grid', 'col-md-12': Style == 'row'}" v-for="(item,index) in list" :key="index">
|
||||
<div v-if="item.product" class="product" :class="{'product-list': Style == 'row'}">
|
||||
<div class="product-thumbnail" style="text-align: center;">
|
||||
<a target="_blank" :href="`https://henzagold.shop/product/${item.product.title.split(' ').join('-')}/${item.product.id}`">
|
||||
<a target="_blank" :href="`${this.$store.state.config.url}/product/${item.product.title.split(' ').join('-')}/${item.product.id}`">
|
||||
<img :src="list[index].product.image.image" alt="product" style="width: 190px;height: 190px;object-fit: scale-down">
|
||||
</a>
|
||||
<!-- <div class="product-badges">
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
<div class="product-body" :class="{'center': Style == 'grid'}">
|
||||
<div class="row">
|
||||
<h5 class="product-title col-lg-12 col-xs-12" style="display:inline-block;">
|
||||
<a :href="`https://henzagold.shop/product/${item.product.title.split(' ').join('-')}/${item.product.id}`" target="_blank" :title="item.product.title">{{ list[index].product.title }}</a>
|
||||
<a :href="`${this.$store.state.config.url}/product/${item.product.title.split(' ').join('-')}/${item.product.id}`" target="_blank" :title="item.product.title">{{ list[index].product.title }}</a>
|
||||
</h5>
|
||||
</div>
|
||||
<!-- <div class="row">
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@
|
|||
class="tr-values vs-table--tr tr-table-state-null">
|
||||
<td class="td vs-table--td">
|
||||
<span>
|
||||
{{ item.id }}
|
||||
{{ item?.id }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="td vs-table--td" :class="{'text-danger' : item.value < 0,'text-success' : item.value > 0,}">
|
||||
|
|
@ -247,13 +247,13 @@
|
|||
<modal v-model="walletItemModel">
|
||||
<template #header>
|
||||
جزئیات تراکنش
|
||||
{{walletItem.id}}
|
||||
{{walletItem?.id}}
|
||||
</template>
|
||||
<template #body>
|
||||
<div class="row overflow-auto">
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">شماره تراکنش</div>
|
||||
<div class="value">{{ walletItem.id }}</div>
|
||||
<div class="value">{{ walletItem?.id }}</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">میزان تراکنش</div>
|
||||
|
|
@ -270,23 +270,23 @@
|
|||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">تاریخ انقضا</div>
|
||||
<div class="value">{{ walletItem.expire_at | jdate | empty}}</div>
|
||||
<div class="value">{{ walletItem?.expire_at | jdate | empty}}</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">یادداشت</div>
|
||||
<div class="value">{{ walletItem.note}}</div>
|
||||
<div class="value">{{ walletItem?.note}}</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">شماره سفارش</div>
|
||||
<div class="value">{{ walletItem.order.id || '-'}}</div>
|
||||
<div class="value">{{ walletItem.order?.id || '-'}}</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">تاریخ ثبت سفارش</div>
|
||||
<div class="value">{{ walletItem.order.caj || '-'}}</div>
|
||||
<div class="value">{{ walletItem.order?.caj || '-'}}</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-4 mb-2 mb-4">
|
||||
<div class="title">وضعیت سفارش</div>
|
||||
<div class="value">{{ walletItem.order.sts_str || '-'}}</div>
|
||||
<div class="value">{{ walletItem.order?.sts_str || '-'}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ module.exports = {
|
|||
filename: 'index.html',
|
||||
// when using title option,
|
||||
// template title tag needs to be <title><%= htmlWebpackPlugin.options.title %></title>
|
||||
title: 'طلای هنزا گلد',
|
||||
title: 'طلای ارمغان گلد',
|
||||
// chunks to include on this page, by default includes
|
||||
// extracted common chunks and vendor chunks.
|
||||
chunks: ['chunk-vendors', 'chunk-common', 'index']
|
||||
|
|
|
|||