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