瀏覽代碼

修复bug

学习?学个屁 6 天之前
父節點
當前提交
e754330370

+ 2 - 2
src/pages/index/attestation/index.vue

@@ -2,7 +2,7 @@
 	<view class="content">
 		<view style="height: 190rpx;"></view>
 		<view class="a-title">
-			<view class="title">本人实名认证</view>
+			<view class="title">学员实名认证</view>
 			<view class="text">用于身份实名核验,反洗钱,资料将严格保密</view>
 		</view>
 		<!-- <view class="a-idcard-box">
@@ -34,7 +34,7 @@
 				<view class="">手机号码</view>
 				<input type="number" v-model="formData.phone" placeholder="请输入手机号" />
 			</view>
-			<view class="form-tips">老人或无手机号,可填写亲友手机号</view>
+			<view class="form-tips">请填写监护人手机号</view>
 			<view class="form-item-upload">
 				<view class="">近期照片</view>
 				<sunui-upimg :url="upPicUrl" :header="{ 'x-access-token': cache.get('TOKEN') }" ref="upload1"

+ 1 - 1
src/pages/index/gymDetail/index.vue

@@ -176,7 +176,7 @@
 							{{ item.address }} {{ item.km || '--' }}km
 						</view>
 						<view class="price">
-							<view class="" v-if="item?.sellingPrice">¥{{ item?.sellingPrice?.toFixed(2) }}</view>
+							<view class="" v-if="item?.sellingPrice != null">¥{{ item?.sellingPrice?.toFixed(2) }}</view>
 							<view class="" v-if="item?.originalPrice">¥{{ item?.originalPrice?.toFixed(2) }}</view>
 						</view>
 						<view class="course-count">

+ 2 - 2
src/pages/index/gymPay/index.vue

@@ -146,7 +146,7 @@
 			</block>
 			<view class="use-text">
 				<view class="item-text">
-					<rich-text :nodes="previewCourseInfo?.reminder"></rich-text>
+					<rich-text :nodes="fixImgStyle(previewCourseInfo?.reminder)"></rich-text>
 				</view>
 			</view>
 			<!-- <view class="use-tips-more"
@@ -224,7 +224,7 @@
 <script lang="ts" setup>
 import { ref, onMounted, computed } from 'vue';
 import { onLoad, onShareAppMessage } from '@dcloudio/uni-app';
-import { RouterUtils, TipsUtils, idCardHide, debounce } from '@/utils/util';
+import { RouterUtils, TipsUtils, idCardHide, debounce,fixImgStyle } from '@/utils/util';
 import { http } from '@/utils/http'
 import { useCacheStore } from '@/stores/cache'
 const cache = useCacheStore()

+ 2 - 2
src/pages/index/verificationRecord/index.vue

@@ -102,8 +102,8 @@
 						</view>
 					</view>
 				</view>
-				<view class="item-tips-text" v-else>补课表暂未排出</view>
 			</view>
+			<view class="item-tips-text" v-if="detailList.length == 0">暂无课程数据</view>
 		</view>
 	</view>
 </template>
@@ -125,7 +125,7 @@ onLoad((options) => {
 	proInfoList.value = JSON.parse(options.proInfoList)
 	proInfoList.value = proInfoList.value.filter((item: any) => item.type === 5)
 	console.log(proInfoList.value);
-	range.value = proInfoList.value.map((item:any,index:number) => ({
+	range.value = proInfoList.value.map((item: any, index: number) => ({
 		value: index,
 		text: `${item.ticketNo} ${item.userName}`
 	}))

+ 2 - 2
src/utils/http/index.ts

@@ -180,8 +180,8 @@ export class HttpClient {
 export const http = new HttpClient({
   // baseURL: 'http://192.168.0.217:8080/jeecg-boot/app',
   // baseURL: 'http://192.168.1.166:8080/jeecg-boot/app',
-  baseURL: 'http://192.168.0.11:8080/jeecg-boot/app',
-  // baseURL: 'https://api.qlapp.cn/jeecgboot/app', //生产
+  // baseURL: 'http://192.168.0.11:8080/jeecg-boot/app',
+  baseURL: 'https://api.qlapp.cn/jeecgboot/app', //生产
   headers: {
     'Content-Type': 'application/json'
   }