@kengic/uni 0.7.14-beta.1 → 0.7.14-beta.2
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.
- package/package.json +2 -2
- package/page/KgPageMy.vue +25 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/uni",
|
|
3
|
-
"version": "0.7.14-beta.
|
|
3
|
+
"version": "0.7.14-beta.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node bin/postinstall.mjs"
|
|
6
6
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@dcloudio/uni-i18n": "3.0.0-alpha-3080220230428001",
|
|
19
19
|
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3080220230428001",
|
|
20
20
|
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3080220230428001",
|
|
21
|
-
"@kengic/core.core": "0.0.
|
|
21
|
+
"@kengic/core.core": "0.0.2-beta.0",
|
|
22
22
|
"@kengic/pont": "2.1.2",
|
|
23
23
|
"@types/lodash-es": "4.17.12",
|
|
24
24
|
"@types/node": "18.16.3",
|
package/page/KgPageMy.vue
CHANGED
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
<UniPopup ref="localePopupRef$" :type="'bottom'" class="my--uni-popup--locale">
|
|
19
19
|
<UniCard :isFull="true" :title="'语言'">
|
|
20
20
|
<view>
|
|
21
|
-
<view class="
|
|
21
|
+
<view class="body">
|
|
22
|
+
<view v-for="item in KG.LOCALE_DATA_LIST" :key="item.code" class="item">{{ item.text }}</view>
|
|
23
|
+
</view>
|
|
22
24
|
<view class="buttons">
|
|
23
25
|
<button class="btn btn-cancel" @tap.stop="$LocalePopup$cancel()">取消</button>
|
|
24
26
|
<button :type="'primary' as any" class="btn btn-ok" @tap.stop="$LocalePopup$ok">确认</button>
|
|
@@ -41,6 +43,7 @@
|
|
|
41
43
|
import { KgStation, KgTabBar, KgUpdatePopup, KgWarehouse, useKgStation, useKgWarehouse } from '../component';
|
|
42
44
|
import { UniCard, UniList, UniListItem, UniPopup } from '../uni-ui';
|
|
43
45
|
import { KgUtil } from '../util';
|
|
46
|
+
import { KG } from '../model';
|
|
44
47
|
|
|
45
48
|
const appStore = useAppStore();
|
|
46
49
|
const kgWarehouse = useKgWarehouse();
|
|
@@ -174,14 +177,32 @@
|
|
|
174
177
|
font-size: 13px;
|
|
175
178
|
}
|
|
176
179
|
|
|
177
|
-
.my--uni-popup--locale .uni-card {
|
|
178
|
-
margin: 0
|
|
180
|
+
.my--uni-popup--locale :deep(.uni-card) {
|
|
181
|
+
margin: 0 2px 1px 1px !important;
|
|
179
182
|
box-shadow: none !important;
|
|
180
183
|
border-radius: 3px !important;
|
|
181
184
|
border-left-width: 1px !important;
|
|
182
185
|
padding: 0px !important;
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
.my--uni-popup--locale .uni-card .uni-card__header {
|
|
188
|
+
.my--uni-popup--locale :deep(.uni-card) .uni-card__header {
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.my--uni-popup--locale :deep(.uni-card) .uni-card__content {
|
|
192
|
+
padding: 0px !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.my--uni-popup--locale :deep(.uni-card) .buttons {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
justify-content: space-between;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.my--uni-popup--locale :deep(.uni-card) .buttons uni-button {
|
|
202
|
+
flex: 1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.my--uni-popup--locale :deep(.uni-card) .buttons uni-button + uni-button {
|
|
206
|
+
margin-left: 1px;
|
|
186
207
|
}
|
|
187
208
|
</style>
|