gcz hace 4 años
padre
commit
959784b50d
Se han modificado 3 ficheros con 11 adiciones y 11 borrados
  1. 4 4
      config/config.js
  2. 6 6
      pages/publish/publish.vue
  3. 1 1
      unpackage/dist/build/h5/index.html

+ 4 - 4
config/config.js

@@ -4,7 +4,7 @@ const config = {
 	// apiBaseurl:'http://172.16.90.64:9098/forest-portal',//测试
 	// apiBaseurl:'http://172.16.90.50:9098/forest-portal',//邱波
 	// apiBaseurl:'http://172.16.90.3:9098/forest-portal',//邱波
-	// apiBaseurl:'http://wx.hw.hongweisoft.com/zddtest/forest-portal',//东东
+	apiBaseurl:'http://wx.hw.hongweisoft.com/zddtest/forest-portal',//东东
 	// apiBaseurl:'http://wx.hw.hongweisoft.com/zddapi/forest-portal',//东东
 		
 	//本地图片
@@ -14,7 +14,7 @@ const config = {
 	
 	// loginUrl:'http://tanhui.hongweisoft.com/forest-portal/wechat/h5/authorize?returnUrl=/',//登录后跳转到测试链接
 	// loginUrl:'http://forest.hw.hongweisoft.com/data/forest-portal/wechat/h5/authorize?returnUrl=http://forest.hw.hongweisoft.com/#/',//登录后跳转链接
-	// loginUrl:'http://wx.hw.hongweisoft.com/zddapi/forest-portal/wechat/h5/authorize?returnUrl=http://172.16.90.25:8081/#/',//登录后跳转到测试链接 东东
+	loginUrl:'http://wx.hw.hongweisoft.com/zddtest/forest-portal/wechat/h5/authorize?returnUrl=http://172.16.90.25:8080/#/',//登录后跳转到测试链接 东东
 	// loginUrl:'http://wx.hw.hongweisoft.com/zddtest/forest-portal/wechat/h5/authorize?returnUrl=http://foresth5test.hw.hongweisoft.com/#/',//登录后跳转到测试链接 东东
 	// loginUrl:'http://wx.hw.hongweisoft.com/zddtest/forest-portal/wechat/h5/authorize?returnUrl=http://wx.hw.hongweisoft.com/gcz/#/',//登录后跳转到测试链接 东东
 
@@ -24,8 +24,8 @@ const config = {
 	
 	
 	//online 线上配置
-	loginUrl:'http://wxh5.gzqlyx.com/api/forest-portal/wechat/h5/authorize?returnUrl=http://wxh5.gzqlyx.com/#/',//登录后跳转链接
-	apiBaseurl:'http://wxh5.gzqlyx.com/api/forest-portal',
+	// loginUrl:'http://wxh5.gzqlyx.com/api/forest-portal/wechat/h5/authorize?returnUrl=http://wxh5.gzqlyx.com/#/',//登录后跳转链接
+	// apiBaseurl:'http://wxh5.gzqlyx.com/api/forest-portal',
 
 	
 	

+ 6 - 6
pages/publish/publish.vue

@@ -51,13 +51,13 @@
 				<view class="form-item">
 					<view class="form-item-til">零售价</view>
 					<view class="form-item-con">
-						<input type="text" placeholder="请输入零售价" v-model="params.price" value="" />
+						<input type="number" placeholder="请输入零售价" v-model="params.price" value="" />
 					</view>
 				</view>
 				<view class="form-item">
 					<view class="form-item-til">市场价</view>
 					<view class="form-item-con">
-						<input type="text" placeholder="请输入市场价" v-model="params.originalPrice" value="" />
+						<input type="number" placeholder="请输入市场价" v-model="params.originalPrice" value="" />
 					</view>
 				</view>
 				<view class="form-item">
@@ -104,7 +104,7 @@
 				<view class="form-item">
 					<view class="form-item-til">排序</view>
 					<view class="form-item-con">
-						<input type="text" placeholder="排序数字" v-model="params.sort" value="" />
+						<input type="number" placeholder="排序数字" v-model="params.sort" value="" />
 					</view>
 				</view>
 			</view>
@@ -237,8 +237,8 @@
 					name:'',
 					brandName:'',
 					brandId:'',
-					price:'',
-					originalPrice:'',//市场价
+					price:null,
+					originalPrice:null,//市场价
 					compName:'默认的供应商',//供应商
 					compId:'',
 					placeOfProduction:'',//产地
@@ -256,7 +256,7 @@
 					placeOfProductionId:0,
 					publishStatus:"0",
 					productSn:'',//商品货号
-					sort:'',//排序
+					sort:0,//排序
 					description:'',
 				},
 				pics:[],

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
unpackage/dist/build/h5/index.html