Commit 8f4f845b by 李伟康

提交代码

1 parent 614c8e6b
......@@ -96,9 +96,14 @@
height: 82px;
border-radius: 2px;
position: relative;
&:last-of-type {
margin-right: 16px;
.mask {
border-right: 16px solid #f7f7f7;
.line-box {
width: calc(100% - 16px);
}
}
}
.mask {
......@@ -109,10 +114,10 @@
left: 0;
z-index: 2;
background: #E9E8EC;
box-sizing: border-box;
img{
img {
object-fit: contain;
}
.line-box {
position: absolute;
left: 0;
......@@ -128,7 +133,8 @@
border-radius: 1px;
margin-left: 4%;
}
.duration{
.duration {
font-size: 8px;
color: #FFFFFF;
margin-left: auto;
......@@ -140,16 +146,16 @@
}
.onlyone {
.item {
width: 343px;
height: 192px;
margin: 0 auto !important;
}
.active {
.mask {
border-color: transparent;
border-right: none !important;
.line-box{
width: 100% !important;
}
}
}
}
......@@ -157,13 +163,16 @@
.onlytwo {
width: 100%;
justify-content: space-between;
padding: 0 16px;
box-sizing: border-box;
.item {
width: 166px;
height: 92px;
&:last-of-type {
margin-left: 0;
margin-left: 0;
.mask{
.line-box{
width: 100% !important;
}
}
}
}
......@@ -330,7 +339,8 @@
height: auto;
}
}
.tips{
.tips {
padding-top: 30px;
font-size: 10px;
}
......
......@@ -65,7 +65,7 @@ fetchConfig(!isMock).then(res => {
// 设置 js中可以访问 $cdn
Vue.use(cfg)
window.$fetchConfig = res
if (res.vconsole) new VConsole()
// if (res.vconsole) new VConsole()
/**登录过期 重新登录 */
window.reLogin = () => {
console.log('重新登录')
......
......@@ -75,7 +75,6 @@ export default {
watch: {
'detail': function (n) {
this.show = true
console.log(n)
let [price, decimal] = this.centsToyuan(n.retailPrice).toString().split('.')
if (!decimal) decimal = '00'
n.price = price
......
......@@ -378,9 +378,8 @@ export default {
},
getActivityGroup () {
shopmallApi.getActivityGroup(this.id).then(data => {
console.log(data)
let arr = [], items = []
// console.log(JSON.parse(JSON.stringify(data)))
console.log(JSON.parse(JSON.stringify(data)))
data.progress = data.fictitiousLadderQuantity != 0
? this.decimal((data.groupQuantity / data.fictitiousLadderQuantity) * 100, 2)
: this.decimal(data.groupQuantity * 100, 2)
......
......@@ -78,7 +78,7 @@ export default {
valueList.push(carText)
}
labelList = [...labelList, '商品名称:', '支付时间:', '支付定金']
valueList = [...valueList, orderGoods.goodsName, new Date().format('yyyy年M月d日 hh:mm:ss'), `${payPrice}元`]
valueList = [...valueList, orderGoods.goodsName, new Date(activityJoin.createdDate).format('yyyy年M月d日 hh:mm:ss'), `${payPrice}元`]
labelList.map((e, index) => {
if (e == '商品名称:' && draw.getTextWidth(carText) + valueX > valueWidth) spacing = 24
if (index == labelList.length - 1) textYList.push(352)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!