细节优化
parent
06ce35da7a
commit
44290a0f63
2
App.vue
2
App.vue
|
|
@ -34,7 +34,7 @@
|
|||
"/pages/user/user"
|
||||
],
|
||||
// 请求地址
|
||||
request_url: 'http://shopxo.com/',
|
||||
request_url: 'https://dev.shopxo.vip/',
|
||||
// 静态资源地址
|
||||
static_url: 'https://d1.shopxo.vip/',
|
||||
// 基础信息
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
.last-next-data navigator {
|
||||
width: calc(100% - 105rpx);
|
||||
width: calc(100% - 120rpx);
|
||||
}
|
||||
|
|
@ -41,9 +41,14 @@
|
|||
/**
|
||||
* 推荐文章
|
||||
*/
|
||||
.article-list swiper {
|
||||
height: 36rpx;
|
||||
width: calc(100% - 175rpx);
|
||||
.article-list .left-content {
|
||||
width: calc(25% - 40rpx);
|
||||
}
|
||||
.article-list .right-content {
|
||||
width: calc(75% - 30rpx);
|
||||
}
|
||||
.article-list .right-content swiper {
|
||||
height: 38rpx;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -33,16 +33,18 @@
|
|||
<view class="notice-content spacing-mb" v-if="load_status == 1 && (common_shop_notice || null) != null">{{common_shop_notice}}</view>
|
||||
|
||||
<!-- 推荐文章 -->
|
||||
<view v-if="article_list.length > 0" class="article-list border-radius-main bg-white oh br-main spacing-mb">
|
||||
<text class="text-size-sm va-m fw-b bg-main cr-white padding-top-xl padding-bottom-xl padding-horizontal-main" data-value="/pages/article-category/article-category" @tap="url_event">商城资讯</text>
|
||||
<swiper class="dis-inline-block va-m margin-left-lg margin-vertical-main" :vertical="true" :autoplay="true" :circular="true" display-multiple-items="1" interval="3000">
|
||||
<block v-for="(item, index) in article_list" :key="index">
|
||||
<swiper-item class="single-text">
|
||||
<text class="cr-base" :data-value="item.category_url" @tap="url_event">[{{item.article_category_name}}]</text>
|
||||
<text class="margin-left-xs cr-base" :style="(item.title_color || null) != null ? 'color:'+item.title_color+' !important;' : ''" :data-value="item.url" @tap="url_event">{{item.title}}</text>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
<view v-if="article_list.length > 0" class="article-list border-radius-main bg-main oh br-main spacing-mb">
|
||||
<view class="left-content fl text-size-sm va-m tc fw-b cr-white padding-top-lg padding-bottom-lg padding-horizontal-main" data-value="/pages/article-category/article-category" @tap="url_event">商城资讯</view>
|
||||
<view class="right-content fr bg-white va-m padding-left-lg padding-vertical-main">
|
||||
<swiper :vertical="true" :autoplay="true" :circular="true" display-multiple-items="1" interval="3000">
|
||||
<block v-for="(item, index) in article_list" :key="index">
|
||||
<swiper-item class="single-text">
|
||||
<text class="cr-base" :data-value="item.category_url" @tap="url_event">[{{item.article_category_name}}]</text>
|
||||
<text class="margin-left-xs cr-base" :style="(item.title_color || null) != null ? 'color:'+item.title_color+' !important;' : ''" :data-value="item.url" @tap="url_event">{{item.title}}</text>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 首页中间广告 - 插件 -->
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
* 数据列表
|
||||
*/
|
||||
.scroll-box {
|
||||
height: calc(100vh - 100rpx - 30px);
|
||||
height: calc(100vh - 110rpx - 30px);
|
||||
}
|
||||
.blog-list .blog-img {
|
||||
width: 200rpx !important;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view>
|
||||
<view v-if="(data_base || null) != null">
|
||||
<!-- 搜索关键字 -->
|
||||
<view class="padding-horizontal-main padding-top-main bg-white">
|
||||
<view class="padding-horizontal-main padding-top-main padding-bottom-sm bg-white">
|
||||
<view class="search-keywords round pr">
|
||||
<icon type="search" size="12"></icon>
|
||||
<input type="text" confirm-type="search" placeholder="其实搜索很简单^_^ !" :value="search_keywords_value" @confirm="search_keywords_event" class="cr-base" placeholder-class="cr-grey">
|
||||
|
|
|
|||
Loading…
Reference in New Issue