优化
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
<view class='shopping-cart'>
|
||||
<image :src='assetsUrl+"ic_shopping_cart.png"' />
|
||||
<text>10</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -207,5 +208,20 @@ const changeCategory = (index: number) => {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
|
||||
text {
|
||||
display: flex;
|
||||
min-width: 39rpx;
|
||||
min-height: 39rpx;
|
||||
background: #F32B2B;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
top: -5rpx;
|
||||
right: -5rpx;
|
||||
color: white;
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #FFFFFF;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@@ -168,14 +168,12 @@ const convertBase64 = (data: ArrayBuffer) => {
|
||||
|
||||
.barcode-view {
|
||||
display: flex;
|
||||
width: 80%;
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
align-self: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
//width: 100%;
|
||||
height: 130rpx;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user