轮播图跟分类调整

master
Lee 2022-12-06 17:41:22 +08:00
parent 402933b64d
commit 1f328e4134
23 changed files with 27 additions and 27 deletions

View File

@ -108,7 +108,7 @@
} }
.cate-list .cate-item{ .cate-list .cate-item{
margin: 0 6rpx; margin: 0 6rpx;
padding: 5rpx 15rpx; padding: 10rpx 25rpx;
white-space: nowrap; white-space: nowrap;
} }
.cate-list .cate-item:first-child{ .cate-list .cate-item:first-child{

View File

@ -3,7 +3,7 @@
<!-- 头部 --> <!-- 头部 -->
<status-nav :ifReturn="false" :navBarTitle="pageTitle" :estate="1" :ifCenter="false"></status-nav> <status-nav :ifReturn="false" :navBarTitle="pageTitle" :estate="1" :ifCenter="false"></status-nav>
<!-- 轮播 --> <!-- 轮播 -->
<view class="index-top"> <view class="index-top" v-if="bannerList.length>0">
<swiper-pu newRadius="0" :bannerList="bannerList" newHeight="320rpx" :isplay='isplay'></swiper-pu> <swiper-pu newRadius="0" :bannerList="bannerList" newHeight="320rpx" :isplay='isplay'></swiper-pu>
</view> </view>
<!-- 商品分类 --> <!-- 商品分类 -->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1464,7 +1464,7 @@ function initData(vueOptions, context) {
try { try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据 data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) { } catch (e) {
if (Object({"VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data); console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
} }
} }
@ -8558,7 +8558,7 @@ function type(obj) {
function flushCallbacks$1(vm) { function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) { if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']'); ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@ -8579,14 +8579,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成 //1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher //2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) { if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick'); ']:nextVueTick');
} }
return nextTick(cb, vm) return nextTick(cb, vm)
}else{ }else{
if(Object({"VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope; var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick'); ']:nextMPTick');
@ -8672,7 +8672,7 @@ var patch = function(oldVnode, vnode) {
}); });
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData); var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) { if (Object.keys(diffData).length) {
if (Object({"VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"小区闲置","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新', ']差量更新',
JSON.stringify(diffData)); JSON.stringify(diffData));

View File

@ -108,7 +108,7 @@
} }
.cate-list .cate-item.data-v-7cd8d804{ .cate-list .cate-item.data-v-7cd8d804{
margin: 0 6rpx; margin: 0 6rpx;
padding: 5rpx 15rpx; padding: 10rpx 25rpx;
white-space: nowrap; white-space: nowrap;
} }
.cate-list .cate-item.data-v-7cd8d804:first-child{ .cate-list .cate-item.data-v-7cd8d804:first-child{

View File

@ -1 +1 @@
<block wx:if="{{isLoading}}"><view class="pad-x120 data-v-48338cf4"><status-nav vue-id="be3d0f80-1" ifReturn="{{false}}" navBarTitle="{{pageTitle}}" estate="{{1}}" ifCenter="{{false}}" class="data-v-48338cf4" bind:__l="__l"></status-nav><view class="index-top data-v-48338cf4"><swiper-pu vue-id="be3d0f80-2" newRadius="0" bannerList="{{bannerList}}" newHeight="320rpx" isplay="{{isplay}}" class="data-v-48338cf4" bind:__l="__l"></swiper-pu></view><goods-cate bind:changeCateEv="__e" vue-id="be3d0f80-3" data-event-opts="{{[['^changeCateEv',[['changeCateEv']]]]}}" class="data-v-48338cf4" bind:__l="__l"></goods-cate><goods-list vue-id="be3d0f80-4" goodsList="{{goodsList}}" class="data-v-48338cf4" bind:__l="__l"></goods-list><block wx:if="{{goodsList.length==total}}"><view class="no-more mar-s20 font24 color-99 data-v-48338cf4">没有更多数据了</view></block><release-btn vue-id="be3d0f80-5" class="data-v-48338cf4" bind:__l="__l"></release-btn><tabbar vue-id="be3d0f80-6" class="data-v-48338cf4" bind:__l="__l"></tabbar></view></block> <block wx:if="{{isLoading}}"><view class="pad-x120 data-v-48338cf4"><status-nav vue-id="be3d0f80-1" ifReturn="{{false}}" navBarTitle="{{pageTitle}}" estate="{{1}}" ifCenter="{{false}}" class="data-v-48338cf4" bind:__l="__l"></status-nav><block wx:if="{{bannerList.length>0}}"><view class="index-top data-v-48338cf4"><swiper-pu vue-id="be3d0f80-2" newRadius="0" bannerList="{{bannerList}}" newHeight="320rpx" isplay="{{isplay}}" class="data-v-48338cf4" bind:__l="__l"></swiper-pu></view></block><goods-cate bind:changeCateEv="__e" vue-id="be3d0f80-3" data-event-opts="{{[['^changeCateEv',[['changeCateEv']]]]}}" class="data-v-48338cf4" bind:__l="__l"></goods-cate><goods-list vue-id="be3d0f80-4" goodsList="{{goodsList}}" class="data-v-48338cf4" bind:__l="__l"></goods-list><block wx:if="{{goodsList.length==total}}"><view class="no-more mar-s20 font24 color-99 data-v-48338cf4">没有更多数据了</view></block><release-btn vue-id="be3d0f80-5" class="data-v-48338cf4" bind:__l="__l"></release-btn><tabbar vue-id="be3d0f80-6" class="data-v-48338cf4" bind:__l="__l"></tabbar></view></block>