style:办事指南
Showing
3 changed files
with
6 additions
and
6 deletions
... | @@ -5,13 +5,13 @@ $(function () { | ... | @@ -5,13 +5,13 @@ $(function () { |
5 | layui.use('element', function () { | 5 | layui.use('element', function () { |
6 | var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | 6 | var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 |
7 | }); | 7 | }); |
8 | // 新闻详情数据 | 8 | // 办事指南详情数据 |
9 | function _initData() { | 9 | function _initData() { |
10 | var newsDetail = $("#newsDetail"); | 10 | var newsDetail = $("#newsDetail"); |
11 | newsDetail.empty(); | 11 | newsDetail.empty(); |
12 | $.ajax({ | 12 | $.ajax({ |
13 | type: "get", //提交方式 | 13 | type: "get", //提交方式 |
14 | url: portal.api_url + "/portal/MhNotice/getMHDetailById",//路径 | 14 | url: portal.api_url + "/portal/MhGuide/getBsznDetailById",//路径 |
15 | data: { | 15 | data: { |
16 | "id": GetQueryString('id'), | 16 | "id": GetQueryString('id'), |
17 | }, | 17 | }, |
... | @@ -30,6 +30,6 @@ function _initData() { | ... | @@ -30,6 +30,6 @@ function _initData() { |
30 | function GetQueryString(name) { | 30 | function GetQueryString(name) { |
31 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); | 31 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); |
32 | var r = window.location.search.substr(1).match(reg); | 32 | var r = window.location.search.substr(1).match(reg); |
33 | if (r != null) return decodeURIComponent(r[2]); | 33 | if (r != null) return decodeURIComponent(r[2]).replace(/\"/g,""); |
34 | return null; | 34 | return null; |
35 | } | 35 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -13,7 +13,7 @@ function SetServicesPath() { | ... | @@ -13,7 +13,7 @@ function SetServicesPath() { |
13 | //设置全局參數 | 13 | //设置全局參數 |
14 | var portal = | 14 | var portal = |
15 | { | 15 | { |
16 | 'api_url': "http://192.168.2.59:8000", //属性名用引号括起来,属性间由逗号隔开 | 16 | 'api_url': "http://192.168.2.108:8000", //属性名用引号括起来,属性间由逗号隔开 |
17 | 'name': 'myName', | 17 | 'name': 'myName', |
18 | "rootPath": GetRootPath() | 18 | "rootPath": GetRootPath() |
19 | }; | 19 | }; | ... | ... |
... | @@ -89,7 +89,7 @@ | ... | @@ -89,7 +89,7 @@ |
89 | <ul class="online_list"> | 89 | <ul class="online_list"> |
90 | {{# for(var i = 0; i < item.bsznListVOS.length; i++){ }} | 90 | {{# for(var i = 0; i < item.bsznListVOS.length; i++){ }} |
91 | <li> | 91 | <li> |
92 | <a href=""> | 92 | <a href='./businessGuideDeatil.html?id="{{item.bsznListVOS[i].bsmBszn}}"' target="_blank"> |
93 | <span>{{item.bsznListVOS[i].headline}}</span> | 93 | <span>{{item.bsznListVOS[i].headline}}</span> |
94 | <button type="button" | 94 | <button type="button" |
95 | class="layui-btn layui-btn-sm layui-btn-normal">在线办理</button> | 95 | class="layui-btn layui-btn-sm layui-btn-normal">在线办理</button> |
... | @@ -116,7 +116,7 @@ | ... | @@ -116,7 +116,7 @@ |
116 | <ul class="online_list"> | 116 | <ul class="online_list"> |
117 | {{# for(var i = 0; i < item.bsznListVOS.length; i++){ }} | 117 | {{# for(var i = 0; i < item.bsznListVOS.length; i++){ }} |
118 | <li> | 118 | <li> |
119 | <a href=""> | 119 | <a href='./businessGuideDeatil.html?id={{item.bsznListVOS[i].bsmBszn}}'> |
120 | <span>{{item.bsznListVOS[i].headline}}</span> | 120 | <span>{{item.bsznListVOS[i].headline}}</span> |
121 | <button type="button" | 121 | <button type="button" |
122 | class="layui-btn layui-btn-sm layui-btn-normal">在线办理</button> | 122 | class="layui-btn layui-btn-sm layui-btn-normal">在线办理</button> | ... | ... |
-
Please register or sign in to post a comment