1.测试优化

master
sws 2023-11-02 19:04:53 +08:00
parent 9ed9c2a9c7
commit 47ca293f54
3 changed files with 9 additions and 9 deletions

View File

@ -71,11 +71,11 @@
// tabbar // tabbar
tabbar_pages: ['/pages/index/index', '/pages/goods-category/goods-category', '/pages/cart/cart', '/pages/user/user'], tabbar_pages: ['/pages/index/index', '/pages/goods-category/goods-category', '/pages/cart/cart', '/pages/user/user'],
// //
request_url: 'https://new.shopxo.vip/', // request_url: 'https://new.shopxo.vip/',
// request_url: 'http://shopxo.com/', request_url: 'http://shopxo.com/',
// publicpublichttps://d1.shopxo.vip/public/ // publicpublichttps://d1.shopxo.vip/public/
static_url: 'https://new.shopxo.vip/', // static_url: 'https://new.shopxo.vip/',
// static_url: 'http://shopxo.com/', static_url: 'http://shopxo.com/',
// default // default
system_type: 'default', system_type: 'default',
// //

View File

@ -1,7 +1,7 @@
<template> <template>
<view v-if="(data_goods_list || null) != null && data_goods_list.length > 0"> <view v-if="(data_goods_list || null) != null && data_goods_list.length > 0">
<view v-for="(items, indexs) in data_goods_list" :key="indexs" class="bg-white border-radius-main spacing-mb"> <view v-for="(items, indexs) in data_goods_list" :key="indexs" class="bg-white border-radius-main spacing-mb">
<view class="padding-vertical-main" :style="(items.bg_images || null) !== null ? 'background-image: url(' + items.bg_images + ');background-size: auto 100%;' : ''"> <view class="padding-top-main" :style="(items.bg_images || null) !== null ? 'background-image: url(' + items.bg_images + ');background-size: auto 100%;' : ''">
<view class="hot-list flex-row flex-warp"> <view class="hot-list flex-row flex-warp">
<view v-for="(item, index) in items.data" :key="index" :class="items.data.length % 2 == 0 ? 'flex-width-half' : items.data.length === index + 1 ? 'wh-auto' : 'flex-width-half'"> <view v-for="(item, index) in items.data" :key="index" :class="items.data.length % 2 == 0 ? 'flex-width-half' : items.data.length === index + 1 ? 'wh-auto' : 'flex-width-half'">
<view class="padding-horizontal-main"> <view class="padding-horizontal-main">
@ -110,7 +110,7 @@
<style scoped> <style scoped>
.hot-list > .flex-width-half { .hot-list > .flex-width-half {
margin-bottom: 24rpx; margin-bottom: 0;
} }
.hot-list > .flex-width-half:nth-last-of-type(1), .hot-list > .flex-width-half:nth-last-of-type(1),
.hot-list > .flex-width-half:nth-last-of-type(2) { .hot-list > .flex-width-half:nth-last-of-type(2) {
@ -133,11 +133,11 @@
.hot-list .swiper-2 { .hot-list .swiper-2 {
height: 158rpx; height: 176rpx;
} }
.hot-list .swiper-1 { .hot-list .swiper-1 {
height: 169rpx; height: 187rpx;
} }
.hot-go { .hot-go {

View File

@ -33,7 +33,7 @@
</view> </view>
<!-- 分类 --> <!-- 分类 -->
<view class="spacing-nav-title padding-horizontal-main spacing-nav-title flex-row align-c jc-sb text-size-xs"> <view class="padding-horizontal-main">
<view class="spacing-nav-title flex-row align-c jc-sb text-size-xs"> <view class="spacing-nav-title flex-row align-c jc-sb text-size-xs">
<text class="text-wrapper title-left-border">所有{{ blog_main_name }}</text> <text class="text-wrapper title-left-border">所有{{ blog_main_name }}</text>
<navigator url="/pages/plugins/blog/search/search" hover-class="none" class="arrow-right padding-right cr-grey">更多</navigator> <navigator url="/pages/plugins/blog/search/search" hover-class="none" class="arrow-right padding-right cr-grey">更多</navigator>