@@ -49,7 +49,7 @@
<uni-steps :options="list1" :active-color="colorPrimary" :active="active" />
</view>
<view class="ad">
- <image src="../../static/images/ad_reshui.png" mode="aspectFit" class="ad_img" @tap="ad_redirect">
+ <image src="../../static/images/ad_reshui.jpg" mode="aspectFill" class="ad_img" @tap="ad_redirect">
</image>
<view class="title">
@@ -250,9 +250,9 @@
* 跳转到广告ad页
*/
ad_redirect() {
- uni.navigateTo({
- url: 'ad_reshui'
- })
+ // uni.navigateTo({
+ // url: 'ad_reshui'
+ // })
},
/**
* 保留小数点数值后两位,尾数四舍五入
@@ -1605,8 +1605,9 @@
.ad {
margin: 0 -40rpx;
- width: 750rpx;
- height: 216rpx;
+ padding: 10rpx;
+ width: 730rpx;
+ height: 424rpx;
.ad_img {
height: 100%;
@@ -6,7 +6,7 @@
export default {
data() {
return {
- url: 'https://www.chuanghai-tech.com/'
+ url: 'https://chtech.ncjti.edu.cn/yidong.html'
}
methods: {
@@ -192,8 +192,9 @@ page {
- height: 194rpx;
+ height: 310rpx;
@@ -72,7 +72,7 @@
台账管理
- <image src="../static/images/ad_dianfei.png" mode="aspectFit" class="ad_img" @tap="ad_redirect"></image>
+ <image src="../static/images/ad_dianfei.jpg" mode="aspectFill" class="ad_img" @tap="ad_redirect"></image>
</template>
@@ -138,9 +138,9 @@
* 跳转到ad页面
- url: 'ad_dianfei'
+ // url: 'ad_dianfei'
* 获取基本信息