Commit d8cbd117 by 李伟康

修改样式

1 parent dcd49954
......@@ -29,7 +29,8 @@ module.exports = {
code_message_map: {}
},
secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b",
shopmall_appid: "wxe10067a63c1856ac",
// shopmall_appid: "wxfe82b8d65d07808f", //广汇
shopmall_appid: "wxe10067a63c1856ac", //嘀加
sign: {
appKey: "48e5e13229b82c1b4e6e8c96151f0637",
format: "json",
......
......@@ -7,6 +7,16 @@ export default {
},
mounted () {
if (this.$route.meta.isTab || this.$route.meta.isIndex) this.wxInit()
// wxConfig
// .createMiniprogramUrlLink({
// path: 'packageEquity/pages/active/active',
// appId: 'wxfe82b8d65d07808f',
// query: '?ss=ss',
// envVersion: 'release'
// })
// .then(url => {
// console.log(url)
// })
},
methods: {
wxInit () {
......
......@@ -30,28 +30,25 @@
<!-- 0:优惠券 1:精品礼券 2:商品订单 3:门店服务 -->
<template v-if="type == 0 || type == 1">
<div class="title flex">
<div class="name text-hide">{{item.userName || item.customerName}}</div>
<div class="time">
<template v-if="type == 0">
<template v-if="tabIndex == 0">
核销时间: {{new Date(item.verificationTime).format('yyyy/MM/dd')}}
</template>
<template v-else-if="tabIndex == 1">
领取时间:{{new Date(item.receiveTime).format('yyyy/MM/dd')}}
</template>
<template v-else>
发放时间:{{new Date(item.issueDate).format('yyyy/MM/dd')}}
</template>
<div class="name text-hide">
<template v-if="type == 0">{{item.phone}}</template>
<template v-else>{{item.userName || item.customerName}}</template>
</div>
<template v-if="type == 0">
<template v-if="(item.directionalGiftId || item.directionalGiftName)">
<div class="sprite-icon icon-gift-logo"></div>
</template>
<template v-else>
</template>
<template v-else>
<div class="time">
<template v-if="tabIndex == 0">
核销时间: {{new Date(item.usedTime).format('yyyy/MM/dd')}}
</template>
<template v-else>
领券时间:{{new Date(item.createdDate).format('yyyy/MM/dd')}}
</template>
</template>
</div>
</div>
</template>
</div>
<div class="info">
<template v-for="(i,ind) in type == 0?itemObj:itemObj2">
......@@ -76,6 +73,21 @@
</template>
</template>
</div>
<template v-if="type == 0">
<div class="bottom flex">
<div class="name">
<template v-if="tabIndex == 0">
核销时间: {{new Date(item.verificationTime).format('yyyy/MM/dd')}}
</template>
<template v-else-if="tabIndex == 1">
领取时间:{{new Date(item.receiveTime).format('yyyy/MM/dd')}}
</template>
<template v-else>
发放时间:{{new Date(item.issueDate).format('yyyy/MM/dd')}}
</template>
</div>
</div>
</template>
</template>
<template v-else-if="type == 2">
<div class="title flex">
......@@ -468,6 +480,31 @@ export default {
margin-bottom: 10px;
.title {
color: #333333;
position: relative;
.sprite-icon {
position: absolute;
right: 0;
top: 0;
}
}
.bottom {
color: #666666;
font-size: 12px;
padding: 0 12px;
min-height: 40px;
border-top: 1px solid #eff0f2;
.name {
flex-shrink: 0;
margin-left: auto;
}
.vip-btn {
height: 24px;
background: rgba(57, 117, 198, 0.15);
border-radius: 4px;
padding: 0 6px;
font-size: 12px;
color: #3975c6;
}
}
}
}
......@@ -536,7 +573,8 @@ export default {
min-height: 40px;
border-bottom: 1px solid #eff0f2;
padding-left: 12px;
.sprite-icon {
.time {
padding-right: 12px;
margin-left: auto;
}
}
......@@ -593,25 +631,6 @@ export default {
}
}
}
.bottom {
color: #666666;
font-size: 12px;
padding: 0 12px;
min-height: 40px;
border-top: 1px solid #eff0f2;
.name {
flex-shrink: 0;
margin-left: auto;
}
.vip-btn {
height: 24px;
background: rgba(57, 117, 198, 0.15);
border-radius: 4px;
padding: 0 6px;
font-size: 12px;
color: #3975c6;
}
}
}
}
.scan {
......
......@@ -50,7 +50,7 @@ const spritesmithFunction = data => {
return `${shared}\n${perSprite}`
}
module.exports = {
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main-lwk/', // 本地调试时需登录时使用
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-lwk/', // 本地调试时需登录时使用
// publicPath: './',
// publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!