Commit 170420c8 by 李伟康

提交代码

1 parent 351d307a
......@@ -359,31 +359,44 @@
position: relative;
overflow: hidden;
@keyframes move-stripe {
from {
transform: translate(0);
}
to {
transform: translate(-100vw);
}
}
.stripe {
position: absolute;
width: 1000%;
width: 200vw;
height: 100%;
left: 0;
left:0;
top: 0;
animation: rolling 10s linear infinite;
&::after,
&::before {
display: block;
content: '';
width: 100%;
height: 100%;
border-radius: 9px;
transition: all 3s;
background: url('https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/line.png') repeat;
background-size: 28px 18px;
}
&::after {
transform: translateX(-18px);
width: calc(100% + 18px);
}
background: url('https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/line.png') repeat;
background-size: 28px 18px;
animation: move-stripe 30s infinite ease-in-out;
// animation: rolling 10s linear infinite;
// &::after,
// &::before {
// display: block;
// content: '';
// width: 100%;
// height: 100%;
// border-radius: 9px;
// transition: all 3s;
// background: url('https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/line.png') repeat;
// background-size: 28px 18px;
// }
// &::after {
// transform: translateX(-18px);
// width: calc(100% + 18px);
// }
}
......
.share-goods-box {
.share-item {
padding-bottom: 14px;
margin-bottom: 14px;
border-bottom: 1px solid #e3e3e6;
.title {
font-size: 16px;
font-weight: 500;
......@@ -9,6 +13,7 @@
margin-left: auto;
height: 17px;
font-size: 0;
span {
font-size: 12px;
font-weight: 400;
......@@ -20,4 +25,10 @@
}
}
}
}
.hideBorder {
border-bottom: none;
padding-bottom: 0;
}
\ No newline at end of file
......@@ -138,7 +138,6 @@ export default {
if (detail.buyFlag == 2 || detail.activityStatus != 2) return
this.showModal = true
},
/**明天继续这里添加车型 */
checkOut: util.debounce(({ obj, that }) => {
let { detail } = that
let { nickName, logo } = util.getUserInfo()
......
<template>
<div class="share-goods-box">
<div class="share-item">
<div class="title flex">
玩家心得(1885)
<div class="all flex">
......
<template>
<div class="share-goods-box">
<div :class="['share-item',{hideBorder}]">
<div class="title flex">
商品答疑(9)
<div class="all flex">
......@@ -14,6 +14,9 @@
<script type='text/ecmascript-6'>
export default {
name: 'FAQItem',
props: {
hideBorder: Boolean
},
data () {
return {
}
......@@ -27,9 +30,4 @@ export default {
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
.share-goods-box {
padding-top: 14px;
border-top: 1px solid #e3e3e6;
margin-top: 14px;
}
</style>
\ No newline at end of file
......@@ -149,9 +149,12 @@ export default {
this.showToast('请填写正确的手机号')
return
}
if (params.plateNo && !platNumberRex.test(params.plateNo)) {
this.showToast('请填写正确的车牌号')
return
if (params.plateNo) {
params.plateNo = params.plateNo.toUpperCase()
if (!platNumberRex.test(params.plateNo)) {
this.showToast('请填写正确的车牌号')
return
}
}
Object.keys(params).map(key => {
if (params[key]) obj[key] = params[key]
......
<template>
<div class="box">
<evaluate />
<FAQ-item />
<evaluate-item />
<FAQ-item hideBorder />
</div>
</template>
......@@ -20,7 +20,6 @@ export default {
</script>
<style scoped lang='scss'>
@import '@/assets/css/crowdfunding.scss';
.box {
border-radius: 4px;
max-height: 343px;
......
......@@ -35,21 +35,22 @@ export default {
methods: {
drawOrderImg (callBack) {
let {
plateNo,
payPrice,
userName,
orderCode,
userPhone,
plateNo,
vehicleBrandName,
vehicleSubBrandName,
vehicleSeriesName,
vehicleShapeName,
goodsName,
createdDate,
payPrice,
orderStatus,
formDescribeFirst,
createdDate,
vehicleBrandName,
vehicleShapeName,
formContentFirst,
vehicleSeriesName,
formDescribeFirst,
formContentSecond,
formDescribeSecond,
formContentSecond
vehicleSubBrandName,
} = this.orderInfo
this.ctx = document.getElementById(this.canvasId)
let valueX = 95,
......@@ -102,13 +103,35 @@ export default {
if (index == labelList.length - 1) textYList.push(452)
else textYList.push(index * 32 + 109 + spacing)
})
const imgName = {
8: '-2',
10: '-3'
}[orderStatus]
draw.drawImages({
url: require(`@/assets/images/order-bg${orderStatus == 8 ? '-2' : ''}.png`),
url: require(`@/assets/images/order-bg${imgName || ''}.png`),
x: 0,
y: 0,
width: canvasWidth,
height: canvasHeight,
}, () => {
if (orderStatus == 10) {
draw.drawText({
text: '商户订单号',
x: labelX - 1,
y: 24,
color: '#282829',
fontSize,
textBaseline
})
draw.drawText({
text: orderCode,
x: labelX - 1,
y: 54,
color: '#282829',
fontSize,
textBaseline
})
}
labelList && labelList.length > 0 && (labelList.map((e, index) => {
let y = textYList[index] + fontSize / 2
let label = {
......
......@@ -4,7 +4,7 @@ const pages = {
name: 'index',
meta: {
keepAlive: true,
noAuth: true,
// noAuth: true,
backgroundColor: '#F7F7F7'
},
},
......
......@@ -382,8 +382,8 @@ export default {
data.s_time = new Date(this.iosTimeFormat(data.startTime)).format('yyyy年M月d日')
data.e_time = new Date(this.iosTimeFormat(data.endTime)).format('yyyy年M月d日')
document.title = data.activityName
// this.getActivityGroup()
// this.getOrderList()
this.getActivityGroup()
this.getOrderList()
let [redirectUrl] = window.location.href.split('?')
if (data.activityVideos && data.activityVideos.length) {
/**安卓退出全屏 */
......@@ -413,7 +413,6 @@ export default {
data.hasDefaultBrands = true
}
this.detail = data
return
let name = '',
openId = '',
logo = ''
......@@ -481,6 +480,7 @@ export default {
})
if (items.length) arr.push(items)
data.arr = arr
data.progress = 88
this.groupInfo = data
this.updata = Date.now()
})
......
......@@ -40,7 +40,8 @@ export default {
let {
activityJoin,
payPrice,
orderGoods: [orderGoods]
orderGoods: [orderGoods],
orderCode
} = orderInfo
this.orderInfo = {
userName: activityJoin.userName,
......@@ -53,11 +54,12 @@ export default {
goodsName: orderGoods.goodsName,
createdDate: activityJoin.createdDate,
payPrice,
orderStatus: 1,
orderStatus: 10,
formContentFirst: activityJoin.formContentFirst,
formContentSecond: activityJoin.formContentSecond,
formDescribeFirst: activityJoin.formDescribeFirst,
formDescribeSecond: activityJoin.formDescribeSecond,
orderCode
}
},
methods: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!