You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
227 lines
18 KiB
227 lines
18 KiB
<template>
|
|
<view>
|
|
<view class="width100 fotct coupon-status font20 fcorred" v-if="couponDesInfo.couponAgentCode.status == 2">待使用
|
|
</view>
|
|
<view class="width100 fotct coupon-status font20 fcor41c" v-if="couponDesInfo.couponAgentCode.status == 1">待销售
|
|
</view>
|
|
<view class="width100 fotct coupon-status font20 fcor41c" v-if="couponDesInfo.couponAgentCode.status == 3">已使用
|
|
</view>
|
|
<view class="line1"></view>
|
|
<view class="width90">
|
|
<view class="flright fotct">
|
|
<image class="coupon-img" :src="imageUrl+couponDesInfo.couponInfo.couponImg"></image>
|
|
</view>
|
|
<view class="coupon-mes mart10">
|
|
<view class="fcor333 fontwig6 font24 width100 text2">{{couponDesInfo.couponInfo.couponName}}</view>
|
|
<view class="fcor666 font13 width100 mart5" v-if="oneTime">
|
|
出售时间:{{oneTime | formatDate('-')}}</view>
|
|
<view class="fcor666 font13 width100 mart5" v-if="twoTime">
|
|
使用有效期:{{twoTime | formatDate('-')}}</view>
|
|
<view class="fcorred font15 width100 mart5" v-if="threeTime">
|
|
消费时间:{{threeTime | formatDate('-')}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="width90 mart5 font13 fcor666" v-if="couponDesInfo.couponCode.storeName != null">加油站点:{{couponDesInfo.couponCode.storeName}}</view>
|
|
<view class="width90 mart5 font13 fcor666" v-if="couponDesInfo.couponAgentCode.remark != null ">备注:{{couponDesInfo.couponAgentCode.remark}}</view>
|
|
|
|
<view class="line1 mart15"></view>
|
|
<view class="width90 mart10 fcor666" v-if="couponDesInfo.highUserCoupon.status != 0">核销码(商户扫客户)</view>
|
|
<view class="mart20 fotct fcorred font15 marb20" v-if="couponDesInfo.highUserCoupon.status != 0">请告知加油员用码商支付</view>
|
|
<view class="width90 mart20 fotct" v-if="couponDesInfo.highUserCoupon.status != 0">
|
|
<image class="coupon-qr" :src="imageUrl+'couponCode/'+couponDesInfo.couponCode.ext1"></image>
|
|
</view>
|
|
<!-- <view class="width90 mart20" style="height: 80px;" v-for="(store,i) in storeList" :key="i">
|
|
<view class="coupon-des flleft">
|
|
立即<br>前往
|
|
</view>
|
|
<view class="coupon-cont-dh">
|
|
<view class="coupon-title flleft width70">
|
|
<view class="font20 fcor333 fontwig6 width100 text1">{{store.storeName}}</view>
|
|
<view class="font14 fcor999 width100 text2 mart5">{{store.address}}</view>
|
|
</view>
|
|
<view class="coupon-map flright width30 fotrt" @click="seeloaction(store)">
|
|
<image
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAgAElEQVR4Xu1dB3xUVdb/v+klmUx6JSSBEJIQ6aiAFEXsoqtY1oaromtBiW3V3TXu7rd+rvrZde2ioIJKEaSJlNAxhECoaQRC6qROb2/e97tvnDATprwpmYya+/vNbyBz7r3nnvt/59577jnnURgsv2sJUL/r0Q8OHoMA+J2DYBAAgwD4nUvgdz78QQ0wCIDwS2BL1xal1MzPhJCXIaD5aYsOyyf4y8W88/THnevUqE6MrO45WidWSPdxacvUYxqTF1s4nNDmJAyv4VLHG01dew3b1omuIzXiGHEF1/b4oDtEkDY9nP9sB9c6oaQLiwZ450hJVKY47+lEY/LDfKNIMWH8FJ7zIGLeroXabOM8LqWYh66HhvXSW21W/M/2v7D/V6RGc2rHrDPDqDbh1lH3YER8Pqc63oi6DB14c9+LkColEEqFfrfHAGYKaAKDZobBRh6D7xcWlJT73ZCfFfoNACVMCW9y9ejnpDzZjdGILoqBkmo0nQHVycfkqRe7sBkqAIjkIkgUYk4isBitMHQZcGPB7ShMHMOpjjciM23GizueZfsnfISkUNQRxsaso4CfikeWrA9Jm30a6RcAlNasXRHHJF4lp+Quj0IkAcBqpqHv0GNO3s0YkzIxJLJ9YdsT7ORzBaFfnVLUah6YDx4bUbLGr3o+iEMKgOUnltyZzkv7TxKVnOyu30gCgM1qg1alw5W512Ni2pSQyPSVXSUwC0zsMtBvJ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0CBKzB2T99+zfmg+GvB7Ekl7leXfvznKMvQRf5gjtIMAOFdiGt1+FFS/Dz5tDPil3KTVbkpiOs2PnTs6/+PV/sxLQAAgHRwtX/NuvmXIn/3pbBAA7qWlo1WIafrWHqRCtADRBlI3jh0ehB3o5Ae0BDjzUFax/H/Hm4Y9zRUEgwDwLiljzzaMrPkYDI8HikQqcchpEMzkBw0A0sCGg5/dM9s49iMuIBgEgG8paSwNyCBBKupq+0s3iTYQuc890ErJu1v5ijv9VfvOXAS8BDg3sqviq7G51vSNCXSM17ctDQLANwAIBU3e/tC+BsNOLQcj5Nu1gdMbWK3goYoXv/0bZM8qKSzxedb31mtIAEA6YMrKZK3Q/ZxMKz2+CnMQANwA4KBSm06g8MTb4Ft67AGsiXI0iGK1J/nKf00f+d5L/rXmnjpkAHA0X1O+4RYhw3s21RpfJISr6hoEgP9TZmD0kDUvw9DmzWhMTq5akj7xkqdzSzznzPezi5ADwNH/9sqvr463yJ9LoePGxJJgu8FjoJ9TQ6KXbehhujv1lK5cYm5fM6Hgtjf8bsRHhX4DgHO/VQd+eDTKJruNb6SHJamouF9bXECohe6pPRo0DNAb9dCdNsCwnhZRb16SeWVtf/YfFgA4BsCUlcXsMlVm16ebcpLEKTkKcVymjCdPF/PFAZmWnQWjPaPJstEWGMXG+v4UWKjbphlbnY2ylFsY3s7ZI64KmQc2Vz7DCgCuTA3ShU8CgwAIn6wjsqdBAETktISPqUEAhE/WEdnTIAAiclrCx9QgAMIn64jsaRAAETkt4WPq/wH9BMqeFzNygAAAAABJRU5ErkJggg==">
|
|
</image>
|
|
<view class="mart5 fcor999 font13">{{store.distance}}km</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
<view class="height60"></view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getCodeById
|
|
} from "../../../Utils/Api.js";
|
|
let app = getApp()
|
|
export default {
|
|
data() {
|
|
return {
|
|
couDesId: '',
|
|
imageUrl: app.globalData.imgUrl,
|
|
couponDesInfo: [],
|
|
storeList: [],
|
|
oneTime: '',
|
|
twoTime: '',
|
|
threeTime: '',
|
|
menddesId: ''
|
|
}
|
|
},
|
|
onLoad(option) {
|
|
this.couDesId = option.id;
|
|
this.getCodeById();
|
|
},
|
|
onUnload() {
|
|
let pages = getCurrentPages() //页面栈
|
|
let prePage = pages[pages.length - 2] //上一页
|
|
prePage.$vm.reFreshs = Math.random()
|
|
},
|
|
filters: {
|
|
//过滤器 用于格式化时间
|
|
formatDate: function(value, spe = '/') {
|
|
let data = new Date(value);
|
|
let year = data.getFullYear();
|
|
let month = data.getMonth() + 1;
|
|
let day = data.getDate();
|
|
let h = data.getHours();
|
|
let mm = data.getMinutes();
|
|
let s = data.getSeconds();
|
|
month = month >= 10 ? month : "0" + month;
|
|
day = day >= 10 ? day : "0" + day;
|
|
h = h >= 10 ? h : "0" + h;
|
|
mm = mm >= 10 ? mm : "0" + mm;
|
|
s = s >= 10 ? s : "0" + s;
|
|
return `${year}${spe}${month}${spe}${day} ${h}:${mm}:${s}`;
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
//我的卡券详情
|
|
getCodeById() {
|
|
uni.showLoading({
|
|
title: '加载中...'
|
|
})
|
|
let params = {
|
|
couponAgentCodeId: this.couDesId
|
|
}
|
|
getCodeById(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
this.couponDesInfo = res.return_data;
|
|
this.oneTime = res.return_data.couponCode.receiveTime;
|
|
this.twoTime = res.return_data.couponCode.useEndTime;
|
|
this.threeTime = res.return_data.couponCode.consumeTime;
|
|
uni.hideLoading()
|
|
} else {
|
|
uni.hideLoading()
|
|
}
|
|
})
|
|
},
|
|
//导航
|
|
seeloaction(e) {
|
|
uni.openLocation({
|
|
latitude: Number(e.latitude), //目的地的定位
|
|
longitude: Number(e.longitude), //目的地的定位
|
|
name: e.storeName,
|
|
address: e.address
|
|
})
|
|
},
|
|
|
|
/**
|
|
* 查询门店列表
|
|
*/
|
|
// getStoreListByCoupon() {
|
|
// uni.showLoading({
|
|
// title: '加载中...'
|
|
// })
|
|
|
|
// let params = {
|
|
// couponId: this.menddesId,
|
|
// longitude: app.globalData.longitude,
|
|
// latitude: app.globalData.latitude
|
|
// }
|
|
// getStoreListByCoupon(params).then(res => {
|
|
// if (res.return_code == '000000' && res.return_data.list != '') {
|
|
// uni.hideLoading();
|
|
// this.storeList = res.return_data;
|
|
// } else {
|
|
// this.storeList = [];
|
|
// uni.hideLoading()
|
|
// }
|
|
// })
|
|
// },
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.loading-text {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 60upx;
|
|
color: #979797;
|
|
font-size: 24upx;
|
|
}
|
|
|
|
.coupon-status {
|
|
height: 35px;
|
|
line-height: 35px;
|
|
}
|
|
|
|
.coupon-mes {
|
|
margin-right: 90px;
|
|
}
|
|
|
|
.coupon-img {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.coupon-qr {
|
|
width: 250px;
|
|
height: 250px;
|
|
}
|
|
|
|
.coupon-des {
|
|
width: 80px;
|
|
height: 80px;
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 28px;
|
|
border-radius: 10px;
|
|
background-color: red;
|
|
}
|
|
|
|
.coupon-cont-dh {
|
|
margin-left: 90px;
|
|
}
|
|
|
|
.coupon-map image {
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
.coupon-no {
|
|
height: 80px;
|
|
line-height: 80px;
|
|
border: 1px solid #b2b2b2;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.coupne-btn {
|
|
position: fixed;
|
|
bottom: 0px;
|
|
background-color: red;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.czlq {
|
|
position: absolute;
|
|
bottom: 0;
|
|
background-color: red;
|
|
color: #FFFFFF;
|
|
}
|
|
</style>
|
|
|