Forráskód Böngészése

替换图片地址

XSLu08042 1 hete
szülő
commit
04c570f280
2 módosított fájl, 11 hozzáadás és 9 törlés
  1. 5 3
      pages_course/register.vue
  2. 6 6
      pages_course/video.vue

+ 5 - 3
pages_course/register.vue

@@ -1,14 +1,14 @@
 <template>
 	<view class="register_box">
 		<template v-if="isRegister==0">
-			<image src="https://image.cdwjyyh.com/images/kc_hb_bg.png" class="imgbg" mode="widthFix"></image>
+			<image src="https://cdn.his.cdwjyyh.com/minapp/kc_hb_bg.png" class="imgbg" mode="widthFix"></image>
 			<view class="kc_footer">
-				<image src="https://image.cdwjyyh.com/images/kc_footer_bg.png" class="imgft" mode="widthFix"></image>
+				<image src="https://cdn.his.cdwjyyh.com/minapp/kc_footer_bg.png" class="imgft" mode="widthFix"></image>
 				<view class="kc_footer_btn" @click="getLink">{{isRegister==1?'注册成功':'立即注册'}}</view>
 			</view>
 		</template>
 		<view v-else class="success_box">
-			<image src="https://image.cdwjyyh.com/images/course_register_img.png" mode="heightFix"></image>
+			<image src="https://cdn.his.cdwjyyh.com/minapp/course_register_img.png" mode="heightFix"></image>
 			<view>注册成功</view>
 		</view>
 	</view>
@@ -36,6 +36,8 @@
 		      handler(val) {
 		        if (val == 2&&this.isLogin) {
 					console.log("注册AppToken失效,请重新登录")
+					uni.removeStorageSync('web_userInfo');
+					uni.removeStorageSync('TOKEN_WEXIN');
 					this.isLogin = false
 					this.goLogin()
 		        }

+ 6 - 6
pages_course/video.vue

@@ -1,20 +1,20 @@
 <template>
 	<view class="kc_bg">
 	<!-- 	<view class="header-nav" :style="{height: `calc(44px + ${statusBarHeight}px)`,paddingTop: statusBarHeight + 'px'}">
-			<image class="back_icon" src="https://image.cdwjyyh.com/images/course_home.png" mode="aspectFill" @click="goHome()"></image>
+			<image class="back_icon" src="https://cdn.his.cdwjyyh.com/minapp/course_home.png" mode="aspectFill" @click="goHome()"></image>
 		</view> -->
 		<view class="kc_body" :style="{paddingTop: `calc(44px + ${statusBarHeight}px + 32rpx)`}">
 			<view class="coursebox" @click="getLink(1)">
 				<image class="coursebox-img" :src="configJson.coverImg||courseInfo.imgUrl" mode="aspectFill"></image>
 				<view class="coursebox-title x-ac">
-					<image class="star" src="https://image.cdwjyyh.com/images/course_star.png"></image>
+					<image class="star" src="https://cdn.his.cdwjyyh.com/minapp/course_star.png"></image>
 					<view>{{courseInfo.title}}</view>
-					<image class="star" src="https://image.cdwjyyh.com/images/course_star.png"></image>
+					<image class="star" src="https://cdn.his.cdwjyyh.com/minapp/course_star.png"></image>
 				</view>
 			</view>
 			<view class="title">{{title}}</view>
 			<view class="name x-ac">
-				<image class="" src="https://image.cdwjyyh.com/images/course_select_icon.png"></image>
+				<image class="" src="https://cdn.his.cdwjyyh.com/minapp/course_select_icon.png"></image>
 				<text>播出主体:御君方互联网医院</text>
 			</view>
 			<view class="btn" @click="getLink(1)">点击开始观看</view>
@@ -194,7 +194,7 @@
 	}
 	.kc_bg {
 		min-height: 100vh;
-		background-image: url('https://image.cdwjyyh.com/images/kc_bg.png');
+		background-image: url('https://cdn.his.cdwjyyh.com/minapp/kc_bg.png');
 		// background-repeat: no-repeat;
 		background-size: 100%;
 	}
@@ -206,7 +206,7 @@
 		left: 0;
 		width: 100%;
 		box-sizing: border-box;
-		background-image: url('https://image.cdwjyyh.com/images/kc_bg.png');
+		background-image: url('https://cdn.his.cdwjyyh.com/minapp/kc_bg.png');
 		background-repeat: no-repeat;
 		background-size: 100%;
 		overflow: hidden;