mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-05 03:36:39 +08:00
commit
777c4877e7
@ -1,7 +1,7 @@
|
|||||||
.container{
|
.container{
|
||||||
min-height:100vh;
|
min-height:100vh;
|
||||||
height:100%;
|
height:100%;
|
||||||
background-color:#f6f6f6;
|
background-color:#fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@ -22,6 +22,7 @@
|
|||||||
@media screen and (max-width:768px) {
|
@media screen and (max-width:768px) {
|
||||||
.ts-max-width--460{
|
.ts-max-width--460{
|
||||||
padding:4.375rem 1.25rem;
|
padding:4.375rem 1.25rem;
|
||||||
|
box-shadow: unset;
|
||||||
}
|
}
|
||||||
.rc-column *{
|
.rc-column *{
|
||||||
font-size:.875rem;
|
font-size:.875rem;
|
||||||
|
@ -41,6 +41,7 @@ export default {
|
|||||||
props:["defaultValues"],
|
props:["defaultValues"],
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
|
animationTimer:undefined,
|
||||||
displayValue:"",
|
displayValue:"",
|
||||||
returnValue:"",
|
returnValue:"",
|
||||||
returnValueArr:[],
|
returnValueArr:[],
|
||||||
@ -158,7 +159,7 @@ export default {
|
|||||||
if(obj.id.indexOf(provinceId)<0)
|
if(obj.id.indexOf(provinceId)<0)
|
||||||
{
|
{
|
||||||
console.log('500 : error via checking validatePickedValues');
|
console.log('500 : error via checking validatePickedValues');
|
||||||
_self.returnValueArr[index]={};
|
_self.returnValueArr.splice(index,1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -172,7 +173,7 @@ export default {
|
|||||||
if(areaId && obj.id.indexOf(areaId)<0)
|
if(areaId && obj.id.indexOf(areaId)<0)
|
||||||
{
|
{
|
||||||
console.log('501 : error via checking validatePickedValues');
|
console.log('501 : error via checking validatePickedValues');
|
||||||
_self.returnValueArr[index]={};
|
_self.returnValueArr.splice(index,1);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
validatedIndex=index;
|
validatedIndex=index;
|
||||||
@ -230,9 +231,15 @@ export default {
|
|||||||
//TODO show warning here
|
//TODO show warning here
|
||||||
let errorEle=document.querySelector(".ts-area-picker-values");
|
let errorEle=document.querySelector(".ts-area-picker-values");
|
||||||
errorEle.classList.add("error");
|
errorEle.classList.add("error");
|
||||||
setTimeout(function(){
|
let _self = this;
|
||||||
errorEle.classList.remove("error");
|
if(!this.animationTimer)
|
||||||
},2000);
|
{
|
||||||
|
this.animationTimer = setTimeout(function(){
|
||||||
|
errorEle.classList.remove("error");
|
||||||
|
clearTimeout(_self.animationTimer);
|
||||||
|
_self.animationTimer=undefined;
|
||||||
|
},2000);
|
||||||
|
}
|
||||||
tabIndex=lastValidatedTabIndex+1;
|
tabIndex=lastValidatedTabIndex+1;
|
||||||
}
|
}
|
||||||
this.curDisplayingColIndex=tabIndex;
|
this.curDisplayingColIndex=tabIndex;
|
||||||
@ -304,6 +311,23 @@ export default {
|
|||||||
.ts-area-picker-values{
|
.ts-area-picker-values{
|
||||||
width:100%;
|
width:100%;
|
||||||
height:100%;
|
height:100%;
|
||||||
|
&.error{
|
||||||
|
position:relative;
|
||||||
|
width:100%;
|
||||||
|
height:78%;
|
||||||
|
&:after{
|
||||||
|
content: " ";
|
||||||
|
position:absolute;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
animation-name: flash-error;
|
||||||
|
animation-iteration-count: 2;
|
||||||
|
animation-duration: .5s;
|
||||||
|
animation-direction: forwards;
|
||||||
|
}
|
||||||
|
}
|
||||||
ul{
|
ul{
|
||||||
padding:1rem 2.5rem 2rem 2.5rem;
|
padding:1rem 2.5rem 2rem 2.5rem;
|
||||||
margin:0;
|
margin:0;
|
||||||
@ -396,10 +420,12 @@ export default {
|
|||||||
@keyframes flash-error
|
@keyframes flash-error
|
||||||
{
|
{
|
||||||
from {
|
from {
|
||||||
opacity:.6;
|
opacity:0;
|
||||||
|
background-color:#fff;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
opacity:.3;
|
opacity:.3;
|
||||||
|
background-color:#E2001A;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -4,10 +4,10 @@ export default {
|
|||||||
|
|
||||||
// Global page headers: https://go.nuxtjs.dev/config-head
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
||||||
head: {
|
head: {
|
||||||
title: 'rc-busness',
|
title: '皇家官方商城',
|
||||||
|
|
||||||
htmlAttrs: {
|
htmlAttrs: {
|
||||||
lang: 'en',
|
lang: 'zh-cn',
|
||||||
},
|
},
|
||||||
script: [
|
script: [
|
||||||
//{ src: '/js/rem.js' },
|
//{ src: '/js/rem.js' },
|
||||||
|
@ -1067,7 +1067,8 @@
|
|||||||
spaceBetween: 0,
|
spaceBetween: 0,
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
pagination: {
|
pagination: {
|
||||||
el: '#homeBannerSwiperPagnation'
|
el: '#homeBannerSwiperPagnation',
|
||||||
|
clickable:true
|
||||||
},
|
},
|
||||||
paginationClickable: true,
|
paginationClickable: true,
|
||||||
loopAdditionalSlides: 100,
|
loopAdditionalSlides: 100,
|
||||||
@ -1094,6 +1095,7 @@
|
|||||||
loopAdditionalSlides: 100,
|
loopAdditionalSlides: 100,
|
||||||
pagination: {
|
pagination: {
|
||||||
el: '#catStarSwiperPagnation',
|
el: '#catStarSwiperPagnation',
|
||||||
|
clickable:true
|
||||||
},
|
},
|
||||||
navigation: {
|
navigation: {
|
||||||
nextEl: '.swiper-button-next',
|
nextEl: '.swiper-button-next',
|
||||||
@ -1117,6 +1119,7 @@
|
|||||||
loopAdditionalSlides: 100,
|
loopAdditionalSlides: 100,
|
||||||
pagination: {
|
pagination: {
|
||||||
el: '#dogStarSwiperPagnation',
|
el: '#dogStarSwiperPagnation',
|
||||||
|
clickable:true
|
||||||
},
|
},
|
||||||
navigation: {
|
navigation: {
|
||||||
nextEl: '.swiper-button-next',
|
nextEl: '.swiper-button-next',
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="rc-layout-container rc-two-column rc-button">
|
<div class="rc-layout-container rc-two-column rc-button">
|
||||||
<div class="rc-column rc-text--left">
|
<div class="rc-column rc-text--left">
|
||||||
<a href="#" class="rc-styled-link"><span>隐私政策</span></a>
|
<a href="https://royalcanin.com.cn/privacy" target="_blank" class="rc-styled-link"><span>隐私政策</span></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="rc-column rc-text--right">
|
<div class="rc-column rc-text--right">
|
||||||
<nuxt-link :to="`/userlogin/login/`" class="rc-styled-link">
|
<nuxt-link :to="`/userlogin/login/`" class="rc-styled-link">
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="rc-layout-container rc-two-column rc-button">
|
<div class="rc-layout-container rc-two-column rc-button">
|
||||||
<div class="rc-column rc-text--left">
|
<div class="rc-column rc-text--left">
|
||||||
<a href="#" class="rc-styled-link"><span>隐私政策</span></a>
|
<a href="https://royalcanin.com.cn/privacy" target="_blank" class="rc-styled-link"><span>隐私政策</span></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="rc-column rc-text--right">
|
<div class="rc-column rc-text--right">
|
||||||
<nuxt-link :to="`/userlogin/edit/`" class="rc-styled-link">
|
<nuxt-link :to="`/userlogin/edit/`" class="rc-styled-link">
|
||||||
|
Loading…
Reference in New Issue
Block a user