shiyefenxi.vue 2.4 KB
<template>
  <div class="containerbox">
    <div class="flextwo sharetopk zuixin" @click="back">
      <div class="leftrow leftrowkimg">
        <img src="../../../assets/leftrowk.png" alt />
      </div>
      <div class="sharemiddle newacty">唐元集事业分析</div>
      <div class="sharebtn">
        <!-- <img src="../../../assets/sharebtn.png" alt /> -->
      </div>
    </div>

    <div class="containerboxk">
      <!-- <div class="fenxitop">
        唐元集品牌帮助小人物创业,轻资产创业,0风险开启素人创业之路 低投入
        高回报 助力创业之路
      </div>-->
      <div v-html="cause" style="font-size:0.32rem"></div>

      <!-- <div class="fenxione">
      <img src="../../../assets/fenxione.png" alt />
    </div>
    <div class="fenxitwo">
      <img src="../../../assets/fenxitwo.png" alt />
    </div>
    <div class="fenxithree">
      <img src="../../../assets/fenxithree.png" alt />
      </div>-->
    </div>
    <div class="clicknext" style="margin-bottom:1.5rem">点击下一页查看唐元集最新优惠活动>> >></div>
    <div class="flextwo shiyebotk">
      <div class="shibotleft" @click="prepage">上一页</div>
      <div class="shibotright" @click="nextpage">下一页</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      subid: "",
      cause: ""
    };
  },
  created() {
    document.title = "唐元集公众号";
    this.subid = this.$route.query.subid;
    this.getsghiyeresult();
  },

  methods: {
    back() {
      this.$router.go(-1);
    },
    nextpage() {
      this.$router.push({
        path: "/menkanactivity",
        query: { subid: this.subid }
      });
    },
    prepage() {
      this.$router.go(-1);
    },
    getsghiyeresult() {
      let that = this;
      var url = "/api/common/cause";
      let param = {};

      that.$axios
        .post(url, param)
        .then(function (res) {
          console.log(res);
          that.cause = res.data.cause;
        })
        .catch(function (err) {
          console.log(err);
        });
    }
  }
};
</script>

<style scoped>
@import "../../../style/usercenter.css";
.containerboxk {
  padding: 0.32rem;
  box-sizing: border-box;
  margin-top: 0.8rem;
}
.shiyebotk {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 0.18rem 0.32rem;
  box-sizing: border-box;
  z-index: 999999;
  background: #f9f9f9;
}
.seeactivity {
  margin-bottom: 1.5rem;
}
</style>