fix:注意事项图片;个人资料保存传参

main
阿怪 8 months ago
parent e763f707cc
commit b40bc7deba

@ -189,9 +189,9 @@
</script>
<template>
<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-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">
<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">
@ -239,8 +239,15 @@
</view>
</template>
<style scoped lang="scss">
.ccTabs{
position: fixed;
top: 0px;
width: 100%;
z-index: 100;
}
.swiper{
height: var(--size);
margin-top: 80rpx;
}
.todoBox{
padding: 20rpx;

@ -123,7 +123,8 @@
nickname: userinfo.value.nickname,
// avatar: '',
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)
// console.log('res is ',res)
@ -169,8 +170,8 @@
function bindPickerChange(e) {
console.log(hospitals.value )
h_index.value = e.detail.value
}
</script>
}
</script>
<template>
<view class="userInfoBox page-box page-bg-gray">
<view class="avatar-box">
@ -250,8 +251,8 @@
</view>
</uni-popup>
<view class="pb-item pb-item-btn" style="margin-top: 40rpx;" @tap="sumbmitFunc"></view>
</view>
</template>
</view>
</template>
<style scoped lang="scss">
.avatar-box{
display: flex;
@ -379,5 +380,5 @@
.uni-popup__wrapper{
width: 100%;
}
}
}
</style>
Loading…
Cancel
Save