diff --git a/pages/admin/orderList/index.vue b/pages/admin/orderList/index.vue index da2f9dd..d0d0766 100644 --- a/pages/admin/orderList/index.vue +++ b/pages/admin/orderList/index.vue @@ -31,7 +31,7 @@ 退款 - + @@ -122,7 +122,7 @@ 1件退款中 --> - + 共{{ item.total_num }}件商品, @@ -147,7 +147,7 @@ - + 暂无订单~ - + - {{item.store_name}} + {{item.store_name}} {{item.price}} - + - + 暂无内容哦~ - - - - - - - - - - {{item.store_name}} - {{item.price}} - - - - - - 暂无内容哦~ - - - - - - - + + + - {{item.store_name}} + {{item.store_name}} {{item.price}} - + - + + 暂无内容哦~ + + + + + + + + + + + + + + {{item.store_name}} + {{item.price}} + + + + + 暂无内容哦~ @@ -82,7 +82,7 @@ - + @@ -102,6 +102,7 @@ components: { Loading }, data() { return { + no_thing: '', isActive: 0, loadedb: false, loadingb: false, @@ -143,13 +144,16 @@ // deep: true // } }, + onReady() { + this.no_thing = `${HTTP_REQUEST_URL}/static/images/mer/no_thing.png`; + }, mounted(){ this.checkedArr = this.checkedObj this.getBounht(); this.getCollect(); this.getBrowse(); }, - methods: { + methods: { // 点击关闭按钮 close() { this.$emit('close'); @@ -168,7 +172,7 @@ const query = uni.createSelectorQuery().in(this); query.select('#goods').boundingClientRect(data => { if(data.bottom < 1500 && data.top < 0) { - this.getBounht(); + this.getBounht(); } }).exec(); // 模拟触底刷新 @@ -179,7 +183,7 @@ const query = uni.createSelectorQuery().in(this); query.select('#collect').boundingClientRect(data => { if(data.bottom < 1500 && data.top < 0) { - this.getCollect(); + this.getCollect(); } }).exec(); // 模拟触底刷新 @@ -190,7 +194,7 @@ const query = uni.createSelectorQuery().in(this); query.select('#browse').boundingClientRect(data => { if(data.bottom < 1500 && data.top < 0) { - this.getBrowse(); + this.getBrowse(); } }).exec(); // 模拟触底刷新 @@ -272,7 +276,7 @@ } ); }, - + /*获取初始化选中的数据*/ getInitchecked(arr){ let that = this; @@ -281,7 +285,7 @@ that.checkedArr.forEach((val, i) =>{ if((item.spu_id == (val.spu&&val.spu.spu_id)) || (item.spu_id == val.spu_id)){ that.$set(item, 'check', true); - } + } }) }) }, @@ -296,12 +300,12 @@ }else{ this.$set(item, 'check', false); let idx = this.checkedArr.findIndex(itemn => (itemn.spu_id == item.spu_id)) - this.checkedArr.splice(idx, 1) + this.checkedArr.splice(idx, 1) } this.disabled = this.checkedArr.length > 4 - }, + }, /*确定提交*/ - submit(){ + submit(){ this.$emit('getProduct',this.checkedArr); }, } @@ -340,7 +344,7 @@ left: 10rpx; } } - } + } } .search{ margin-top: 44rpx; @@ -418,7 +422,7 @@ margin-left: 30rpx; font-size: 28rpx; color: #282828; - position: relative; + position: relative; height: 160rpx; .name{ color: #282828; diff --git a/pages/plantGrass/plant_user/index.vue b/pages/plantGrass/plant_user/index.vue index 8df031a..044c44a 100644 --- a/pages/plantGrass/plant_user/index.vue +++ b/pages/plantGrass/plant_user/index.vue @@ -48,7 +48,7 @@ - + 暂无内容哦~ @@ -91,7 +91,8 @@ limit: 30 }, tab: 0, - current_uid: '' + current_uid: '', + no_thing: '', } }, created() {}, @@ -115,7 +116,9 @@ if(options.spread) spread(options.spread, this.isLogin) }, onShow() {}, - onReady() {}, + onReady() { + this.no_thing = `${HTTP_REQUEST_URL}/static/images/mer/no_thing.png`; + }, mounted: function() {}, methods: { // 授权回调 diff --git a/pages/plant_grass/index.vue b/pages/plant_grass/index.vue index 4fc1c92..acbaea8 100644 --- a/pages/plant_grass/index.vue +++ b/pages/plant_grass/index.vue @@ -103,7 +103,7 @@ - + 暂无内容~ @@ -133,19 +133,19 @@ {{!cateGoods[item.category_id] ? 0 : cateGoods[item.category_id].goodsLoading}} - + {{item.category_id == -1 ? '暂无视频' : '暂无文章'}}~ - + - + - + @@ -184,6 +184,7 @@ }, data() { return { + no_thing: '', domain: HTTP_REQUEST_URL, // #ifdef MP menuButtonInfo: uni.getMenuButtonBoundingClientRect(), @@ -276,6 +277,9 @@ ...mapGetters(['isLogin', 'uid', 'viewColor']), ...configMap({community_reply_status: 0,community_app_switch: [],community_status: 0,navigation: {}}) }, + onReady() { + this.no_thing = `${HTTP_REQUEST_URL}/static/images/mer/no_thing.png`; + }, watch: {}, onLoad: function(options) { let that = this; @@ -418,7 +422,7 @@ let data = [{cate_name: "推荐",category_id: 0,children: []}] if(this.community_app_switch.length == 2 || this.community_app_switch[0]==2){ data = [{cate_name: "推荐",category_id: 0,children: []},{cate_name: "视频",category_id: -1,children: []}] - } + } this.menuList = Array.from(new Set([...data,...res.data])); }) }, @@ -457,7 +461,7 @@ }, scrollLeft: function(e){ uni.$emit('scroll'); - this.scrollTop = e.detail.scrollTop + this.scrollTop = e.detail.scrollTop this.navShow = e.detail.scrollTop >= this.storeHeight - 200; if(this.navShow){ this.$set(this, 'swiperHeight', this.windowHeight-50); @@ -636,7 +640,7 @@ this.showTab = false; uni.hideTabBar() } - } + } }, goVideo(item) { uni.navigateTo({ @@ -1203,4 +1207,4 @@ page{ font-size: 24rpx; } } - \ No newline at end of file + diff --git a/pages/users/refund/list.vue b/pages/users/refund/list.vue index 0d37bc0..13c95cb 100644 --- a/pages/users/refund/list.vue +++ b/pages/users/refund/list.vue @@ -58,7 +58,7 @@ - + 暂无订单~ @@ -94,12 +94,14 @@ isScroll:true, page:1, limit:15, + no_thing: '', } }, onLoad() { this.getList(); }, onReady(){ + this.no_thing = `${HTTP_REQUEST_URL}/static/images/mer/no_thing.png`; }, mounted: function() { }, @@ -109,7 +111,7 @@ uni.navigateTo({ url:`/pages/store/home/index?id=${item.merchant.mer_id}` }) - } + } }, goPage(id){ uni.navigateTo({ @@ -166,7 +168,7 @@ } } }); - + } }, onReachBottom() { @@ -204,7 +206,7 @@ position: relative; margin-top: 12rpx; background-color: #fff; - + .title{ display: flex; align-items: center; @@ -266,9 +268,9 @@ color: #fff; font-size: 20rpx; padding: 0 8rpx; - line-height: 30rpx; + line-height: 30rpx; text-align: center; - border-radius: 6rpx; + border-radius: 6rpx; } } .btn-box{ @@ -311,7 +313,7 @@ } .nothing { margin-top: 200rpx; - text-align: center; + text-align: center; } .nothing_text{ margin-top: 20rpx; diff --git a/static/images/no_thing.png b/static/images/no_thing.png deleted file mode 100644 index 4b4d458..0000000 Binary files a/static/images/no_thing.png and /dev/null differ