Browse Source

优化样式

master
邓平艺 5 years ago
parent
commit
605ccba77b
  1. 2
      canteen/components/wyb-table/wyb-table.vue
  2. 8
      canteen/pages/purchase/detail.vue
  3. 2
      canteen/pages/purchase/receipt.vue
  4. 2
      supplier/components/wyb-table/wyb-table.vue
  5. 2
      supplier/pages/gonghuo/order.vue

2
canteen/components/wyb-table/wyb-table.vue

@ -151,7 +151,7 @@
:disabled="content.disabled || false" :disabled="content.disabled || false"
v-if="isObject(autoContentItem(cIndex, hIndex), 'edit')" v-if="isObject(autoContentItem(cIndex, hIndex), 'edit')"
:style="{minHeight: (minHeight[1] || minHeight[0]) + 'rpx'}" :style="{minHeight: (minHeight[1] || minHeight[0]) + 'rpx'}"
placeholder-style="30rpx"
placeholder-style="font-size: 30rpx"
:type="autoContentItem(cIndex, hIndex).type || 'number'" :type="autoContentItem(cIndex, hIndex).type || 'number'"
@blur="inputBlur(cIndex, hIndex, $event)" @blur="inputBlur(cIndex, hIndex, $event)"
:value="autoContentItem(cIndex, hIndex).value" /> :value="autoContentItem(cIndex, hIndex).value" />

8
canteen/pages/purchase/detail.vue

@ -38,7 +38,7 @@
<view class="lf-font-bold">{{ order.batch_sn }}</view> <view class="lf-font-bold">{{ order.batch_sn }}</view>
</view> </view>
<view class="lf-row-between list"> <view class="lf-row-between list">
<view>收货时间</view>
<view>预计收货时间</view>
<view class="lf-font-bold">{{order.deadline_text}}</view> <view class="lf-font-bold">{{order.deadline_text}}</view>
</view> </view>
<view class="list" v-if="supplier_voucher.length"> <view class="list" v-if="supplier_voucher.length">
@ -55,7 +55,7 @@
</view> </view>
</view> </view>
<self-line></self-line> <self-line></self-line>
<view class="lf-m-t-30 lf-m-l-32">
<view class="lf-m-t-30 lf-m-l-32 lf-m-r-32">
<view class="lf-font-32 lf-color-black lf-font-bold lf-m-b-20">物资明细</view> <view class="lf-font-32 lf-color-black lf-font-bold lf-m-b-20">物资明细</view>
<wyb-table :first-line-fixed="true" contentBgColor="#ecfaf5" :headers="headers" :contents="contents" width="max-content" height="80vh"></wyb-table> <wyb-table :first-line-fixed="true" contentBgColor="#ecfaf5" :headers="headers" :contents="contents" width="max-content" height="80vh"></wyb-table>
</view> </view>
@ -512,4 +512,8 @@
} }
} }
} }
// u-button 线
/deep/.u-hairline-border::after{
border: none;
}
</style> </style>

2
canteen/pages/purchase/receipt.vue

@ -2,7 +2,7 @@
<view class="content"> <view class="content">
<view class="card" v-for="(item, index) in list" :key="index"> <view class="card" v-for="(item, index) in list" :key="index">
<view class="lf-row-between"> <view class="lf-row-between">
<view class="lf-color-black lf-font-bold" v-if="item.material.m_name">{{ item.material.m_name }}</view>
<view class="lf-color-black lf-font-bold" v-if="item.material && item.material.m_name">{{ item.material.m_name }}</view>
<!-- 修改功能先隐藏 --> <!-- 修改功能先隐藏 -->
<!-- <view style="color: #11D189;" @click="showEdit">修改</view> --> <!-- <view style="color: #11D189;" @click="showEdit">修改</view> -->
</view> </view>

2
supplier/components/wyb-table/wyb-table.vue

@ -151,7 +151,7 @@
:disabled="content.disabled || false" :disabled="content.disabled || false"
v-if="isObject(autoContentItem(cIndex, hIndex), 'edit')" v-if="isObject(autoContentItem(cIndex, hIndex), 'edit')"
:style="{minHeight: (minHeight[1] || minHeight[0]) + 'rpx'}" :style="{minHeight: (minHeight[1] || minHeight[0]) + 'rpx'}"
placeholder-style="30rpx"
placeholder-style="font-size: 30rpx"
:type="autoContentItem(cIndex, hIndex).type || 'number'" :type="autoContentItem(cIndex, hIndex).type || 'number'"
@blur="inputBlur(cIndex, hIndex, $event)" @blur="inputBlur(cIndex, hIndex, $event)"
:value="autoContentItem(cIndex, hIndex).value" /> :value="autoContentItem(cIndex, hIndex).value" />

2
supplier/pages/gonghuo/order.vue

@ -31,7 +31,7 @@
</view> </view>
<view class="lf-row-between item" v-if="item.cate_number"> <view class="lf-row-between item" v-if="item.cate_number">
<view class="lf-color-gray">商品种类</view> <view class="lf-color-gray">商品种类</view>
<view class="lf-color-black">{{ item.cate_number }}</view>
<view class="lf-color-black">{{ item.cate_number }}</view>
</view> </view>
<view class="lf-row-between item" v-if="item.state"> <view class="lf-row-between item" v-if="item.state">
<view class="lf-color-gray">订单状态</view> <view class="lf-color-gray">订单状态</view>

Loading…
Cancel
Save