1.测试优化
parent
9a26aa5985
commit
a00a679ceb
2
App.vue
2
App.vue
|
|
@ -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/',
|
||||||
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
|
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://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',
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue