Browse Source

修改

master
liaoxinyu 1 year ago
parent
commit
987d55d9c0
  1. 2
      assets/scss/app.scss
  2. 50
      pages/auth/primary.vue
  3. 1
      uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue

2
assets/scss/app.scss

@ -593,7 +593,7 @@ navigator {
background-color: $panel-4 !important; background-color: $panel-4 !important;
} }
.uni-picker-view-mask { .uni-picker-view-mask {
background: var(--picker-mask); // background: var(--picker-mask);
background-position: top, bottom; background-position: top, bottom;
background-size: 100% 102px; background-size: 100% 102px;
background-repeat: no-repeat; background-repeat: no-repeat;

50
pages/auth/primary.vue

@ -102,32 +102,32 @@ export default {
detail: {}, detail: {},
countryList: [], countryList: [],
form: { form: {
realname: "", realname: "",
birthday: "", birthday: "",
type: "2", type: "2",
id_card: "", id_card: "",
address: "", address: "",
city: "", city: "",
postal_code: "", postal_code: "",
country_id: "", country_id: "",
country_code: "", country_code: "",
phone: "", phone: "",
}, },
single: "2023-06-3", single: "2023-06-3",
typeList: [ typeList: [
{ {
label: this.$t('auth.d2'), label: this.$t('auth.d2'),
value: 1, value: 1,
}, },
{ {
label: this.$t('auth.d3'), label: this.$t('auth.d3'),
value: 2, value: 2,
}, },
{ {
label: this.$t('auth.d4'), label: this.$t('auth.d4'),
value: 3, value: 3,
}, },
] ]
}; };
}, },
computed: { computed: {

1
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue

@ -384,6 +384,7 @@
}, },
}, },
created() { created() {
uni.setLocale('en');
// //
this.cale = new Calendar({ this.cale = new Calendar({
selected: this.selected, selected: this.selected,

Loading…
Cancel
Save