123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <!DOCTYPE html>
- <html lang="zh">
- <head>
- <meta charset="utf-8" />
- <meta http-equv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="format-detection" content="telephone=no" />
- <title>潜山市党建引领信用村(社区)建设</title>
- <meta name="keywords" content="潜山市党建引领信用村(社区)建设">
- <meta name="description" content="潜山市党建引领信用村(社区)建设">
- <script src="static/js/vue.js"></script>
- <script type="text/javascript" src="static/js/vue-router.js"></script>
- <script src="static/js/index.js" type="text/javascript"></script>
- <script type="text/javascript" src="./static/js/jquery.min.js"></script>
- <script src="static/js/common.js"></script>
- <link href="static/css/common.css" rel="stylesheet" />
- <link href="static/css/style.css" rel="stylesheet" />
- <link rel="stylesheet" href="static/css/theme-chalk/index.css">
- <style></style>
- </head>
- <body class="qduse">
- <div id="appse">
- <header>
- <div class="quset">
- <div class="qusetimg"><img src="static/images/back.png" class="backimg" /></div>
- 政策指南
- </div>
- </header>
- </div>
- <div id="app" style="padding: 0 0.25rem;">
- <main>
- <div>
- <div class="f28 c2 mb3 fw">
- {{pdetail.policyTitle}}
- </div>
- <div class="f2 c67">{{pdetail.createTime}}</div>
- </div>
- <div class="policyd">
- <p class="f26 c2 mt6" v-html='pdetail.policyContent'></p>
-
- </div>
- </main>
- </div>
- <script type="text/javascript">
- var app = new Vue({
- el: '#app',
- data: {
- pdetail: {},
- base_url: 'http://118.31.23.65:5007/prod-api',
- policyId:''
- },
- created() {
- this.policyId = decodeURI(this.getQueryString("id"))
- this.getDataFn()
- },
- mounted() {
- },
- methods: {
- getDataFn() {
- var that = this;
- var params={
- pageNum:this.pageNum,
- pageSize:this.pageSize
- }
- $.ajax({
- url: this.base_url + '/system/h5/guide/'+that.policyId,
- type: 'Get',
- data: '',
- dataType: 'json',
- success: function(res) {
- if (res.code == 200) {
- that.pdetail=res.data||''
-
- } else {
- that.$message({
- message: res.msg,
- type: 'error',
- center: true,
- });
- }
- }
- })
- },
- getQueryString(name) {
- try {
- var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
- var r = window.location.href.split('?')[1].match(reg);
- // console.log(reg,r)
- if (r != null) {
- return r[2];
- }
- return ""; //如果此处只写return;则返回的是undefined
- } catch (e) {
- return ""; //如果此处只写return;则返回的是undefined
- }
- },
- }
- })
- </script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('.backimg').click(function() {
- window.history.go(-1)
- })
- })
- </script>
- </body>
- </html>
|