话不多说直接上代码
样式代码
<div
style="position: fixed;bottom:0;color:white;font-size:0.3rem;width:105%;height:1rem;text-align:center;line-height:1rem;background:red;margin-left:-2.5%;"
@click="GroupDetails_path_go"
>
微信支付¥{
{
shopInfoRes_list.grouponPrice }}
</div>
<div class="popup" v-show="cancellationoforder">您已取消支付</div>
js代码
GroupDetails_path_go() {
let data = {
uid: localStorage.getItem("Tuid"),
grouponId: this.id,
activityId: this.activityId
};
this.$http.post("/api/mcGroupBuy/joinGroupon", data).then(res => {
console