Ver código fonte

feat:template

igb 4 meses atrás
pai
commit
44e401fc22

+ 14 - 12
public/static/css/main.min.css

@@ -22038,21 +22038,23 @@ pre {
 .icons-holder .mobile {
     font-size: 34px
 }
+
+
 /* 设置图片默认样式 */
 .default-image-thumbnail {
     display: block;
-    width: 100%;
-    height: 200px;
-    background-color: #d9d9d9; /* 灰色背景 */
+    width: 300px;
+    height: 300px;
+    background-color: #FFFFFF; /* 灰色背景 */
     border: none; /* 去掉边框 */
     outline: none; /* 去掉点击时的外框 */
     object-fit: cover; /* 按比例裁剪 */
     object-position: center; /* 确保裁剪的内容居中 */
 }
 .no-image-placeholder-thumbnail {
-    width: 100%;
-    height: 200px;
-    background-color: #e0e0e0;
+    width: 300px;
+    height: 300px;
+    background-color: #FFFFFF;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -22063,9 +22065,9 @@ pre {
 /* 设置图片默认样式 */
 .default-image-thumbnail-small {
     display: block;
-    width: 100%;
-    height: 120px;
-    background-color: #d9d9d9; /* 灰色背景 */
+    width: 200px;
+    height: 200px;
+    background-color: #FFFFFF; /* 灰色背景 */
     border: none; /* 去掉边框 */
     outline: none; /* 去掉点击时的外框 */
     object-fit: cover; /* 按比例裁剪 */
@@ -22074,9 +22076,9 @@ pre {
 
 
 .no-image-placeholder-thumbnail-small {
-    width: 100%;
-    height: 120px;
-    background-color: #e0e0e0;
+    width: 200px;
+    height: 200px;
+    background-color: #FFFFFF;
     display: flex;
     justify-content: center;
     align-items: center;

+ 1 - 1
resources/views/liquid_src/1/TechVista/__product_list_1.liquid

@@ -9,7 +9,7 @@
                 <a  href="/products/{{ item.id }}" target="_blank" >
 
                     {% if item.images and item.images[0].image_url %}
-                        <img src="{{ site.image_base_url }}{{ item.images[0].image_url | append: '?x-oss-process=image/resize,m_lfit,h_200' }}"
+                        <img src="{{ site.image_base_url }}{{ item.images[0].image_url | append: '?x-oss-process=image/resize,m_pad,w_300,h_300' }}"
                              class="img-center default-image-thumbnail">
                     {% else %}
                         <div class="img-center default-image-thumbnail no-image-placeholder-thumbnail">

+ 1 - 1
resources/views/liquid_src/1/TechVista/products_categories.liquid

@@ -57,7 +57,7 @@
                                                                 <div class="swiper-slide">
                                                                     <a  href="/products/{{ item.id }}" target="_blank" >
                                                                     {% if item.images and item.images[0].image_url %}
-                                                                        <img src="{{ site.image_base_url }}{{ item.images[0].image_url | append: '?x-oss-process=image/resize,m_lfit,h_200' }}"
+                                                                        <img src="{{ site.image_base_url }}{{ item.images[0].image_url | append: '?x-oss-process=image/resize,m_pad,w_200,h_200' }}"
                                                                              class="img-fluid img-center img-primary default-image-thumbnail-small">
                                                                     {% else %}
                                                                         <div class="img-fluid img-center img-primary default-image-thumbnail-small no-image-placeholder-thumbnail-small">

+ 1 - 1
resources/views/liquid_src/1/TechVista/products_detail.liquid

@@ -36,7 +36,7 @@
                                                     {% for item in product.images %}
                                                         <div class="swiper-slide">
                                                             <a href="{{ site.image_base_url }}{{ item.image_url }}?x-oss-process=image/resize,w_500,m_lfit" data-desoslide-index="{{ forloop.index0 }}">
-                                                                <img src="{{ site.image_base_url }}{{ item.image_url }}?x-oss-process=image/resize,m_pad,w_160,h_100" alt="{{ product.title }}">
+                                                                <img src="{{ site.image_base_url }}{{ item.image_url }}?x-oss-process=image/resize,m_pad,w_100,h_100" alt="{{ product.title }}">
                                                             </a>
                                                         </div>
                                                     {% endfor %}