Browse Source

commit -m 商品详情优化

zhengjinyi 3 years ago
parent
commit
be4e47f9f4
4 changed files with 6 additions and 7 deletions
  1. 1 1
      pages/goods/product.vue
  2. 1 1
      pages/supplier/user/my-shop.vue
  3. 2 2
      services/config.env.js
  4. 2 3
      store/index.js

+ 1 - 1
pages/goods/product.vue

@@ -283,7 +283,7 @@
 					<view class="product-details qualifications product-details2" v-if="product.qualificationImg">
 						<view class="title"><view class="title-tab">商品资质</view></view>
 						<view class="product-details-image">
-							<view class="product-details-table clearfix">
+							<view class="product-details-table clearfix" v-if="product.qualificationNo">
 								<view class="ladder-tr">
 									<view class="ladder-item-td th">证书编号</view>
 									<view class="ladder-item-td th">产品名称</view>

+ 1 - 1
pages/supplier/user/my-shop.vue

@@ -57,7 +57,7 @@
 				</view>
 				<banner :list="bannerImageList"></banner>
 			</view>
-			<view class="container-section tui-skeleton" v-if="!isEmpty">
+			<view class="container-section tui-skeleton" v-if="recommendList.length>0">
 				<view class="tab-title">主推商品</view>
 				<view class="section-product clearfix">
 					<view class="floor-item-none" v-if="isHomeProduct">

+ 2 - 2
services/config.env.js

@@ -4,8 +4,8 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.67:18002'	 //智捷联调地址
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.75:18002'	 //超超联调地址
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'
+    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core.caimei365.com'
 }else{
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'

+ 2 - 3
store/index.js

@@ -52,9 +52,8 @@ const store = new Vuex.Store({
             state.userInfo = provider
             if (state.userInfo) {
                 state.clubType = provider.firstClubType
-                if (provider.userIdentity) {
-                    state.identity = provider.userIdentity
-                } else if (provider.userId == 5261 || provider.userId == 10947 || provider.userId == 11579) {
+                state.identity = provider.userIdentity
+                if (provider.userId == 5261 || provider.userId == 10947 || provider.userId == 11579) {
                     state.identity = 1
                 } else if (provider.firstClubType == 1) {
                     state.identity = 5