Преглед изворни кода

commit -m 消息通知 上架费弹窗

zhengjinyi пре 3 година
родитељ
комит
e732e69e33

+ 2 - 1
components/cm-module/supplier/user.vue

@@ -232,7 +232,7 @@ export default {
 					icon: 'https://static.caimei365.com/app/img/icon/icon_club_4@2x.png'
 				}
 			],
-			modal:true,
+			modal:false,
 			contentModalText:'您的供应商账号上架费将于30日后到期,到期后将无法发布和编辑商品,同时也会影响到其他采美提供的支持服务。请联系采美工作人员进行续费,联系电话0755-22907771或15338851365',
 			modalButton:[
 				{
@@ -305,6 +305,7 @@ export default {
 						this.allNum = data.allNum //全部商品
 						this.upNum = data.upNum //已上架
 						this.downNum = data.downNum //已下架
+						this.modal = data.constraint === "0" ? true : false
 						this.skeletonShow = false
 					})
 					.catch(error => {

+ 2 - 0
pages/notice/shop/notice-serve.vue

@@ -39,8 +39,10 @@
 </template>
 <script>
 import { mapState, mapMutations } from 'vuex'
+import noticeMixins from './mixins/notice.mixins.js'
 import noticeCell from './components/notice-cell.vue'
 export default {
+	mixins: [noticeMixins],
 	components: {
 		noticeCell
 	},

+ 3 - 1
pages/notice/shop/notice-users.vue

@@ -39,8 +39,10 @@
 </template>
 <script>
 import { mapState, mapMutations } from 'vuex'
+import noticeMixins from './mixins/notice.mixins.js'
 import noticeCell from './components/notice-cell.vue'
 export default {
+	mixins: [noticeMixins],
 	components: {
 		noticeCell
 	},
@@ -76,7 +78,7 @@ export default {
 			this.listQuery.messageType = option.messageType
 			this.listQuery.commonId = userInfo.shopId ? userInfo.shopId : 0
 			this.getUserAuthShopMessageList()
-		},
+		}
 		
 	},
 	onReachBottom() {

+ 1 - 1
pages/supplier/index/index.vue

@@ -149,7 +149,7 @@ export default {
 			if (this.show_index == 0) {
 				this.$refs.home.getHomeInformation()
 			} else if(this.show_index == 2){
-				this.$refs.notice.initGetList()
+				this.$refs.notice.getUserAuthShopMessageCount()
 			}else if (this.show_index == 3) {
 				this.$refs.user.initData()
 			}

+ 3 - 1
pages/supplier/user/my-product.vue

@@ -228,7 +228,7 @@
 				isCmcustomClass : 'left',
 				featuredNum:0,
 				productIds:'',//批量下架操作商品ID
-				forbid:true
+				forbid:false
 				
 			}
 		},
@@ -295,6 +295,7 @@
 				this.ShopService.GetSupplierPyProduct(this.listQuery).then(response =>{
 					let data = response.data.productPage
 					this.featuredNum = response.data.featuredNum
+					this.forbid = response.data.listingFee === 1 ? true : false
 					this.hasNextPage = data.hasNextPage
 					if(data.results && data.results.length > 0){
 						this.isEmpty = false
@@ -712,6 +713,7 @@
 		top: 0;
 		left: 0;
 		box-sizing: border-box;
+		padding: 0 24rpx;
 		z-index: 999;
 		&.forbid{
 			height: 100rpx;