新增页面
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class='content'>
|
||||
<view class='search-view'>
|
||||
<view class='search-input'>
|
||||
<image :src='assetsUrl+"ic_search.png"'></image>
|
||||
<image :src=' assetsUrl("ic_search.png")'></image>
|
||||
<input placeholder='输入名称、款号搜索' />
|
||||
</view>
|
||||
</view>
|
||||
@@ -22,14 +22,14 @@
|
||||
<image class='goods-image' :src='item.goodsImage' />
|
||||
<text class='goods-name'>{{ item.goodsName }}</text>
|
||||
<text class='goods-price'>¥{{ item.goodsPrice }}</text>
|
||||
<image class='add-image' :src='assetsUrl+"ic_add_goods.png"' />
|
||||
<image class='add-image' :src=' assetsUrl("ic_add_goods.png")' />
|
||||
</view>
|
||||
</grid-view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<view class='shopping-cart'>
|
||||
<image :src='assetsUrl+"ic_shopping_cart.png"' />
|
||||
<image :src=' assetsUrl("ic_shopping_cart.png")' />
|
||||
<text>10</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -95,6 +95,7 @@ const changeCategory = (index: number) => {
|
||||
align-items: center;
|
||||
background: #F7F7F7;
|
||||
padding: 17rpx 23rpx;
|
||||
font-size: 26rpx;
|
||||
width: 100%;
|
||||
|
||||
image {
|
||||
@@ -127,6 +128,7 @@ const changeCategory = (index: number) => {
|
||||
text {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -219,6 +221,7 @@ const changeCategory = (index: number) => {
|
||||
top: -5rpx;
|
||||
right: -5rpx;
|
||||
color: white;
|
||||
font-size: 26rpx;
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #FFFFFF;
|
||||
|
Reference in New Issue
Block a user