正在显示
7 个修改的文件
包含
16 行增加
和
11 行删除
@@ -100,8 +100,8 @@ | @@ -100,8 +100,8 @@ | ||
100 | }, | 100 | }, |
101 | globalData: { | 101 | globalData: { |
102 | userInfo: null, | 102 | userInfo: null, |
103 | - baseUrl: 'https://school.t.brotop.cn/api/', | ||
104 | - imageBaseUrl: 'http://school.t.brotop.cn' | 103 | + baseUrl:'https://school.t.brotop.cn/api/', |
104 | + imageBaseUrl:'http://school.t.brotop.cn' | ||
105 | }, | 105 | }, |
106 | } | 106 | } |
107 | </script> | 107 | </script> |
@@ -144,6 +144,7 @@ | @@ -144,6 +144,7 @@ | ||
144 | }) | 144 | }) |
145 | }, | 145 | }, |
146 | payment(res) { | 146 | payment(res) { |
147 | + | ||
147 | let that = this; | 148 | let that = this; |
148 | var timeStamp = res.timeStamp.toString(); | 149 | var timeStamp = res.timeStamp.toString(); |
149 | // console.log(timeStamp); | 150 | // console.log(timeStamp); |
@@ -72,15 +72,13 @@ data(){ | @@ -72,15 +72,13 @@ data(){ | ||
72 | methods:{ | 72 | methods:{ |
73 | toPubArticle(){ | 73 | toPubArticle(){ |
74 | let token=uni.getStorageSync("token"); | 74 | let token=uni.getStorageSync("token"); |
75 | - if(token==''{ | 75 | + if(token==''){ |
76 | uni.showToast({ | 76 | uni.showToast({ |
77 | title:'请登录后操作', | 77 | title:'请登录后操作', |
78 | icon:'none' | 78 | icon:'none' |
79 | }) | 79 | }) |
80 | }else{ | 80 | }else{ |
81 | - wx.navigateTo({ | ||
82 | - url:"./pubArticle" | ||
83 | - }) | 81 | + |
84 | } | 82 | } |
85 | 83 | ||
86 | }, | 84 | }, |
@@ -257,7 +257,6 @@ | @@ -257,7 +257,6 @@ | ||
257 | font-size: 28rpx; | 257 | font-size: 28rpx; |
258 | margin-top: 20rpx; | 258 | margin-top: 20rpx; |
259 | } | 259 | } |
260 | - | ||
261 | .btn_group { | 260 | .btn_group { |
262 | width: 226rpx; | 261 | width: 226rpx; |
263 | height: 352rpx; | 262 | height: 352rpx; |
@@ -266,7 +265,8 @@ | @@ -266,7 +265,8 @@ | ||
266 | left: 0; | 265 | left: 0; |
267 | background: transparent; | 266 | background: transparent; |
268 | border: none; | 267 | border: none; |
269 | - outline: none | 268 | + outline: none; |
269 | + | ||
270 | } | 270 | } |
271 | } | 271 | } |
272 | } | 272 | } |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | <rich-text :nodes="university.des_content" v-else></rich-text> | 19 | <rich-text :nodes="university.des_content" v-else></rich-text> |
20 | 20 | ||
21 | 21 | ||
22 | - <text style="color:#81C3BF" v-if="university.des_content!=''">[更多]</text> | 22 | + <text style="color:#81C3BF;width:400rpx" v-if="university.des_content!=''">[更多]</text> |
23 | </view> | 23 | </view> |
24 | 24 | ||
25 | </view> | 25 | </view> |
@@ -469,7 +469,11 @@ export default { | @@ -469,7 +469,11 @@ export default { | ||
469 | color:#06121E; | 469 | color:#06121E; |
470 | font-size: 24rpx; | 470 | font-size: 24rpx; |
471 | width: 500rpx; | 471 | width: 500rpx; |
472 | - height: 106rpx; | 472 | + height: 118rpx; |
473 | + display: -webkit-box; | ||
474 | + -webkit-box-orient: vertical; | ||
475 | + -webkit-line-clamp: 3; | ||
476 | + overflow: hidden; | ||
473 | } | 477 | } |
474 | 478 | ||
475 | } | 479 | } |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <image class="background" :src="universitylist.des_image=='http://school.t.brotop.cn'?'../../static/bg_img@2x.png':universitylist.des_image"></image> | 3 | <image class="background" :src="universitylist.des_image=='http://school.t.brotop.cn'?'../../static/bg_img@2x.png':universitylist.des_image"></image> |
4 | <view class="titleBox"> | 4 | <view class="titleBox"> |
5 | <view class="title">{{universitylist.name}}</view> | 5 | <view class="title">{{universitylist.name}}</view> |
6 | - <view class="eng">Hebei University of Technology</view> | 6 | + <view class="eng">{{universitylist.name_en}}</view> |
7 | </view> | 7 | </view> |
8 | 8 | ||
9 | <view class="schoolMsg"> | 9 | <view class="schoolMsg"> |
-
请 注册 或 登录 后发表评论