12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>市场活动-创业帮</title>
- <meta name="keywords" content="市场活动-创业帮">
- <meta name="description" content="市场活动-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="市场活动-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- </head>
- <body class="bgc-back">
- <div id="app">
- <van-sticky>
- <van-nav-bar class="mall_title user_title_normal" title="市场活动" @click-left="goback" v-if="toptitleisshow">
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- </van-sticky>
- <div class="pl16 pr16 mt8" v-html="ActContent"></div>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/appfunc.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/publicfn.js"></script>
- <script>
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
- PublicLib.SetStatusBarBgColor({bgcolor:'ffffff'});
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- ActContent: '',
- };
- },
- created() {
- this.toptitleisshow = toptitleisshow;
- this.getactivedetail();
- },
- methods: {
- async getactivedetail(){
- //- PublicLib.ShowLoading({Message:''});
- const Id = PublicLib.getCookieInfo('marketactiveId');
- const res = await getRequest('api/v1/activityinfo/detail?t='+Math.random(6),JSON.stringify({Id}));
- if(res.status !== '1') return tips('获取活动详情失败,请重试!');
- //- PublicLib.HideLoading();
- this.ActContent = res.data.ActContent;
- },
- goback(){
- PublicLib.GoBack({Level:1});
- }
- }
- });
- </script>
- </body>
- </html>
|