Browse Source

Merge pull request 'feat: 样式调整;' (#6) from fox into master

Reviewed-on: http://175.178.51.79:3000/Augcl/education-front/pulls/6
master
Fox 3 weeks ago
parent
commit
0bb14123f5
4 changed files with 7 additions and 7 deletions
  1. +3
    -3
      pages_order/case/index.vue
  2. +2
    -2
      pages_order/thesis/index.vue
  3. +1
    -1
      pages_order/thesis/indexTwo.vue
  4. +1
    -1
      pages_order/thesis/search.vue

+ 3
- 3
pages_order/case/index.vue View File

@ -5,7 +5,7 @@
<navbar :title="details.title" leftClick @leftClick="$utils.navigateBack" bgColor="#4883F9" color="#FFFFFF" />
<view class="cover-image" :style="{ height: coverImageHeight }">
<image class="img" :src="details.paperImage" mode="aspectFill" ></image>
<image class="img" :src="details.paperImage" mode="scaleToFill" ></image>
</view>
<!-- 学生情况 -->
@ -83,13 +83,13 @@
data() {
return {
details: {},
coverImageHeight: '568rpx',
coverImageHeight: '890rpx',
}
},
onLoad({ articleId }) {
const windowWidth = uni.getSystemInfoSync().windowWidth
this.coverImageHeight = `${(windowWidth - 18) * 568 / 677}px`
this.coverImageHeight = `${(windowWidth - 18) * 890 / 750}px`
this.getData(articleId)
},


+ 2
- 2
pages_order/thesis/index.vue View File

@ -5,7 +5,7 @@
<navbar :title="details.title" leftClick @leftClick="$utils.navigateBack" bgColor="#4883F9" color="#FFFFFF" />
<view class="cover-image" :style="{ height: coverImageHeight }">
<image class="img" :src="details.image" mode="aspectFill" ></image>
<image class="img" :src="details.image" mode="scaleToFill" ></image>
<view class="shadow"></view>
</view>
<view class="page-title">
@ -579,7 +579,7 @@
}
.info {
// height: 181rpx;
min-height: 181rpx;
padding: 0 14rpx 0 266rpx;
.name {


+ 1
- 1
pages_order/thesis/indexTwo.vue View File

@ -5,7 +5,7 @@
<navbar :title="details.title" leftClick @leftClick="$utils.navigateBack" bgColor="#4883F9" color="#FFFFFF" />
<view class="cover-image" :style="{ height: coverImageHeight }">
<image class="img" :src="details.image" mode="aspectFill" ></image>
<image class="img" :src="details.image" mode="scaleToFill" ></image>
<view class="shadow"></view>
</view>
<view class="page-title">


+ 1
- 1
pages_order/thesis/search.vue View File

@ -20,7 +20,7 @@
<template v-if="total">
<view class="flex card" v-for="item in list" :key="item.id" @click="jumpToDetail(item.id)">
<view class="left">
<view class="title-box">
<view class="title-box" v-if="item.title">
<view class="title">{{ item.title }}</view>
</view>
<view class="content-box" v-if="item.shortTitle">


Loading…
Cancel
Save