Browse Source

上传

master
前端-胡立永 6 months ago
parent
commit
1cd979a527
2 changed files with 18 additions and 9 deletions
  1. +4
    -1
      pages_order/components/list/workList/workItem.vue
  2. +14
    -8
      uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue

+ 4
- 1
pages_order/components/list/workList/workItem.vue View File

@ -9,7 +9,9 @@
</view>
<view class="index">
<view class="Salary">
{{item.minPrice}}-{{item.maxPrice}}
<text v-if="item.minPrice">{{item.minPrice}}</text>
-
<text v-if="item.maxPrice">{{item.maxPrice}}</text>
</view>
<view class="gang"
v-if="item.school">
@ -98,6 +100,7 @@
border-radius: 20rpx;
box-shadow: 0 0 6rpx 6rpx #00000011;
margin: 24rpx;
position: relative;
}
.hire {


+ 14
- 8
uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue View File

@ -1,14 +1,19 @@
<template>
<view class="uv-drop-down-popup">
<view class="uv-drop-down-popup"
>
<uv-transition :show="show" mode="fade" :duration="300" :custom-style="overlayStyle" @click="clickOverlay">
<view class="uv-dp__container" ref="uvDPContainer" :style="{height: `${height}px`}" @click.stop="blockClick">
<view class="uv-dp__container__list" ref="uvDPList">
<slot>
<view class="uv-dp__container__list--item" v-for="(item,index) in list" :key="index" @click="clickHandler(item,index)" :style="[itemCustomStyle(index)]">
<uv-text :text="item[keyName]" :size="getTextSize(index)" :color="getTextColor(index)"></uv-text>
</view>
</slot>
</view>
<scroll-view
style="height: 100%;"
scroll-y="true">
<view class="uv-dp__container__list" ref="uvDPList">
<slot>
<view class="uv-dp__container__list--item" v-for="(item,index) in list" :key="index" @click="clickHandler(item,index)" :style="[itemCustomStyle(index)]">
<uv-text :text="item[keyName]" :size="getTextSize(index)" :color="getTextColor(index)"></uv-text>
</view>
</slot>
</view>
</scroll-view>
</view>
</uv-transition>
</view>
@ -233,6 +238,7 @@
transition: all .15s;
/* #endif */
background-color: #fff;
max-height: 60vh;
}
.uv-dp__container__list {
&--item {


Loading…
Cancel
Save