| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title></title>
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <!--标准mui.css-->
- <link rel="stylesheet" href="../css/mui.min.css">
- <!--App自定义的css-->
- <!--<link rel="stylesheet" type="text/css" href="css/app.css" />-->
- <style>
- .mui-table h4,
- .mui-table h5,
- .mui-table .mui-h5,
- .mui-table .mui-h6,
- .mui-table p {
- margin-top: 0;
- }
-
- .mui-table h4 {
- line-height: 21px;
- font-weight: 500;
- }
-
- .mui-table .oa-icon {
- position: absolute;
- right: 0;
- bottom: 0;
- }
-
- .mui-table .oa-icon-star-filled {
- color: #f14e41;
- }
-
- .mui-bar-nav {
- background: #cd0000 !important;
- color: #fff;
- }
-
- .mui-bar-nav h1 {
- color: #fff;
- }
-
- .Messge {
- font-size: 12px;
- margin-top: 10px;
- margin-bottom: 10px;
- color: #8f8f94;
- text-align: center;
- }
-
- .Title {
- text-align: center;
- }
-
- .mui-content {
- background-color: #fff;
- }
-
- body {
- background: #FFF;
- }
- .Content{
- width: 100%;
- word-break:break-all;
- }
- </style>
- </head>
- <body>
- <header class="mui-bar mui-bar-nav" style="padding-right: 15px;height: 50px;color: #fff;">
- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
- <h1 class="mui-center mui-title">知识库详情</h1>
- </header>
- <div class="mui-content">
- <div class="" style="padding: 15px 10px;">
- <h4 class="Title"></h4>
- <div class="Messge">
- <span class="FBR" style="margin-right: 10px;"></span><span class="Times"></span>
- </div>
- <p class="Content" style=" text-indent:28px"></p>
- </div>
- </div>
- </body>
- <script src="../js/mui.min.js"></script>
- <script src="../js/zepto.js"></script>
- <script src="../js/huayi.config.js"></script>
- <script src="../js/utils/index.js"></script>
- <script>
- mui.init();
- window.onload = function () {
- var id = getQueryString('id');
- var token = localStorage.getItem("token");
- console.log(id)
- mui.ajax(huayi.config.callcenter_url + 'Knowledge/GetInfo', {
- data: {
- infoid: id,
- token: token,
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'get', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
-
- var time = data.data.F_CreateOn.substring(0, data.data.F_CreateOn.indexOf(' '));
- $(".Title").text(data.data.F_Title);
- $(".Content").html(data.data.F_Content);
- $(".Times").text('创建日期:' + time);
- },
- error: function(xhr, type, errorThrown) {
- //异常处理;
-
- }
- })
- }
-
- </script>
- </html>
|