mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-02-01 07:38:09 +00:00
update uniapp
This commit is contained in:
parent
699f744183
commit
08038705be
@ -83,7 +83,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (diyComponent.value.list.length == 0) {
|
if (diyComponent.value.list.length == 0) {
|
||||||
getWapIndexList().then((res) => {
|
getWapIndexList({}).then((res) => {
|
||||||
list.value = res.data;
|
list.value = res.data;
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -387,7 +387,6 @@
|
|||||||
|
|
||||||
diyComponent.value.list.forEach((item, index) => {
|
diyComponent.value.list.forEach((item, index) => {
|
||||||
item.imgWidth += 'px';
|
item.imgWidth += 'px';
|
||||||
item.imgHeight;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -87,7 +87,6 @@
|
|||||||
const rules = {
|
const rules = {
|
||||||
'mobile': [
|
'mobile': [
|
||||||
{
|
{
|
||||||
|
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
message: t('mobilePlaceholder'),
|
message: t('mobilePlaceholder'),
|
||||||
|
|||||||
@ -132,8 +132,7 @@
|
|||||||
const cashOutMoney = computed(() => {
|
const cashOutMoney = computed(() => {
|
||||||
return memberStore.info ? memberStore.info[ applyData.account_type ] : 0
|
return memberStore.info ? memberStore.info[ applyData.account_type ] : 0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
watch(() => applyData.transfer_type, (nval) => {
|
watch(() => applyData.transfer_type, (nval) => {
|
||||||
switch (nval) {
|
switch (nval) {
|
||||||
case 'bank':
|
case 'bank':
|
||||||
|
|||||||
@ -41,6 +41,7 @@
|
|||||||
import { t } from '@/locale'
|
import { t } from '@/locale'
|
||||||
import { moneyFormat, redirect, img } from '@/utils/common';
|
import { moneyFormat, redirect, img } from '@/utils/common';
|
||||||
import useMemberStore from '@/stores/member'
|
import useMemberStore from '@/stores/member'
|
||||||
|
|
||||||
const memberStore = useMemberStore();
|
const memberStore = useMemberStore();
|
||||||
const applyCashOut = ()=> {
|
const applyCashOut = ()=> {
|
||||||
uni.setStorageSync('cashOutAccountType', 'commission')
|
uni.setStorageSync('cashOutAccountType', 'commission')
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
import useMescroll from '@/components/mescroll/hooks/useMescroll.js';
|
import useMescroll from '@/components/mescroll/hooks/useMescroll.js';
|
||||||
import { getBalanceList, getMoneyList, getCommissionList} from '@/app/api/member';
|
import { getBalanceList, getMoneyList, getCommissionList} from '@/app/api/member';
|
||||||
import { onPageScroll, onReachBottom, onLoad, onShow } from '@dcloudio/uni-app';
|
import { onPageScroll, onReachBottom, onLoad, onShow } from '@dcloudio/uni-app';
|
||||||
|
|
||||||
const { mescrollInit, downCallback, getMescroll } = useMescroll(onPageScroll, onReachBottom);
|
const { mescrollInit, downCallback, getMescroll } = useMescroll(onPageScroll, onReachBottom);
|
||||||
|
|
||||||
const type = ref('')
|
const type = ref('')
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
lat: '',
|
lat: '',
|
||||||
lng: '',
|
lng: '',
|
||||||
address: '',
|
address: '',
|
||||||
address_name: '学府街学府街学府街',
|
address_name: '学府街',
|
||||||
full_address: '',
|
full_address: '',
|
||||||
is_default: 0,
|
is_default: 0,
|
||||||
area: '',
|
area: '',
|
||||||
@ -151,8 +151,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
@ -21,6 +21,7 @@ import MescrollBody from '@/components/mescroll/mescroll-body/mescroll-body.vue'
|
|||||||
import MescrollEmpty from '@/components/mescroll/mescroll-empty/mescroll-empty.vue';
|
import MescrollEmpty from '@/components/mescroll/mescroll-empty/mescroll-empty.vue';
|
||||||
import useMescroll from '@/components/mescroll/hooks/useMescroll.js';
|
import useMescroll from '@/components/mescroll/hooks/useMescroll.js';
|
||||||
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app';
|
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app';
|
||||||
|
|
||||||
const { mescrollInit, downCallback, getMescroll } = useMescroll(onPageScroll, onReachBottom);
|
const { mescrollInit, downCallback, getMescroll } = useMescroll(onPageScroll, onReachBottom);
|
||||||
|
|
||||||
let pointList = ref<Array<any>>([]);
|
let pointList = ref<Array<any>>([]);
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<u-tabbar :value="value" @change="tabbarChange" zIndex="9999" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true"
|
<u-tabbar :value="value" @change="tabbarChange" zIndex="9999" :fixed="true" :placeholder="true"
|
||||||
:inactive-color="tabbar.textColor" :active-color="tabbar.textHoverColor" v-if="tabbar">
|
:safeAreaInsetBottom="true" :inactive-color="tabbar.textColor" :active-color="tabbar.textHoverColor"
|
||||||
|
v-if="tabbar">
|
||||||
<block v-for="item in tabbar.list">
|
<block v-for="item in tabbar.list">
|
||||||
<u-tabbar-item :style="{'background-color': tabbar.backgroundColor}" :text="item.text"
|
<u-tabbar-item :style="{'background-color': tabbar.backgroundColor}" :text="item.text"
|
||||||
:icon="img(value == item.link.url ? item.iconSelectPath : item.iconPath)" :name="item.link.url"
|
:icon="img(value == item.link.url ? item.iconSelectPath : item.iconPath)" :name="item.link.url"
|
||||||
@ -29,7 +30,10 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
const tabbarChange = (name : string) => {
|
const tabbarChange = (name : string) => {
|
||||||
redirect({ url: `${name}` })
|
redirect({
|
||||||
|
url: `${name}`,
|
||||||
|
mode: 'reLaunch'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user