ソースを参照

隐藏部分4期功能

chenxiong 3 年 前
コミット
5174e7df50
5 ファイル変更24 行追加13 行削除
  1. 1 1
      common/request.js
  2. 8 3
      pages/index/index.vue
  3. 2 2
      pages2/order/index.vue
  4. 11 5
      pages2/plan/index.vue
  5. 2 2
      pages3/polyv/detail.vue

+ 1 - 1
common/request.js

@@ -10,7 +10,7 @@ export const BASE_URL = 'http://42.192.164.187:19005'    //test
 
  //图片上传api
 // export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
- export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
+export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 export const tenantId = '867735392558919680' 
 export const myRequest = (options) => {
 	if (store.state.allowLoading) {

+ 8 - 3
pages/index/index.vue

@@ -7,9 +7,14 @@
 		</u-navbar>
 		<view class="swiper">
 			<swiper :indicator-dots="false" indicator-color="#fff" indicator-active-color="#007AFF" :style="{'height':swiperHeight+'rpx'}" @change="swiperChange" :interval="interval" :duration="duration"  :autoplay="autoplay" :circular="true">
-				<swiper-item v-for="(swiper,index) in list" :key="index" @click="swiperClick(swiper)">
+				<!-- <swiper-item v-for="(swiper,index) in list" :key="index" @click="swiperClick(swiper)">
 					<image @load="imageLoad" :src="$method.splitImgHost(swiper.adverUrl, true)" mode="widthFix"></image>
+				</swiper-item> -->
+				<swiper-item >
+					<image @load="imageLoad" src="http://file.xyyxt.net/oss/images/file/20220111.jpg" mode="widthFix"></image>
 				</swiper-item>
+				
+				
 			</swiper>
 			<view class="dots">
 				<view class="dot" :class="{'active':index == current}" v-for="(swiper,index) in list" :key="index"></view>
@@ -92,7 +97,7 @@
 				<navigator  hover-class="none" class="item" v-for="(item,index) in list1" :key="index" :url="'/pages3/course/detail?id='+item.goodsId">
 					<view class="img">
 						<image :src="$method.splitImgHost(item.coverUrl, true)"></image>
-						<view class="time">{{item.year?item.year:''}}</view>
+						<view class="time" v-if="item.year">{{item.year?item.year:''}}</view>
 					</view>
 					<view class="text">
 						<view class="title">{{item.goodsName}}</view>
@@ -111,7 +116,7 @@
 			 	<navigator  hover-class="none" class="item" v-for="(item,index) in list2" :key="index" :url="'/pages2/bank/detail?id='+item.goodsId">
 					<view class="img">
 						<image :src="$method.splitImgHost(item.coverUrl, true)"></image>
-						<view class="time">{{item.year?item.year:''}}</view>
+						<view class="time" v-if="item.year">{{item.year?item.year:''}}</view>
 					</view>
 					<view class="text">
 						<view class="title">{{item.goodsName}}</view>

+ 2 - 2
pages2/order/index.vue

@@ -49,9 +49,9 @@
 			</template>
 			
 
-			<template v-if="current == 1 && order.length">
+			<!-- <template v-if="current == 1 && order.length">
 				<view class="apply-invoice" @click="goInvoice">发票申请</view>
-			</template>
+			</template> -->
 			
 		</view>
 	</view>

+ 11 - 5
pages2/plan/index.vue

@@ -704,8 +704,9 @@ export default {
 	margin: 0 auto;
 }
 .date_note {
-	border-radius: 50%;
-	width: 29rpx;
+	border-radius: 15rpx;
+	padding:0 5rpx;
+	min-width:50rpx;
 	height: 29rpx;
 	line-height: 25rpx;
 	border: 1px solid #ffcc00;
@@ -715,11 +716,12 @@ export default {
 	display: inline-block;
 	position: absolute;
 	top: -19rpx;
-	right: 9rpx;
+	left: 80%;
 }
 .circle_num {
-	border-radius: 50%;
-	width: 29rpx;
+	border-radius: 15rpx;
+	padding:0 5rpx;
+	min-width:50rpx;
 	height: 29rpx;
 	border: 1px solid #ffcc00;
 	font-size: 18rpx;
@@ -752,6 +754,7 @@ export default {
 	margin-top: 20rpx;
 }
 .date_num_color0 {
+	position:relative;
 	display: inline-block;
 	width: 48rpx;
 	height: 48rpx;
@@ -760,6 +763,7 @@ export default {
 	color: #32467b;
 }
 .date_num_color1 {
+	position:relative;
 	display: inline-block;
 	width: 48rpx;
 	height: 48rpx;
@@ -768,6 +772,7 @@ export default {
 	color: #34c759;
 }
 .date_num_color2 {
+	position:relative;
 	display: inline-block;
 	width: 48rpx;
 	height: 48rpx;
@@ -776,6 +781,7 @@ export default {
 	color: #ff3b30;
 }
 .date_num_color3 {
+	position:relative;
 	color: #007AFF;
 	background-color: rgba(229,241,255,1);
 	border-radius: 50%;

+ 2 - 2
pages3/polyv/detail.vue

@@ -988,14 +988,14 @@ export default {
 			//没视频播放
 			if(this.playSectionId==0){
 				console.log('即将跳到笔记位置1')
-				this.$u.toast('即将跳到笔记位置1');  
+				this.$u.toast('即将跳到笔记位置');  
 				this.$store.commit('setPlaySectionId', {playSectionId  :item.sectionId});
 				this.$store.commit('setPlayVID', {playVID  :item.recordingUrl});
 				this.playNoteVideo(item);
 			}else{
 				//正在看当前笔记视频
 				console.log('即将跳到笔记位置2')
-				this.$u.toast('即将跳到笔记位置2');
+				this.$u.toast('即将跳到笔记位置');
 				//跳到笔记时刻
 				var polyvPlayerContext = this.selectComponent('#playerVideo');
 				polyvPlayerContext.seek(item.noteSecond);