diff --git a/components/detail-list-item/detail-list-item.vue b/components/detail-list-item/detail-list-item.vue index 03c5f81..69d21f5 100644 --- a/components/detail-list-item/detail-list-item.vue +++ b/components/detail-list-item/detail-list-item.vue @@ -235,7 +235,7 @@ export default { width: 68rpx; } - .lingzhu-tag { + .lingzhu-tag { position: absolute; left: 15rpx; top: 15rpx; @@ -257,17 +257,17 @@ export default { justify-content: center; align-items: center; font-weight: 400; - // background-color: ; - //背景渐变 - background: linear-gradient(to right, #8D5104, #3C0300); - color: #ffffff; - width: 48rpx; - height: 32rpx; - border-radius: 25rpx; - bottom: 15rpx; - left: 15rpx; - font-size: 24rpx; - line-height: 32rpx; + + background: url($iconurl + "fanbei.png") no-repeat; + background-size: 100% 100%; + color: #000; + width: 60rpx; + height: 48rpx; + // border-radius: 25rpx; + top: 15rpx; + right: 15rpx; + font-size: 28rpx; + line-height: 48rpx; } // 保留兼容旧版本 diff --git a/pages/mall/index.vue b/pages/mall/index.vue index e94c4b3..586b14b 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -81,7 +81,7 @@ - + @@ -252,9 +252,7 @@ export default { if (this.zhifu == 1) { } - // this[e] = !this[e] - - // this.confirmSubmit(0) + }, confirmSubmit(type) { diff --git a/pages/shouye/detail_wuxian.vue b/pages/shouye/detail_wuxian.vue index 2056225..014d0d3 100644 --- a/pages/shouye/detail_wuxian.vue +++ b/pages/shouye/detail_wuxian.vue @@ -160,6 +160,9 @@ + + + @@ -174,11 +177,19 @@ + - {{ a.shang_title }} + + + {{ a.shang_title + }} + + x{{ + a.doubling }} + {{ a.goodslist_title }} @@ -208,8 +219,7 @@ {{ item.shang_title }} {{ item.prize_num || '1' }} - + x{{ item.doubling }} @@ -1698,6 +1708,8 @@ export default { align-items: center; background: #F8F8F8; margin-top: 24rpx; + position: relative; + /* 添加相对定位 */ .avatar { width: 80rpx; @@ -1743,19 +1755,19 @@ export default { height: 100rpx; } - >view:nth-child(2) { - >view:nth-child(1) { - padding: 0 20rpx; - min-width: 68rpx; - height: 32rpx; - box-sizing: border-box; - line-height: 40rpx; - border-radius: 18rpx; - font-size: 14rpx; - color: #FFFFFF; - } + // >view:nth-child(2) { + // >view:nth-child(1) { + // padding: 0 20rpx; + // min-width: 68rpx; + // height: 32rpx; + // box-sizing: border-box; + // line-height: 40rpx; + // border-radius: 18rpx; + // font-size: 14rpx; + // color: #FFFFFF; + // } - } + // } .title { width: 120rpx; @@ -2506,4 +2518,65 @@ export default { line-height: 35rpx; color: #333333; } + +.log-tag { + padding: 0 20rpx; + min-width: 68rpx; + height: 32rpx; + box-sizing: border-box; + line-height: 32rpx; + border-radius: 18rpx; + font-size: 22rpx; + color: #FFFFFF; +} + +.multiple-tag { + + padding: 0 20rpx; + min-width: 50rpx; + height: 32rpx; + box-sizing: border-box; + line-height: 32rpx; + border-radius: 18rpx; + + color: #FFFFFF; + background-color: #BBF3D0; + font-size: 22rpx; + margin-left: 6rpx; +} + +/* 添加角标样式 */ +.corner-tag { + position: absolute; + left: 0; + top: 0; + background: url($iconurl + "fbs.png") no-repeat; + background-size: 100% 100%; + color: #FFFFFF; + font-size: 20rpx; + padding: 4rpx 12rpx; + border-radius: 0 0 12rpx 0; + z-index: 10; + min-width: 68rpx; + height: 32rpx; +} + +.log-multiple-tag { + position: absolute; + z-index: 5; + display: flex; + justify-content: center; + align-items: center; + font-weight: 400; + background: url($iconurl + "fanbei.png") no-repeat; + background-size: 100% 100%; + color: #000; + width: 68rpx; + height: 32rpx; + // border-radius: 25rpx; + top: 12rpx; + right: 12rpx; + font-size: 22rpx; + line-height: 32rpx; +} \ No newline at end of file