mali-applet-ui 0.2.73 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,19 +3,13 @@
|
|
|
3
3
|
<template #header>
|
|
4
4
|
<view class="ml-picker-drawer-header">
|
|
5
5
|
<view class="ml-picker-drawer-title">
|
|
6
|
-
<ml-
|
|
7
|
-
<ml-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<ml-col shrink>
|
|
14
|
-
<view class="ml-picker-drawer-confirm-btn">
|
|
15
|
-
<ml-button type="text" @click="confirmEvent">确定</ml-button>
|
|
16
|
-
</view>
|
|
17
|
-
</ml-col>
|
|
18
|
-
</ml-row>
|
|
6
|
+
<view class="ml-picker-drawer-close-btn" @click="cancelEvent">
|
|
7
|
+
<ml-icon name="close" />
|
|
8
|
+
</view>
|
|
9
|
+
<view class="ml-picker-drawer-title-content">{{ title }}</view>
|
|
10
|
+
<view class="ml-picker-drawer-confirm-btn">
|
|
11
|
+
<ml-button type="text" status="primary" @click="confirmEvent">确定</ml-button>
|
|
12
|
+
</view>
|
|
19
13
|
</view>
|
|
20
14
|
<view class="ml-picker-drawer-top">
|
|
21
15
|
<slot name="top"></slot>
|
|
@@ -87,18 +81,32 @@ export default {
|
|
|
87
81
|
display: block;
|
|
88
82
|
width: 100%;
|
|
89
83
|
.ml-picker-drawer-title {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: row;
|
|
90
86
|
height: 80rpx;
|
|
91
87
|
line-height: 80rpx;
|
|
88
|
+
overflow: hidden;
|
|
92
89
|
}
|
|
93
90
|
.ml-picker-drawer-close-btn {
|
|
91
|
+
flex-shrink: 0;
|
|
94
92
|
width: 80rpx;
|
|
95
93
|
text-align: center;
|
|
94
|
+
padding-right: 20rpx;
|
|
95
|
+
font-size: 28rpx;
|
|
96
96
|
// #ifdef H5
|
|
97
97
|
cursor: pointer;
|
|
98
98
|
// #endif
|
|
99
99
|
}
|
|
100
|
+
.ml-picker-drawer-title-content {
|
|
101
|
+
flex-grow: 1;
|
|
102
|
+
text-align: center;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
text-overflow: ellipsis;
|
|
106
|
+
}
|
|
100
107
|
.ml-picker-drawer-confirm-btn {
|
|
101
|
-
|
|
108
|
+
flex-shrink: 0;
|
|
109
|
+
padding-left: 30rpx;
|
|
102
110
|
}
|
|
103
111
|
}
|
|
104
112
|
</style>
|