master
fanfan 1 month ago
parent efea124be3
commit 4522769607
  1. 45
      src/views/goods/Index.vue

@ -112,15 +112,22 @@
<span style="font-size: 12px"></span>
<!-- {{ generateItem.goods_price_min }} -->
<a-input
@blur="searchChange"
@blur="searchChange"
v-model:value="generateItem.goods_price_min"
style="width: 150px"
placeholder="请输入商品价格"
allow-clear
/>
<span style="font-size: 12px;color:#999;font-weight:500;text-decoration:line-through;line-height:32px">原价{{generateItem.line_price_min}}</span>
<span
style="font-size: 12px; color: #999; font-weight: 500; text-decoration: line-through; line-height: 32px"
>原价{{ generateItem.line_price_min }}</span
>
</div>
<div class="generateTips tags">
<div class="span">大牌正品 </div>
<div class="span"> 现货秒发</div>
<!-- <div class="span">超高好评</div> -->
</div>
<div class="generateTips tags"><div class="span">京东</div><div class="span">180天最低价</div><div class="span">超高好评</div></div>
<div class="generateName">{{ generateItem.goods_name }}</div>
<canvas ref="qrcodeCanvas" class="generate_code"></canvas>
<!-- <div class="generateTips" style="text-align: center">长按或扫码查看</div> -->
@ -1008,7 +1015,7 @@ export default {
})
.finally((result) => modal.destroy())
},
searchChange(){
searchChange() {
this.$message.success('修改完成', 1.5)
},
//
@ -1086,15 +1093,15 @@ export default {
color: #999;
margin: 5px 0;
}
.tags{
.tags {
overflow: hidden;
display: flex;
.span{
.span {
padding: 3px 8px;
background: #FFAAA4;
margin-right: 5px;
border-radius: 4px;
color: red;
background: #ffaaa4;
margin-right: 5px;
border-radius: 4px;
color: red;
}
}
.generate_code {
@ -1110,21 +1117,25 @@ export default {
border: none !important;
padding: 5px !important;
}
/deep/ .generatePrice ::-webkit-input-placeholder { /* Chrome, Opera, Safari */
/deep/ .generatePrice ::-webkit-input-placeholder {
/* Chrome, Opera, Safari */
font-size: 12px; /* 修改字体大小 */
}
/deep/ .generatePrice :-moz-placeholder { /* Firefox 18- */
/deep/ .generatePrice :-moz-placeholder {
/* Firefox 18- */
font-size: 12px; /* 修改字体大小 */
color: transparent; /* 解决Firefox字体颜色不随placeholder样式变化的问题 */
}
/deep/ .generatePrice ::-moz-placeholder { /* Firefox 19+ */
/deep/ .generatePrice ::-moz-placeholder {
/* Firefox 19+ */
font-size: 12px; /* 修改字体大小 */
color: transparent; /* 解决Firefox字体颜色不随placeholder样式变化的问题 */
}
/deep/ .generatePrice :-ms-input-placeholder { /* Internet Explorer 10-11 */
/deep/ .generatePrice :-ms-input-placeholder {
/* Internet Explorer 10-11 */
font-size: 12px; /* 修改字体大小 */
}
</style>

Loading…
Cancel
Save