@kengic/uni 0.7.14-beta.0 → 0.7.14-beta.1
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/bin/postinstall.mjs +1 -1
- package/package.json +1 -1
- package/page/KgPageMy.vue +21 -10
package/bin/postinstall.mjs
CHANGED
package/package.json
CHANGED
package/page/KgPageMy.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="my">
|
|
3
|
-
<UniList class="uni-list
|
|
3
|
+
<UniList class="uni-list--setting">
|
|
4
4
|
<UniListItem link title="语言" :right-text="localeRightText$$" @click="$LocalePopup$open" />
|
|
5
5
|
<UniListItem link title="仓库" :right-text="warehouseRightText$$" @click="openKgWarehouse" />
|
|
6
6
|
<UniListItem link title="工作站 - 工作区" :right-text="stationRightText$$" @click="openKgStation" />
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
<!--#ifdef APP-PLUS-->
|
|
10
10
|
<UniListItem link title="当前版本" :right-text="currentVersion" @click="checkForUpdate" />
|
|
11
|
-
<UniListItem class="list-item
|
|
11
|
+
<UniListItem class="list-item--check-for-update" clickable title="检查更新" @click="checkForUpdate" />
|
|
12
12
|
<!--#endif-->
|
|
13
13
|
|
|
14
|
-
<UniListItem class="list-item
|
|
14
|
+
<UniListItem class="list-item--logout" clickable title="退出系统" @click="logout" />
|
|
15
15
|
</UniList>
|
|
16
16
|
</view>
|
|
17
17
|
|
|
18
|
-
<UniPopup ref="localePopupRef$" :type="'bottom'">
|
|
18
|
+
<UniPopup ref="localePopupRef$" :type="'bottom'" class="my--uni-popup--locale">
|
|
19
19
|
<UniCard :isFull="true" :title="'语言'">
|
|
20
20
|
<view>
|
|
21
|
-
<view class="login-config-form"> TODO
|
|
21
|
+
<view class="login-config-form"> TODO</view>
|
|
22
22
|
<view class="buttons">
|
|
23
23
|
<button class="btn btn-cancel" @tap.stop="$LocalePopup$cancel()">取消</button>
|
|
24
24
|
<button :type="'primary' as any" class="btn btn-ok" @tap.stop="$LocalePopup$ok">确认</button>
|
|
@@ -150,27 +150,38 @@
|
|
|
150
150
|
</script>
|
|
151
151
|
|
|
152
152
|
<style lang="scss">
|
|
153
|
-
.my .uni-list
|
|
153
|
+
.my .uni-list--setting {
|
|
154
154
|
background-color: #e0e0e0;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.my .list-item
|
|
157
|
+
.my .list-item--check-for-update {
|
|
158
158
|
text-align: center;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.my .list-item
|
|
161
|
+
.my .list-item--check-for-update :deep .uni-list-item__content-title {
|
|
162
162
|
color: #2979ff;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.my .list-item
|
|
165
|
+
.my .list-item--logout {
|
|
166
166
|
text-align: center;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.my .list-item
|
|
169
|
+
.my .list-item--logout :deep .uni-list-item__content-title {
|
|
170
170
|
color: red;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.my :deep .uni-list-item__content-title {
|
|
174
174
|
font-size: 13px;
|
|
175
175
|
}
|
|
176
|
+
|
|
177
|
+
.my--uni-popup--locale .uni-card {
|
|
178
|
+
margin: 0 1px 1px 1px !important;
|
|
179
|
+
box-shadow: none !important;
|
|
180
|
+
border-radius: 3px !important;
|
|
181
|
+
border-left-width: 1px !important;
|
|
182
|
+
padding: 0px !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.my--uni-popup--locale .uni-card .uni-card__header {
|
|
186
|
+
}
|
|
176
187
|
</style>
|