依赖文件

This commit is contained in:
浅念
2025-03-20 17:35:53 +08:00
parent 634fe57349
commit 021ffc6052
1134 changed files with 137518 additions and 132 deletions
+25 -11
View File
@@ -1,17 +1,17 @@
<template>
<view class="content">
<z-paging ref="paging" v-model="datalist" @query="queryList" style="background: #F3F3F3;"
empty-view-text='暂无数据!'>
empty-view-text='暂无数据!' >
<template #top>
<view class="contop">
<view class="changeyy" @click="showlang = true">
<image src="/static/image/change.png" mode=""></image>{{$t('home.langbtn')}}
</view>
<view class="title">
{{$t('home.title')}} HESU CRM
{{$t('home.title')}} CRM
</view>
<view class="num">
66 <text>{{$t('home.day')}}</text>
{{statisticsdata.day}}<text>{{$t('home.day')}}</text>
</view>
</view>
<view class="data-briefing">
@@ -52,9 +52,9 @@
</view>
</view>
</z-paging>
<u-datetime-picker :cancel-text="$t('cancel')" :confirm-text="$t('confirm')" :show="show" v-model="value1"
<u-datetime-picker closeOnClickOverlay :cancel-text="$t('cancel')" :confirm-text="$t('confirm')" :show="show" @close="close('show')" v-model="value1"
@confirm="confirm" @cancel="cancel" mode="year-month"></u-datetime-picker>
<u-picker closeOnClickOverlay :cancel-text="$t('cancel')" :confirm-text="$t('confirm')" @close="close" :show="showlang" :columns="columns"
<u-picker closeOnClickOverlay :cancel-text="$t('cancel')" :confirm-text="$t('confirm')" @close="close('showlang')" :show="showlang" :columns="columns"
@cancel="cancellang" @confirm="confirmlang" :title="$t('home.langbtn')" keyName="label"></u-picker>
</view>
</template>
@@ -84,13 +84,13 @@
follow:'',
columns: [
[{
label: '中文',
id: 'zh'
label: this.$t('zh'),
id: 'zh-Hans'
}, {
label: 'English',
label: this.$t('en'),
id: 'en'
}, {
label: 'Russian',
label:this.$t('ru'),
id: 'ru'
}]
],
@@ -127,8 +127,8 @@
this.getstatistics()
},
methods: {
close(){
this.showlang = false
close(value){
this[value] = false
},
// 处理滚动事件
onPageScroll(event) {
@@ -157,8 +157,22 @@
},
//语言切换事件
confirmlang(e) {
// uni.setLocale(e.value[0].id)
this.$i18n.locale = e.value[0].id
uni.setStorageSync('i18locale', e.value[0].id);
this.showlang = false
this.columns =[
[{
label: this.$t('zh'),
id: 'zh-Hans'
}, {
label: this.$t('en'),
id: 'en'
}, {
label:this.$t('ru'),
id: 'ru'
}]
];
this.list1 = [{
name: this.$t('all'),
}, {