This commit is contained in:
曹辉 2023-04-10 16:48:17 +08:00
parent 552b923d2c
commit 919fbaea9f
4 changed files with 119 additions and 9 deletions

View File

@ -89,6 +89,15 @@
}
}
,{
"path" : "pages/study/study",
"style" :
{
"navigationBarTitleText": "我的学习",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",

View File

@ -40,16 +40,16 @@
在线学习
</view>
<view class="cards">
<image src="../../static/xxpx.png" mode=""></image>
<image src="../../static/jnks.png" mode=""></image>
<image src="../../static/zxkf.png" mode=""></image>
<image src="../../static/xxpx.png" mode="" @tap='gostudy'></image>
<image src="../../static/jnks.png" mode="" @tap='gostudy'></image>
<image src="../../static/zxkf.png" mode="" @tap='gostudy'></image>
</view>
</view>
<view class="centerfloat bottomfloat">
<view class="title">
护理新闻
</view>
<view class="righttitle">
<view class="righttitle" @tap='gostudy'>
查看更多
<u-icon name="arrow-right" color='#969494'></u-icon>
</view>
@ -122,6 +122,11 @@
url: "/pages/template/template"
})
},
gostudy() {
uni.navigateTo({
url: '/pages/study/study'
})
},
},
}
</script>

View File

@ -20,7 +20,8 @@
</view>
</view>
<view class="user" v-if="personRoleLoginFlag == 'stationRole'">
<view class="nickname" style="top:245rpx" v-if="phone">
<image class="img" src="../../static/users.png" mode=""></image>
<view class="phone" style="top:245rpx" v-if="phone">
{{phone}}
</view>
</view>
@ -60,19 +61,19 @@
我的收益
</view>
</view>
<view class="bottomitem">
<view class="bottomitem" @tap='gostudy'>
<image src="../../static/xuexi.png" mode=""></image>
<view class="">
我的学习
</view>
</view>
<view class="bottomitem">
<view class="bottomitem" @tap='gostudy'>
<image src="../../static/kaoshi.png" mode=""></image>
<view class="">
我的考试
</view>
</view>
<view class="bottomitem">
<view class="bottomitem" @tap='gostudy'>
<image src="../../static/shezhi.png" mode=""></image>
<view class="">
设置
@ -163,6 +164,12 @@
url: '/pages/Modifyinformation/Modifyinformation'
})
},
//
gostudy() {
uni.navigateTo({
url: '/pages/study/study'
})
},
//
goMyBenefits() {
if (this.personRoleLoginFlag == 'nursePersonRole') {
@ -299,7 +306,7 @@
position: absolute;
top: 170rpx;
left: 8%;
border: 2rpx solid #6DD8FC;
border: 4rpx solid #6DD8FC;
}
}

89
pages/study/study.vue Normal file
View File

@ -0,0 +1,89 @@
<template>
<view class="app">
<view class="concent">
<view class="background">
<image src="/static/logo.png" mode=""></image>
<view>
<view class="detailed">
<view>
敬请期待
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
//1.
onShareAppMessage(res) {
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
path: url,
}
},
//2.
onShareTimeline(res) {
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
path: url,
}
},
}
</script>
<style lang="scss">
.app {
padding-top: 10rpx;
.concent {
width: 701rpx;
height: 550rpx;
background: #4C7BC9;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
margin: 5% auto 20px;
.background {
position: relative;
width: 657rpx;
height: 500rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
margin: 0 auto;
top: 50%;
transform: translateY(-50%);
image {
width: 178rpx;
height: 200rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
margin-top: 0;
}
}
}
}
.detailed {
width: 657rpx;
padding: 0 20rpx;
line-height: 56rpx;
text-align: justify;
}
.detailed view {
text-indent: 2em;
}
</style>