zhengjinyi 1 年間 前
コミット
94915e11ea

+ 1 - 1
components/uni-search/cat-search.vue

@@ -14,7 +14,7 @@
 				class="gosearch-btn"
 				:style="{
 					paddingLeft: navbarBtn.height + 'px;',
-					left: navbarBtn.height / 2 + 'px;',
+					left: navbarBtn.height / 4 + 'px;',
 					borderRadius: navbarBtn.height / 2 + 'px;',
 					width: 375 - navbarBtn.width - 20 + 'px;',
 					lineHeight: navbarBtn.height + 'px;'

+ 15 - 14
pages/goods/product.vue

@@ -179,6 +179,20 @@
 						<view class="none-text">此商品已{{ goodsData.disabledText }},请浏览以下推荐商品~</view>
 						<view class="none-text">咨询类似商品,请联系客服!</view>
 					</view>
+                    <!-- 优惠券 -->
+                    <view
+                    	class="product-parameter coupon"
+                    	v-if="isShowButton && productCoupon.length > 0"
+                    	@click="showPopup(2)"
+                    >
+                    	<text class="title">优惠券:</text>
+                    	<view class="coupon">
+                    		<text class="tags" v-for="(coupon, index) in productCoupon.slice(0, 3)" :key="index">
+                    			满{{ coupon.touchPrice }}减{{ coupon.couponAmount }}
+                    		</text>
+                    	</view>
+                    	<text class="iconfont icon-xiayibu"></text>
+                    </view>
 					<!-- 选择规格 -->
 					<view class="product-parameter" v-if="isShowButton || userIdentity === 1" @click="showPopup(3)">
 						<text class="title">选择:</text> <text class="name">共{{ skusCount }}种规格可选</text>
@@ -212,20 +226,7 @@
 							<text class="iconfont icon-xiayibu"></text>
 						</view>
 					</view>
-					<!-- 优惠券 -->
-					<view
-						class="product-parameter coupon"
-						v-if="isShowButton && productCoupon.length > 0"
-						@click="showPopup(2)"
-					>
-						<text class="title">优惠券:</text>
-						<view class="coupon">
-							<text class="tags" v-for="(coupon, index) in productCoupon.slice(0, 3)" :key="index">
-								满{{ coupon.touchPrice }}减{{ coupon.couponAmount }}
-							</text>
-						</view>
-						<text class="iconfont icon-xiayibu"></text>
-					</view>
+					
 					<!-- 仪器培训方案 -->
 					<view
 						class="product-parameter"

+ 1 - 1
pages/tabBar/category/index.vue

@@ -2,7 +2,7 @@
 	<view id="category" :style="{paddingTop:CustomBar+'px'}">
 		<!--顶部搜索导航栏-->
 		<view class="'search-input-fixed" :style="{top:CustomBar/2+'px'}">
-			<cat-search :systeminfo='systeminfo' :navbar-data='nvabarData' :headerBtnPosi ="headerBtnPosi" @click="hanldTabClick"></cat-search>
+			<cat-search :systeminfo='systeminfo' :navbar-data='nvabarData' :headerBtnPosi ="headerBtnPosi" @click="hanldTabClick" />
 		</view>
 		<view class="category-list">
 			<!-- 左侧分类导航 -->

+ 2 - 2
services/config.env.js

@@ -2,8 +2,8 @@ let URL_CONFIG = ''
 if(process.env.NODE_ENV === 'development'){
     // 开发环境
     // URL_CONFIG = 'http://192.168.2.67: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'