Commit 2467e3ad authored by linwenqing's avatar linwenqing

refactor:证书样式修改

parent c563b06d
......@@ -69,7 +69,7 @@
</view>
</view>
<view class="foot">
<text>证书机构:中华人民共和国应急管理部</text>
<text>证书机构:模考大师</text>
<text style="padding-top: 28rpx;">更新时间:{{ nowDate }}</text>
</view>
</view>
......@@ -98,7 +98,7 @@ export default {
return (Today.getFullYear() + '.' + (m.length > 1 ? m : '0' + m) + '.' + (d.length > 1 ? d : '0' + d))
},
headPhoto(){
return this.learnData.photo || process.uniEnv.qn_base_url + 'xueshitoubu@2x.png'
return this.learnData.photo || (process.uniEnv.qn_base_url + 'xitongtouxiang.png')
},
startDate() {
return this.learnData.startDate || ' '
......@@ -119,7 +119,7 @@ export default {
return this.learnData.subjectName || ' '
},
institutionName() {
return this.learnData.institutionName || ' '
return this.learnData.institutionName || '模考大师'
},
maxpoint() {
return this.learnData.maxPoint || 0
......
......@@ -40,7 +40,7 @@
</view>
</view>
<scroll-view scroll-y style="width:100%;">
<scroll-view scroll-y style="width: 702rpx;padding: 0 24rpx;">
<view class=" form">
<view class="item">
<text class="title">选择查询证书类型</text>
......@@ -79,7 +79,7 @@
<swiper-item @touchmove.stop.prevent="stopTouchMove">
<scroll-view
scroll-y
style="height:100%;width:100%;"
style="width: 702rpx;padding: 0 24rpx;"
@scrolltolower="onreachBottom"
scroll-y="true"
refresher-enabled="true"
......@@ -390,7 +390,7 @@ export default {
console.log('goto param', param)
if(param.type == 'learn'){
console.log('点击学时证,请求详情,组装参数再传过去')
// this.$u.api.getlearnCertDetail(param.id).then((res)=>{
this.$u.api.getlearnCertDetail(param.id).then((res)=>{
// let res = {
// photo: "https://thirdwx.qlogo.cn/mmopen/vi_32/c20Wk8HTurnNnKJMmnAnib9CUtqicwKKIMCvzViaBn0icNnpmeOQbSiaRklWCcfUOlW7oqj2o7u65d6F3ZwmZtLVZaw/132",//头像,
// name: "阿三哥",//名字,
......@@ -409,9 +409,9 @@ export default {
this.$u.route({
url: 'pages/cert/detailLearn',
})
// }).catch(err => {
// console.log(err)
// })
}).catch(err => {
console.log(err)
})
}else{
console.log('点击国家证,直接参数带过去', param)
getApp().globalData.certItemData = param
......@@ -509,7 +509,7 @@ page {
.study {
height: 100vh;
background: none;
padding: 0rpx 24rpx;
/* padding: 0rpx 24rpx; */
}
.form {
display: flex;
......@@ -522,7 +522,7 @@ page {
height: 100%;
}
.tips-top {
width: 702rpx;
width: 100%;
height: 72rpx;
line-height: 72rpx;
font-size: 24rpx;
......@@ -580,7 +580,7 @@ page {
}
.list-view {
width: 100%;
margin-bottom: 500rpx;
/* margin-bottom: 500rpx; */
.item {
width: 100%;
height: 444rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment