diff --git a/api/common/commonApi.js b/api/common/commonApi.js index 25d549e..c5a47cd 100755 --- a/api/common/commonApi.js +++ b/api/common/commonApi.js @@ -100,3 +100,32 @@ export function uploadImageAsync(_objData,_that) { }); }) } + +/** + * 刷新用户 + * @param {Object} _objData + */ +export function getRegisterProtocol(){ + return new Promise((resolve, reject) => { + requestNoAuth({ + url: url.listRegisterProtocol, + method: "GET", + data: { + page:1, + row:1 + }, //动态数据 + success: function(res) { + if (res.data.code == 0) { + resolve(res.data.data); + return; + } + reject(); + }, + fail: function(e) { + reject(); + } + }); + }) +} + + diff --git a/constant/url.js b/constant/url.js index 1c2c2d8..8396b88 100755 --- a/constant/url.js +++ b/constant/url.js @@ -185,7 +185,8 @@ export default { listReserveGoodsOrderTime:baseUrl+"app/reserveOrder.listMyReserveGoodsOrderTime", // 查询预约订单 deleteReserveGoodsPerson:baseUrl+"app/reserveOrder.deleteReserveGoodsPerson", // 查询预约订单 listProductSeckill: baseUrl + "app/productSeckill.listProductSeckill", - listProductGroup: baseUrl + "app/productGroup.listProductGroup", + listProductGroup: baseUrl + "app/productGroup.listProductGroup", + listRegisterProtocol: baseUrl + "app/system.listRegisterProtocol", NEED_NOT_LOGIN_PAGE: [ diff --git a/pages.json b/pages.json index 099885d..cc39dac 100755 --- a/pages.json +++ b/pages.json @@ -703,6 +703,15 @@ } } + ,{ + "path" : "pages/login/registerProtocol", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], "tabBar": { "color": "#272636", diff --git a/pages/login/register.vue b/pages/login/register.vue index 79980c4..9ec1704 100755 --- a/pages/login/register.vue +++ b/pages/login/register.vue @@ -18,9 +18,15 @@ - + + + + + + 我已阅读 + 《用户须知》 + + @@ -30,7 +36,7 @@ + +