temp version for index patch

This commit is contained in:
Vion
2022-01-11 11:57:54 +08:00
parent 1d659446ae
commit 016080859d
118 changed files with 7867 additions and 432 deletions

View File

@@ -9,40 +9,6 @@ img, picture {
max-width: 100%;
height: auto;
}
.ts-hover-show {
display: none;
}
.ts-wechat--xs .ts-hover-show {
position: absolute;
top: 32px;
left: 0;
opacity: 0;
width: 112px;
padding: .5rem;
}
.ts-wechat--xs .ts-hover-show img {
margin: 0 auto;
}
.ts-wechat--xs:hover .ts-hover-show {
display: block;
color: #666;
-webkit-animation: fadeIn .3s ease forwards;
animation: fadeIn .3s ease forwards;
}
.rc-max-width--xl {
max-width: 1400px;
}
.rc-max-width--xl {
max-width: 1400px;
margin: 0 auto;
}
.rc-full-width {
width: 100%;
}
.rc-content-block__wrapper, .rc-max-width--lg, .rc-max-width--md, .rc-max-width--sm, .rc-max-width--xl, .rc-max-width--xxl {
margin-left: auto!important;
margin-right: auto!important;
}
.rc-main {
padding:0 1.25rem;
box-sizing:border-box;
@@ -51,23 +17,6 @@ img, picture {
.ts-remove {
text-decoration: line-through;
}
.rc-icon.ts-wechat--xs:after {
width: 24px;
background-image: unset;
mask: url("../image/wechat.svg") no-repeat center center;
-webkit-mask: url("../image/wechat.svg") no-repeat center center;
background-color: #666;
}
.rc-icon--xs.rc-pin--xs.rc-pin--xs:after, .rc-icon.rc-pin--xs.rc-pin--xs:after {
background-position: 81.82% 57.14%;
}
.rc-icon--xs.rc-search--xs.rc-search--xs:after, .rc-icon.rc-search--xs.rc-search--xs:after {
background-position: 81.82% 85.71%;
}
.rc-icon--xs.rc-menu--xs.rc-menu--xs:after, .rc-icon.rc-menu--xs.rc-menu--xs:after {
background-position: 72.73% 0;
}
.ts-product-list{
li{
img{
@@ -135,363 +84,6 @@ img, picture {
/*Body end*/
/* 头部 */
header.rc-header .rc-header__nav ul {
margin: 0;
padding: 0;
}
.rc-header {
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 59;
-webkit-box-shadow: 0 2px 4px #f1f1f1;
box-shadow: 0 2px 4px #f1f1f1;
}
header.rc-header button {
background-color: transparent;
}
.rc-header__right {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.rc-header__nav {
background-color: #fff;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
width: 100%;
z-index: 59;
background: #fff;
-webkit-transition: -webkit-transform .2s ease;
transition: -webkit-transform .2s ease;
transition: transform .2s ease;
transition: transform .2s ease,-webkit-transform .2s ease;
}
header.rc-header .rc-header__nav ul {
margin: 0;
padding: 0;
}
.rc-header__nav--primary {
height: 4.167rem;
}
.rc-header__center {
align-self: center;
justify-content: center;
}
.rc-list, .rc-wysiwyg ol, .rc-wysiwyg ul {
font-size: 1em;
margin: 0;
list-style-position: outside;
}
.rc-list--inline {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.rc-list--inline .list__item, .rc-list--inline .rc-list__item {
display: inline-block;
}
.rc-list__item, .rc-wysiwyg ol>li, .rc-wysiwyg ul>li {
line-height: 1.5;
position: relative;
}
.rc-list__item:last-child, .rc-wysiwyg ol>li:last-child, .rc-wysiwyg ul>li:last-child {
margin-bottom: 0;
}
.rc-list--inline[role=menubar], .rc-list--inline[role=tablist] {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.rc-list__item, .rc-wysiwyg ol>li, .rc-wysiwyg ul>li {
line-height: 1.5;
position: relative;
}
.rc-list--align {
padding: 0;
margin-left: 0;
list-style-position: outside;
}
.rc-list--blank {
list-style-type: none;
}
.rc-header__brand {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
padding: 16px;
height: 100%;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
text-align: center;
display: inline-block;
}
.rc-btn--icon, .rc-btn--icon--xs, .rc-input__submit--search {
overflow: visible;
width: auto;
}
.rc-btn--icon {
background-color: transparent;
color: #666;
border-color: transparent;
}
[role=menubar] .rc-btn {
margin-left: 0;
margin-right: 8px;
}
header.rc-header .rc-header__nav ul {
margin: 0;
padding: 0;
}
header.rc-header .rc-header__nav a.rc-header__brand {
padding: 15px 0 0;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
margin-top: 0;
}
.rc-screen-reader-text, .screen-reader-text {
clip: rect(1px,1px,1px,1px);
position: absolute!important;
height: 1px;
width: 1px;
overflow: hidden;
}
.rc-top{
position: relative;
}
.rc-icon.ts-weibo--xs:after {
width: 24px;
background-image: unset;
mask: url("../image/weibo.svg") no-repeat center center;
-webkit-mask: url("../image/weibo.svg") no-repeat center center;
background-color: #666;
}
.rc-icon[class*="--xs"]:after {
width: 24px;
}
.rc-icon.iconography:after, .rc-icon.rc-iconography:after {
background-image: url("../image/royal-canin.sprite--iconography.svg?v=8-10-0");
}
.rc-icon[class*="--xs"].iconography:after, .rc-icon[class*="--xs"].rc-iconography:after {
background-image: url("../image/royal-canin.sprite--iconography--xs.svg?v=8-10-0");
width: 24px;
}
.rc-btn--action:after, .rc-btn--icon--xs:after, .rc-btn--icon:after, .rc-center-align, .rc-input__submit--micro:after, .rc-input__submit--search:after, .rc-modal__logo, .rc-page-header .rc-logo-wrapper {
position: absolute!important;
top: 50%;
left: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
.rc-alert .alert__close:after, .rc-alert .rc-alert__close:after, .rc-breadcrumb__list-item:after, .rc-btn--action:after, .rc-btn--icon--xs:after, .rc-btn--icon:after, .rc-btn--icon:hover:after, .rc-btn--one:after, .rc-btn--sm:not(.rc-tab):not(.tab):after, .rc-btn--two:after, .rc-checklist-row__label:after, .rc-icon.interactive:hover:after, .rc-input--error.input:after, .rc-input--error.rc-input:after, .rc-input--success.input:after, .rc-input--success.rc-input:after, .rc-input--warning.input:after, .rc-input--warning.rc-input:after, .rc-input__checkbox:checked+.input__label--inline:after, .rc-input__checkbox:checked+.rc-input__label--inline:after, .rc-input__submit--micro:after, .rc-input__submit--search:after, .rc-list__header[aria-haspopup=true]:after, .rc-navigation--next:after, .rc-navigation--prev:after, .rc-navigation--vertical__list-item>a.active:after, .rc-navigation--vertical__list-item>a.rc-active:after, .rc-navigation--vertical__list-item>a:hover:after, .rc-response--affirmative:after, .rc-response--negative:after, .rc-select .choices:after, .rc-select:not(.rc-select-processed):after, .rc-styled-link--external:after, .rc-styled-link--new-window:after {
content: "";
display: inline-block;
background-repeat: no-repeat;
width: 32px;
height: 32px;
overflow: hidden;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
.rc-btn, .rc-input__submit {
display: inline-block;
position: relative;
vertical-align: middle;
white-space: nowrap;
text-overflow: ellipsis;
line-height: inherit;
font-size: inherit;
text-align: center;
overflow: hidden;
padding: 6px 1.5rem;
border: 2px solid transparent;
border-radius: 999px;
text-decoration: none;
cursor: pointer;
-webkit-transition: all .2s ease;
transition: all .2s ease;
font-weight: 300;
font-family: RC TYPE,Roboto,Avenir,Helvetica,Arial,sans-serif;
width: auto;
}
.rc-alert .alert__close, .rc-alert .rc-alert__close, .rc-btn--icon, .rc-btn--icon--xs, .rc-input__submit--search {
border-radius: 0;
padding: 0;
}
.rc-icon {
vertical-align: middle;
}
.rc-btn--icon:after, .rc-icon.interactive {
-webkit-transition: background-image .2s ease;
transition: background-image .2s ease;
}
.rc-btn--icon-label, .rc-btn--icon-tab {
border-radius: 0;
overflow: visible;
text-align: left;
padding-left: 40px;
padding-right: 24px;
}
.rc-btn--icon-label:after, .rc-btn--icon-tab:after {
position: absolute!important;
top: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
.rc-btn--icon-label:after, .rc-btn--icon-tab:after {
left: 24px;
}
.rc-icon:after {
content: "";
display: inline-block;
background-repeat: no-repeat;
width: 32px;
height: 32px;
overflow: hidden;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
position: relative;
}
.rc-list__header {
display: block;
position: relative;
padding: 1rem .5rem;
width: 100%;
border-radius: 0;
text-align: left;
background-color: #fff;
font-weight: 500;
text-transform: uppercase;
}
.rc-list__header, .rc-list__header--content, .rc-list__link--content, .rc-styled-link, .rc-styled-link--cta, .rc-styled-link--external, .rc-styled-link--new-window, .rc-wysiwyg a {
background-color: transparent;
border: none;
user-select: none;
text-decoration: none;
cursor: pointer;
}
.rc-list__header, .rc-list__header--content, .rc-list__link, .rc-list__link--content, .rc-styled-link, .rc-styled-link--cta, .rc-styled-link--external, .rc-styled-link--new-window, .rc-wysiwyg a {
color: #444;
position: relative;
-webkit-transition: color .2s ease-in,border-color .2s ease-in;
transition: color .2s ease-in,border-color .2s ease-in;
}
.rc-header__nav--secondary .rc-list__header {
color: #444;
}
header.rc-header .rc-header__nav a.rc-list__header {
text-decoration: none;
}
.rc-header__nav--secondary {
position: relative;
z-index: 58;
overflow-y: hidden;
height: 2.5rem;
max-height: 2.5rem;
-webkit-box-shadow: 0 2px 4px #f1f1f1;
box-shadow: 0 2px 4px #f1f1f1;
}
.rc-container {
height: 100%;
max-width: 1400px;
background-color: #fff;
margin: auto;
}
.layout-container, .rc-layout-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
z-index: 1;
margin-left: auto;
margin-right: auto;
}
.rc-margin--none {
margin: 0!important;
}
header .rc-header__nav--secondary .rc-container .submenu {
position: fixed;
top: 120px;
left: 0;
display: flex;
background-color: #fff;
overflow: hidden;
height: 0;
width: 100%;
box-shadow: 0px 2px 12px #ddd;
opacity: .7;
-webkit-transition: height .2s ease,opacity .2s ease;
transition: height .2s ease,opacity .2s ease;
}
header .rc-header__nav--secondary .rc-container:hover .submenu {
height: 28rem;
opacity: 1;
border-top: 2px solid #e2001a;
}
.rc-list__item.list__item--group, .rc-list__item.rc-list__item--group {
break-inside: avoid;
page-break-inside: avoid;
}
header .rc-header__nav--secondary .submenu .ts-head-img {
width: 14.6vw;
height: 6.3vw;
object-fit: cover;
box-shadow: 0px 2px 4px rgba(0,0,0,.08);
}
header .rc-header__nav--secondary .submenu .rc-list__header {
font-weight: bold;
}
header.rc-header .rc-header__nav a.rc-list__header {
text-decoration: none;
}
header.rc-header .rc-header__nav ul {
margin: 0;
padding: 0;
}
.rc-list__item, .rc-wysiwyg ol>li, .rc-wysiwyg ul>li {
line-height: 1.5;
position: relative;
}
.rc-list__link {
display: block;
text-align: left;
font-weight: 300;
width: 100%;
background-color: transparent;
user-select: none;
text-decoration: none;
cursor: pointer;
padding: .25rem 0;
border-bottom: none;
}
.rc-fixright{
width: 3.75rem;
height: auto;
@@ -518,7 +110,7 @@ header.rc-header .rc-header__nav ul {
}
}
img{
width: 1.875rem;
width: 1.25rem;
height: auto;
display: block;
}

View File

@@ -288,7 +288,7 @@
}
.rc-main
.rc-max-width--xl
{
margin-top: 0.40rem;
overflow: hidden;
@@ -302,20 +302,20 @@
display:none;
}
span{
margin-top: 0.08rem;
margin-top: .5rem;
display: block;
}
img{
width: 0.64rem;
height: 0.64rem;
width: 4rem;
height: 4rem;
display: block;
}
li{
display: inline-block;
margin-left: 0.20rem;
width: 0.64rem;
margin-left: 1.25rem;
width: 4rem;
text-align: center;
height: 0.64rem;
height: 4rem;
background: #F6F6F6;
border-radius: 50%;
opacity: 1;
@@ -324,9 +324,8 @@
.selectionswitch{
.rc-conta{
max-height: 1.9rem;
min-height: 1.9rem;
max-height: 1.9rem;
min-height: 1.9rem;
}
width: 100%;
margin-top: 0.45rem;
@@ -628,13 +627,7 @@ img{
}
.rc-main{
width: 100%;
margin-top: 2.5rem;
.van-tabs{
display: none;
}
.rc-max-width--xl {
.rc-ma
{
padding-bottom:28px;
@@ -661,9 +654,17 @@ img{
height: 9.875rem;
background: #F6F6F6;
border-radius: 50%;
margin-left:1.25rem;
}
}
}
}
.rc-main{
width: 100%;
margin-top: 2.5rem;
.van-tabs{
display: none;
}
.selectionswitch{
width: 100%;
h2{