|
|
@@ -1,17 +1,19 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
- <view class="picker">
|
|
|
- <picker
|
|
|
- @change="bindPickerChange"
|
|
|
- :value="index"
|
|
|
- :range="array"
|
|
|
- range-key="name"
|
|
|
- class="picker_self"
|
|
|
- >
|
|
|
- <view class="picker_title active">
|
|
|
- {{ picker_title }}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class="choose-box">
|
|
|
+ <view class="state">
|
|
|
+ <picker
|
|
|
+ @change="bindPickerChange"
|
|
|
+ :value="index"
|
|
|
+ :range="array"
|
|
|
+ range-key="name"
|
|
|
+ class="picker"
|
|
|
+ >
|
|
|
+ <view class="picker_title active">
|
|
|
+ {{ picker_title }}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="supplyList">
|
|
|
<view
|
|
|
@@ -157,40 +159,51 @@ export default {
|
|
|
.content {
|
|
|
font-size: 30rpx;
|
|
|
margin: 0 5%;
|
|
|
-
|
|
|
- .picker {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
- position: relative;
|
|
|
+ .choose-box {
|
|
|
+ padding: 20rpx 0;
|
|
|
width: 100%;
|
|
|
- margin: 20rpx 0;
|
|
|
- .picker_self {
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
- .picker_title {
|
|
|
- z-index: 99;
|
|
|
- // width: 100%;
|
|
|
- height: 100%;
|
|
|
+ display: flex;
|
|
|
+ height: 50rpx;
|
|
|
+ .state {
|
|
|
+ width: 50%;
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
+ // align-items: center;
|
|
|
+ position: relative;
|
|
|
+ .packer {
|
|
|
+ width: 100%;
|
|
|
+ .picker_title {
|
|
|
+ z-index: 99;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .state::after {
|
|
|
+ z-index: -1;
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ left: 24%;
|
|
|
+ top: 20%;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-top: 15rpx solid rgb(173, 173, 173);
|
|
|
+ border-left: 15rpx solid transparent;
|
|
|
+ border-right: 15rpx solid transparent;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
}
|
|
|
- .picker::after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- left: 11%;
|
|
|
- top: 20%;
|
|
|
- width: 0;
|
|
|
- height: 0;
|
|
|
- border-top: 15rpx solid rgb(173, 173, 173);
|
|
|
- border-left: 15rpx solid transparent;
|
|
|
- border-right: 15rpx solid transparent;
|
|
|
- }
|
|
|
+
|
|
|
.supplyList {
|
|
|
.supplyCard {
|
|
|
display: flex;
|
|
|
width: 92%;
|
|
|
- margin: 2% 0;
|
|
|
+ // margin: 2% 0;
|
|
|
+ margin-bottom: 2%;
|
|
|
padding: 2% 4%;
|
|
|
height: 5%;
|
|
|
border-radius: 30rpx;
|