修改
This commit is contained in:
parent
552b923d2c
commit
919fbaea9f
@ -89,6 +89,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/study/study",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "我的学习",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
|
|||||||
@ -40,16 +40,16 @@
|
|||||||
在线学习
|
在线学习
|
||||||
</view>
|
</view>
|
||||||
<view class="cards">
|
<view class="cards">
|
||||||
<image src="../../static/xxpx.png" mode=""></image>
|
<image src="../../static/xxpx.png" mode="" @tap='gostudy'></image>
|
||||||
<image src="../../static/jnks.png" mode=""></image>
|
<image src="../../static/jnks.png" mode="" @tap='gostudy'></image>
|
||||||
<image src="../../static/zxkf.png" mode=""></image>
|
<image src="../../static/zxkf.png" mode="" @tap='gostudy'></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="centerfloat bottomfloat">
|
<view class="centerfloat bottomfloat">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
护理新闻
|
护理新闻
|
||||||
</view>
|
</view>
|
||||||
<view class="righttitle">
|
<view class="righttitle" @tap='gostudy'>
|
||||||
查看更多
|
查看更多
|
||||||
<u-icon name="arrow-right" color='#969494'></u-icon>
|
<u-icon name="arrow-right" color='#969494'></u-icon>
|
||||||
</view>
|
</view>
|
||||||
@ -122,6 +122,11 @@
|
|||||||
url: "/pages/template/template"
|
url: "/pages/template/template"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
gostudy() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/study/study'
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -20,7 +20,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="user" v-if="personRoleLoginFlag == 'stationRole'">
|
<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}}
|
{{phone}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -60,19 +61,19 @@
|
|||||||
我的收益
|
我的收益
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomitem">
|
<view class="bottomitem" @tap='gostudy'>
|
||||||
<image src="../../static/xuexi.png" mode=""></image>
|
<image src="../../static/xuexi.png" mode=""></image>
|
||||||
<view class="">
|
<view class="">
|
||||||
我的学习
|
我的学习
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomitem">
|
<view class="bottomitem" @tap='gostudy'>
|
||||||
<image src="../../static/kaoshi.png" mode=""></image>
|
<image src="../../static/kaoshi.png" mode=""></image>
|
||||||
<view class="">
|
<view class="">
|
||||||
我的考试
|
我的考试
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomitem">
|
<view class="bottomitem" @tap='gostudy'>
|
||||||
<image src="../../static/shezhi.png" mode=""></image>
|
<image src="../../static/shezhi.png" mode=""></image>
|
||||||
<view class="">
|
<view class="">
|
||||||
设置
|
设置
|
||||||
@ -163,6 +164,12 @@
|
|||||||
url: '/pages/Modifyinformation/Modifyinformation'
|
url: '/pages/Modifyinformation/Modifyinformation'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//我的学习
|
||||||
|
gostudy() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/study/study'
|
||||||
|
})
|
||||||
|
},
|
||||||
//我的收益
|
//我的收益
|
||||||
goMyBenefits() {
|
goMyBenefits() {
|
||||||
if (this.personRoleLoginFlag == 'nursePersonRole') {
|
if (this.personRoleLoginFlag == 'nursePersonRole') {
|
||||||
@ -299,7 +306,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 170rpx;
|
top: 170rpx;
|
||||||
left: 8%;
|
left: 8%;
|
||||||
border: 2rpx solid #6DD8FC;
|
border: 4rpx solid #6DD8FC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
89
pages/study/study.vue
Normal file
89
pages/study/study.vue
Normal 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>
|
||||||
Loading…
Reference in New Issue
Block a user