feat: 页面适配审核需求
parent
1171acbd27
commit
499c1360ba
|
|
@ -50,8 +50,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useLogin } from '@/login-sub/hooks/useUserInfo'
|
import { useLogin } from '@/login-sub/hooks/useUserInfo'
|
||||||
import Overlay from './Overlay.vue'
|
import Overlay from './Overlay.vue'
|
||||||
import RadioGroup from './radio-group/RadioGroup.vue'
|
|
||||||
import Radio from './radio-group/Radio.vue'
|
|
||||||
import Checkbox from './check-group/Checkbox.vue'
|
import Checkbox from './check-group/Checkbox.vue'
|
||||||
import CheckboxGroup from './check-group/CheckboxGroup.vue'
|
import CheckboxGroup from './check-group/CheckboxGroup.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ const userStore = useUserStore()
|
||||||
|
|
||||||
const list = ref([])
|
const list = ref([])
|
||||||
|
|
||||||
onLoad(() => {
|
onShow(() => {
|
||||||
getMyBusReports({ CustomId: userStore.userInfo?.estimatedAchievement.wxId }).then((res) => {
|
getMyBusReports({ CustomId: userStore.userInfo?.estimatedAchievement.wxId }).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
list.value = (res.result as { customReports: any[] }).customReports
|
list.value = (res.result as { customReports: any[] }).customReports
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<text>关于我们</text>
|
<text>关于我们</text>
|
||||||
<view class="i-carbon-chevron-down rotate-270 text-[#BFBFBF]"></view>
|
<view class="i-carbon-chevron-down rotate-270 text-[#BFBFBF]"></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex items-center justify-between mx-[32rpx] py-[28rpx]">
|
<view class="flex items-center justify-between mx-[32rpx] py-[28rpx]" @click.stop="toPrivacy">
|
||||||
<text>用户隐私协议</text>
|
<text>用户隐私协议</text>
|
||||||
<view class="i-carbon-chevron-down rotate-270 text-[#BFBFBF]"></view>
|
<view class="i-carbon-chevron-down rotate-270 text-[#BFBFBF]"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -45,6 +45,12 @@ const toAbout = () => {
|
||||||
url: '/pages-sub/ucenter/setting/about',
|
url: '/pages-sub/ucenter/setting/about',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const toPrivacy = () => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/login-sub/privacyPolicy',
|
||||||
|
})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
|
||||||
|
|
@ -69,18 +69,18 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import zTabs from '@/pages-sub/uni_modules/z-tabs/components/z-tabs/z-tabs.vue'
|
// import zTabs from '@/pages-sub/uni_modules/z-tabs/components/z-tabs/z-tabs.vue'
|
||||||
import { addUnCollection, deleteUnCollection, getUnCollectionList } from '@/service/index/api'
|
import { addUnCollection, deleteUnCollection, getUnCollectionList } from '@/service/index/api'
|
||||||
import { useUserStore } from '@/store'
|
import { useUserStore } from '@/store'
|
||||||
|
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const tabsList = ['院校']
|
// const tabsList = ['院校']
|
||||||
const currentTab = ref(0)
|
const currentTab = ref(0)
|
||||||
|
|
||||||
const handleTabChange = (index: number) => {
|
// const handleTabChange = (index: number) => {
|
||||||
currentTab.value = index
|
// currentTab.value = index
|
||||||
}
|
// }
|
||||||
|
|
||||||
const starList = ref([])
|
const starList = ref([])
|
||||||
const paging = ref(null)
|
const paging = ref(null)
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ const userStore = useUserStore()
|
||||||
|
|
||||||
const wishList = ref([])
|
const wishList = ref([])
|
||||||
|
|
||||||
onLoad(() => {
|
onShow(() => {
|
||||||
getWishList({ locationCode: userStore.userInfo.estimatedAchievement.provinceCode }).then(
|
getWishList({ locationCode: userStore.userInfo.estimatedAchievement.provinceCode }).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue