update uniapp

This commit is contained in:
全栈小学生 2023-10-28 12:27:53 +08:00
parent 699f744183
commit 08038705be
9 changed files with 13 additions and 11 deletions

View File

@ -83,7 +83,7 @@
}
if (diyComponent.value.list.length == 0) {
getWapIndexList().then((res) => {
getWapIndexList({}).then((res) => {
list.value = res.data;
})
} else {

View File

@ -387,7 +387,6 @@
diyComponent.value.list.forEach((item, index) => {
item.imgWidth += 'px';
item.imgHeight;
});
}
});

View File

@ -87,7 +87,6 @@
const rules = {
'mobile': [
{
type: 'string',
required: true,
message: t('mobilePlaceholder'),

View File

@ -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':

View File

@ -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')

View File

@ -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('')

View File

@ -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>

View File

@ -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>>([]);

View File

@ -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>