gcz пре 4 година
родитељ
комит
959784b50d
3 измењених фајлова са 11 додато и 11 уклоњено
  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:[],

+ 1 - 1
unpackage/dist/build/h5/index.html

@@ -1,2 +1,2 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>贵州林产品信息发布平台</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.1e555237.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.d38c5624.js></script><script src=./static/js/index.3d4f1f80.js></script></body></html>
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.1e555237.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.d38c5624.js></script><script src=./static/js/index.70bc44c0.js></script></body></html>