fix:注意事项图片;个人资料保存传参
This commit is contained in:
parent
e763f707cc
commit
b40bc7deba
@ -189,9 +189,9 @@
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<view class="todoBox page-box">
|
<view class="todoBox page-box">
|
||||||
<cc-newsTabs :tabArr="tabArr" :o_index="c_index" @tabChange="tabChange"></cc-newsTabs>
|
<cc-newsTabs class="ccTabs" style="position: fixed;top: 0px;" :tabArr="tabArr" :o_index="c_index" @tabChange="tabChange"></cc-newsTabs>
|
||||||
<swiper :current="c_index" @change="scroll_func" :style="{'--size':swiper_h+'px'}" class="swiper" circular :indicator-dots="false" :autoplay="false" >
|
<swiper :current="c_index" @change="scroll_func" :style="{'--size':swiper_h+'px'}" class="swiper" circular :indicator-dots="false" :autoplay="false" >
|
||||||
<swiper-item v-for="(item1) in list_box" :key="item1">
|
<swiper-item v-for="(item1) in list_box" :key="item1" style="overflow: auto;">
|
||||||
<view class="todoBox">
|
<view class="todoBox">
|
||||||
<template v-if="item1.list.length>0" >
|
<template v-if="item1.list.length>0" >
|
||||||
<view v-for="(item,i) in item1.list" @tap="handle_func(item,i)" :key="i" class="td-item swiper-item uni-bg-green">
|
<view v-for="(item,i) in item1.list" @tap="handle_func(item,i)" :key="i" class="td-item swiper-item uni-bg-green">
|
||||||
@ -239,8 +239,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.ccTabs{
|
||||||
|
position: fixed;
|
||||||
|
top: 0px;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
.swiper{
|
.swiper{
|
||||||
height: var(--size);
|
height: var(--size);
|
||||||
|
margin-top: 80rpx;
|
||||||
}
|
}
|
||||||
.todoBox{
|
.todoBox{
|
||||||
padding: 20rpx;
|
padding: 20rpx;
|
||||||
|
@ -123,7 +123,8 @@
|
|||||||
nickname: userinfo.value.nickname,
|
nickname: userinfo.value.nickname,
|
||||||
// avatar: '',
|
// avatar: '',
|
||||||
phone: userinfo.value.phone,
|
phone: userinfo.value.phone,
|
||||||
hospitalId:choosed_h.value?.ID
|
// hospitalId:choosed_h.value?.ID
|
||||||
|
hospitalId:hospitals.value[h_index.value].ID
|
||||||
}
|
}
|
||||||
const res = await api.userinfoUpdae(obj)
|
const res = await api.userinfoUpdae(obj)
|
||||||
// console.log('res is ',res)
|
// console.log('res is ',res)
|
||||||
@ -169,8 +170,8 @@
|
|||||||
function bindPickerChange(e) {
|
function bindPickerChange(e) {
|
||||||
console.log(hospitals.value )
|
console.log(hospitals.value )
|
||||||
h_index.value = e.detail.value
|
h_index.value = e.detail.value
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<view class="userInfoBox page-box page-bg-gray">
|
<view class="userInfoBox page-box page-bg-gray">
|
||||||
<view class="avatar-box">
|
<view class="avatar-box">
|
||||||
@ -250,8 +251,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<view class="pb-item pb-item-btn" style="margin-top: 40rpx;" @tap="sumbmitFunc">确定</view>
|
<view class="pb-item pb-item-btn" style="margin-top: 40rpx;" @tap="sumbmitFunc">确定</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.avatar-box{
|
.avatar-box{
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -379,5 +380,5 @@
|
|||||||
.uni-popup__wrapper{
|
.uni-popup__wrapper{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue
Block a user