Commit 2467e3ad authored by linwenqing's avatar linwenqing

refactor:证书样式修改

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