1.测试优化

master
sws 2023-11-02 17:35:42 +08:00
parent 9a26aa5985
commit a00a679ceb
3 changed files with 32 additions and 35 deletions

View File

@ -74,7 +74,7 @@
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,22 +1,22 @@
/** /**
* *
*/ */
.top-search-input { .top-search-input {
padding-right: 80rpx; padding-right: 80rpx;
} }
.top-search-right { .top-search-right {
top: 20rpx; top: 20rpx;
right: 20rpx; right: 20rpx;
} }
.top-search-submit { .top-search-submit {
line-height: 66rpx; line-height: 66rpx;
height: 66rpx; height: 66rpx;
} }
.top-search-right .badge-icon { .top-search-right .badge-icon {
top: -4px; top: -4px;
right: 10rpx; right: 10rpx;
} }
/** /**
* *
*/ */
@ -34,7 +34,7 @@
height: 50rpx !important; height: 50rpx !important;
top: 15rpx; top: 15rpx;
right: 80rpx; right: 80rpx;
} }
.show-type-submit { .show-type-submit {
width: 50rpx; width: 50rpx;
height: 50rpx !important; height: 50rpx !important;
@ -44,7 +44,7 @@
/** /**
* *
*/ */
.scroll-box { .scroll-box {
height: calc(100vh - 176rpx); height: calc(100vh - 176rpx);
} }
@ -98,9 +98,6 @@
.map-content .item { .map-content .item {
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.map-content .item:not(:last-child) {
margin-right: 20rpx;
}
.map-text-item .item, .map-text-item .item,
.map-images-text-item .item { .map-images-text-item .item {
padding: 0 15rpx; padding: 0 15rpx;

View File

@ -4,22 +4,22 @@
<view class="pr"> <view class="pr">
<!-- 分类 --> <!-- 分类 -->
<scroll-view v-if="(brand_category_list || null) != null && brand_category_list.length > 0" :scroll-x="true" :show-scrollbar="false" :scroll-with-animation="true" :scroll-into-view="'one-nav-item-' + nav_active_index" class="nav-list scroll-view-horizontal bg-white oh" scroll-x="true"> <scroll-view v-if="(brand_category_list || null) != null && brand_category_list.length > 0" :scroll-x="true" :show-scrollbar="false" :scroll-with-animation="true" :scroll-into-view="'one-nav-item-' + nav_active_index" class="nav-list scroll-view-horizontal bg-white oh" scroll-x="true">
<!-- <view class="flex-row flex-nowrap align-c"> --> <view class="flex-row flex-nowrap align-c">
<block v-for="(item, index) in brand_category_list" :key="index"> <block v-for="(item, index) in brand_category_list" :key="index">
<view class="item flex-col align-c text-size-xss dis-inline-block" :id="'one-nav-item-' + index" :data-index="index" :data-itemtwoindex="-1" :data-itemthreeindex="-1" @tap="nav_event" :data-value="item.id"> <view class="item flex-col align-c text-size-xss" :id="'one-nav-item-' + index" :data-index="index" @tap="nav_event" :data-value="item.id">
<image :src="item.icon" mode="aspectFit"></image> <image :src="item.icon" mode="aspectFit"></image>
<view class="padding-left-sm padding-right-sm round" :class="nav_active_value == item.id ? 'bg-main cr-white' : ''"> <view class="padding-left-sm padding-right-sm round" :class="nav_active_value == item.id ? 'bg-main cr-white' : ''">
{{ item.name }} {{ item.name }}
</view>
</view> </view>
</view> </block>
</block> </view>
<!-- </view> -->
</scroll-view> </scroll-view>
<component-nav-more prop-class="bg-white" :prop-status="popupStatus" @open-popup="open_popup_event"> <component-nav-more prop-class="bg-white" :prop-status="popupStatus" @open-popup="open_popup_event">
<view class="nav-list-more"> <view class="nav-list-more">
<view class="flex-row flex-warp align-c"> <view class="flex-row flex-warp align-c">
<block v-for="(item, index) in brand_category_list" :key="index"> <block v-for="(item, index) in brand_category_list" :key="index">
<view class="item flex-col align-c text-size-xss" @tap="nav_event" :data-value="item.id"> <view class="item flex-col align-c text-size-xss" @tap="nav_event" :id="'one-nav-item-' + index" :data-index="index" :data-value="item.id">
<image :src="item.icon" mode="aspectFit"></image> <image :src="item.icon" mode="aspectFit"></image>
<view class="padding-left-sm padding-right-sm round" :class="nav_active_value == item.id ? 'bg-main cr-white' : ''"> <view class="padding-left-sm padding-right-sm round" :class="nav_active_value == item.id ? 'bg-main cr-white' : ''">
{{ item.name }} {{ item.name }}