Commit c3178223 by LJM

二期

parent 83f0a649
......@@ -156,8 +156,20 @@
margin-right: 32rpx;
}
.curr {
position: relative;
color: #1969f9;
font-weight: bold;
&::after {
content: '';
background-color: #1969f9;
width: 51%;
height: 2px;
position: absolute;
bottom: -10rpx;
left: 0;
right: 0;
margin: 0 auto;
}
}
}
.h2 {
......
......@@ -233,8 +233,27 @@
.item-tit {
font-size: 20rpx;
color: #292b33;
font-weight: bold;
margin-bottom: 18rpx;
transition: all 0.2s ease;
text:first-child {
margin-right: 32rpx;
}
.curr {
position: relative;
color: #1969f9;
font-weight: bold;
&::after {
content: '';
background-color: #1969f9;
width: 51%;
height: 2px;
position: absolute;
bottom: -10rpx;
left: 0;
right: 0;
margin: 0 auto;
}
}
}
.h2 {
font-size: 17rpx;
......
......@@ -38,7 +38,12 @@
</view>
<view class="bor"></view>
<view class="item-tit row verCenter">
<text v-for="(v, index) in item" :key="index" :class="{ curr: curr == index }" @click="tab(index)">{{ v }}</text>
<template v-if="detail.sku_id > 0">
<text v-for="(v, index) in item" :key="index" :class="{ curr: curr == index }" @click="tab(index)">{{ v }}</text>
</template>
<template v-else>
<text>货品信息</text>
</template>
</view>
<template v-if="curr == 1">
<view class="field-item row" style="margin-bottom: 40rpx;">
......
......@@ -71,6 +71,10 @@
<text class="label">入仓号:</text>
<text class="tt">{{ item.inhouse }}</text>
</view>
<view class="text-item row verCenter" v-if="item.sku_id > 0">
<text class="label" style="width: 100rpx;">自营货品ID:</text>
<text class="tt">{{ item.sku_id }}</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">{{ item.goods_name }}</text>
......
......@@ -74,6 +74,10 @@
<text class="label">入仓号:</text>
<text class="tt">{{ item.inhouse }}</text>
</view>
<view class="text-item row verCenter" v-if="item.sku_id > 0">
<text class="label" style="width: 100rpx;">自营货品ID:</text>
<text class="tt">{{ item.sku_id }}</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">{{ item.goods_name }}</text>
......@@ -109,7 +113,7 @@
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
</view>
<view class="fix-btn row verCenter">
<view class="fix-btn row verCenter" v-if="list.length > 0">
<view class="btn1 row rowCenter verCenter" style="width: 127rpx;" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"></text>
<text class="text">{{ filter_id.length == 0 ? '全选' : filter_id.length }}</text>
......@@ -153,6 +157,10 @@
<text class="label">货品编码:</text>
<text class="tt" style="max-width: 100%;">{{ detail.goods_sn }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;" v-if="detail.sku_id > 0">
<text class="label">自营货品ID:</text>
<text class="tt" style="max-width: 100%;">{{ detail.sku_id }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">货品名称:</text>
<text class="tt" style="max-width: 100%;">{{ detail.goods_name }}</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment