lihongxiao il y a 1 an
Parent
commit
94f62caabf

+ 1 - 1
api/api.js

@@ -9,7 +9,7 @@ const apiService = {
 		console.log(passWord,phone,888888888);
 		console.log(passWord,phone,888888888);
 		
 		
 		// return http.get('/merchant/app/loginPassWord',params)	
 		// return http.get('/merchant/app/loginPassWord',params)	
-		return http.get('/merchant/app/loginPassWord?passWord='+passWord+'&phone='+phone)	
+		return http.get('/merchant/app/loginPassWord?passWord='+passWord+'&phone='+phone +'&userType=2')	
 	},
 	},
 	/**
 	/**
 	  * 手机号码登录
 	  * 手机号码登录

+ 2 - 2
common/service/config.service.js

@@ -2,9 +2,9 @@ let BASE_URL = ''
 
 
 
 
 if (process.env.NODE_ENV == 'development') {
 if (process.env.NODE_ENV == 'development') {
-	BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
+	// BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
 	// BASE_URL = 'http://192.168.0.36:8080/jeecg-boot' // 开发环境
 	// BASE_URL = 'http://192.168.0.36:8080/jeecg-boot' // 开发环境
-    // BASE_URL = 'http://192.168.0.52:8080/jeecg-boot' // 开发环境
+    BASE_URL = 'http://192.168.0.52:8080/jeecg-boot' // 开发环境
 
 
 } else {
 } else {
 	BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
 	BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境

+ 2 - 1
components/product/refund.vue

@@ -107,7 +107,8 @@ export default {
   left: 0;
   left: 0;
   background: rgba(0, 0, 0, 0.4);
   background: rgba(0, 0, 0, 0.4);
   display: flex;
   display: flex;
-  align-items: end;
+//   align-items: end;
+align-items: flex-end;
   z-index: 99;
   z-index: 99;
 	.model{
 	.model{
 		width: 100%;
 		width: 100%;

+ 1 - 0
manifest.json

@@ -6,6 +6,7 @@
     "versionCode" : 1,
     "versionCode" : 1,
     "transformPx" : false,
     "transformPx" : false,
     "app-plus" : {
     "app-plus" : {
+        "nvueStyleCompiler" : "uni-app",
         /* 5+App特有相关 */
         /* 5+App特有相关 */
         "modules" : {
         "modules" : {
             "Maps" : {},
             "Maps" : {},

+ 2 - 1
pages/index/shop.vue

@@ -442,7 +442,8 @@
 			left: 0;
 			left: 0;
 			background: rgba(0, 0, 0, 0.4);
 			background: rgba(0, 0, 0, 0.4);
 			display: flex;
 			display: flex;
-			align-items: end;
+			align-items: flex-end;
+
 
 
 			.model {
 			.model {
 				width: 100%;
 				width: 100%;

+ 0 - 1
pages/login/login.vue

@@ -155,7 +155,6 @@ export default {
 			let loginParams = {
 			let loginParams = {
 				phone: this.userName,
 				phone: this.userName,
 				passWord: this.password,
 				passWord: this.password,
-				userType:'2'
 			}
 			}
 			this.loading = true;
 			this.loading = true;
 
 

+ 0 - 2
pages/login/register.vue

@@ -157,8 +157,6 @@
 			        let loginParams = {
 			        let loginParams = {
 						phone:this.userName,
 						phone:this.userName,
 						passWord:this.password,
 						passWord:this.password,
-				userType:'2'
-
 			        }
 			        }
 					this.loading=true;
 					this.loading=true;
 				
 				

+ 3 - 2
pages/product/creatProduct.vue

@@ -705,7 +705,7 @@
 
 
 					.set {
 					.set {
 						display: flex;
 						display: flex;
-						justify-content: end;
+						justify-content: flex-end;
 
 
 						/deep/.u-input {
 						/deep/.u-input {
 							text-align: right !important;
 							text-align: right !important;
@@ -805,7 +805,8 @@
 			left: 0;
 			left: 0;
 			background: rgba(0, 0, 0, 0.4);
 			background: rgba(0, 0, 0, 0.4);
 			display: flex;
 			display: flex;
-			align-items: end;
+			align-items: flex-end;
+
 			z-index: 99;
 			z-index: 99;
 
 
 			.model {
 			.model {

+ 2 - 1
pages/product/group.vue

@@ -420,7 +420,8 @@
 			left: 0;
 			left: 0;
 			background: rgba(0, 0, 0, 0.4);
 			background: rgba(0, 0, 0, 0.4);
 			display: flex;
 			display: flex;
-			align-items: end;
+			align-items: flex-end;
+
 			z-index: 99;
 			z-index: 99;
 
 
 			.model {
 			.model {

+ 1 - 1
pages/product/index.vue

@@ -677,7 +677,7 @@
 				.btn_box {
 				.btn_box {
 					width: 100%;
 					width: 100%;
 					display: flex;
 					display: flex;
-					justify-content: end;
+					justify-content: flex-end;
 					align-items: center;
 					align-items: center;
 					margin-top: 20rpx;
 					margin-top: 20rpx;
 
 

+ 1 - 1
pages/product/usable.vue

@@ -184,7 +184,7 @@
 				flex: 1;
 				flex: 1;
 				display: flex;
 				display: flex;
 				align-items: center;
 				align-items: center;
-				justify-content: end;
+				justify-content: flex-end;
 				font-size: 28rpx;
 				font-size: 28rpx;
 				color: #999999;
 				color: #999999;
 
 

+ 6 - 4
pages/store/addHours.vue

@@ -5,13 +5,13 @@
         </cu-custom>
         </cu-custom>
         <view class="tab-top bg-fff">
         <view class="tab-top bg-fff">
             <view class="title ">营业日</view>
             <view class="title ">营业日</view>
-            <view style="padding-bottom:20upx;border-bottom: 1px solid #EEEEEE;">
-                <text v-for="(tag, index) in tags" :key="index" class="tag-type" :class="{
+            <view style="padding-bottom:20upx;border-bottom: 1px solid #EEEEEE;overflow: hidden;">
+                <view v-for="(tag, index) in tags" :key="index" class="tag-type" :class="{
                     'disable-background': isDisable(tag),
                     'disable-background': isDisable(tag),
                     'selected-background': isSelected(tag)
                     'selected-background': isSelected(tag)
                 }" :style="tag == '周四' || tag == '整周' ? 'margin-right:0' : ''" @click="toggleSelection(tag)">
                 }" :style="tag == '周四' || tag == '整周' ? 'margin-right:0' : ''" @click="toggleSelection(tag)">
                     {{ tag }}
                     {{ tag }}
-                </text>
+                </view>
             </view>
             </view>
             <view style="padding-top:18upx">营业时段</view>
             <view style="padding-top:18upx">营业时段</view>
             <view class="cu-form-group" style="border-bottom: 1upx solid #eee;margin:0" v-if="timeType.length > 0">
             <view class="cu-form-group" style="border-bottom: 1upx solid #eee;margin:0" v-if="timeType.length > 0">
@@ -269,7 +269,9 @@ page {
 }
 }
 
 
 .tag-type {
 .tag-type {
-    display: inline-block;
+    // display: inline-block;
+    // display: flex;
+    float: left;
     font-size: 26upx;
     font-size: 26upx;
     width: 146upx;
     width: 146upx;
     height: 54upx;
     height: 54upx;

+ 2 - 0
plugin/colorui/main.css

@@ -44,6 +44,8 @@ image {
 image {
 image {
 	max-width: 100%;
 	max-width: 100%;
 	display: inline-block;
 	display: inline-block;
+	/* flex-direction: row; 
+	justify-content: flex-start;  */
 	position: relative;
 	position: relative;
 	z-index: 0;
 	z-index: 0;
 }
 }