You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235 lines
4.7 KiB
235 lines
4.7 KiB
10 months ago
|
<template>
|
||
|
<view class="goods">
|
||
|
<view class="search">
|
||
|
<view class="box">
|
||
|
<image src="/static/news/icon-search.png"></image>
|
||
|
<input type="search" placeholder="搜索订单" />
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="goods-bd">
|
||
|
<view class="li" v-for="i in 2" :key="i">
|
||
|
<view class="b">
|
||
|
<view class="item">
|
||
|
<view class="select">
|
||
|
<image mode="aspectFill" v-if="true" src="@/static/invoice/select.png" />
|
||
|
<image mode="aspectFill" v-else src="@/static/invoice/select-on.png" />
|
||
|
</view>
|
||
|
<view class="pic">
|
||
|
<image mode="aspectFill" src="@/static/home/phone.jpg" />
|
||
|
</view>
|
||
|
<!-- 此层wrap在此为必写的,否则可能会出现标题定位错误 -->
|
||
|
<view class="info">
|
||
|
<view class="title">荣耀畅玩 40 Plus 全网通5G版 绿8GB+128GB</view>
|
||
|
<view class="sku">
|
||
|
16GB,128GB
|
||
|
</view>
|
||
|
<view class="fd">
|
||
|
<view class="price">¥<text>1120</text></view>
|
||
|
<view class="kc">库存20</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="a">
|
||
|
<view class="status">商品状态:上架中</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="goods-fd">
|
||
|
<view class="a">
|
||
|
<image mode="aspectFill" v-if="true" src="@/static/invoice/select.png" />
|
||
|
<image mode="aspectFill" v-else src="@/static/invoice/select-on.png" />全选
|
||
|
</view>
|
||
|
<view class="b">共<text>0</text>件商品</view>
|
||
|
<view class="c">删除</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.goods{
|
||
|
padding: 0 0 130rpx;
|
||
|
overflow: hidden;
|
||
|
&-fd{
|
||
|
width: 100%;
|
||
|
padding: 20rpx;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
box-sizing: border-box;
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
z-index: 999;
|
||
|
background-color: #fff;
|
||
|
.a{
|
||
|
margin-right: 20rpx;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #313131;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
image{
|
||
|
width: 40rpx;
|
||
|
height: 40rpx;
|
||
|
margin-right: 10rpx;
|
||
|
}
|
||
|
}
|
||
|
.b{
|
||
|
text{
|
||
|
color: #ED2B00;
|
||
|
padding: 0 10rpx;
|
||
|
}
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #A2A2A2;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
.c{
|
||
|
width: 408rpx;
|
||
|
line-height: 80rpx;
|
||
|
background: #FF564A;
|
||
|
border-radius: 80rpx;
|
||
|
text-align: center;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 500;
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
|
}
|
||
|
.search{
|
||
|
width: 750rpx;
|
||
|
padding: 35rpx;
|
||
|
box-sizing: border-box;
|
||
|
.box{
|
||
|
padding: 15rpx 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
background: #F3F3F3;
|
||
|
border-radius: 60rpx;
|
||
|
image{
|
||
|
width: 28rpx;
|
||
|
height: 28rpx;
|
||
|
margin-right: 22rpx;
|
||
|
}
|
||
|
input{
|
||
|
flex: 1;
|
||
|
font-size: 28rpx;
|
||
|
line-height: 30rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&-bd{
|
||
|
padding: 0 30rpx;
|
||
|
overflow: hidden;
|
||
|
.a{
|
||
|
padding: 15rpx 0;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
.status{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #B6B6B6;
|
||
|
}
|
||
|
.btn{
|
||
|
width: 148rpx;
|
||
|
line-height: 64rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 64rpx;
|
||
|
text-align: center;
|
||
|
border: 1px solid #F55349;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #F55349;
|
||
|
}
|
||
|
}
|
||
|
.li{
|
||
|
overflow: hidden;
|
||
|
background-color: #fff;
|
||
|
padding: 0 30rpx;
|
||
|
margin-top: 15rpx;
|
||
|
&:first-child{
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
.item{
|
||
|
padding: 20rpx 0;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
border-bottom: 1px solid #EFEFEF;
|
||
|
.select{
|
||
|
width: 40rpx;
|
||
|
height: 40rpx;
|
||
|
margin-right: 20rpx;
|
||
|
image{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
}
|
||
|
.pic{
|
||
|
width: 160rpx;
|
||
|
height: 160rpx;
|
||
|
margin-right: 20rpx;
|
||
|
image{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
}
|
||
|
.info{
|
||
|
flex: 1;
|
||
|
max-width: 370rpx;
|
||
|
margin-right: 20rpx;
|
||
|
.title{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #000000;
|
||
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
}
|
||
|
.sku{
|
||
|
line-height: 48rpx;
|
||
|
margin-top: 10rpx;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #7C7C7C;
|
||
|
}
|
||
|
.fd{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
margin-top: 10rpx;
|
||
|
.price{
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 400;
|
||
|
color: #ED2B00;
|
||
|
}
|
||
|
.kc{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #B6B6B6;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|