he2802 4 سال پیش
والد
کامیت
c34993b96c
7فایلهای تغییر یافته به همراه1024 افزوده شده و 588 حذف شده
  1. 25 2
      pages.json
  2. 152 52
      pages/course/index.vue
  3. 641 0
      pages2/class/detail.vue
  4. 103 533
      pages2/course/detail.vue
  5. 102 0
      pages2/order/confirm_list.vue
  6. 1 1
      pages2/wd/class.vue
  7. BIN
      static/logo2.png

+ 25 - 2
pages.json

@@ -47,8 +47,11 @@
 			"path": "pages/course/index",
 			"style": {
 				"navigationBarTitleText": "选课中心",
+				"navigationBarTextStyle": "white",
+				"navigationStyle": "custom", // 隐藏系统导航栏
 				"app-plus": {
-					"titleNView": false //禁用原生导航栏  
+					"titleNView": false, //禁用原生导航栏 
+					"bounce": "none"
 				}
 			}
 		
@@ -141,7 +144,7 @@
 				}
 			},
 			{
-				"path": "course/detail",
+				"path": "class/detail",
 				"style": {
 					"navigationBarTitleText": "单科",
 					"app-plus": {
@@ -149,6 +152,26 @@
 						"bounce": "none"
 					}
 				}
+			},
+			{
+				"path": "course/detail",
+				"style": {
+					"navigationBarTitleText": "课程详情",
+					"app-plus": {
+						"titleNView": false, //禁用原生导航栏 
+						"bounce": "none"
+					}
+				}
+			},
+			{
+				"path": "order/confirm_list",
+				"style": {
+					"navigationBarTitleText": "确认订单",
+					"app-plus": {
+						"titleNView": false, //禁用原生导航栏 
+						"bounce": "none"
+					}
+				}
 			}
 		],
 		"plugins": {

+ 152 - 52
pages/course/index.vue

@@ -1,6 +1,49 @@
 <template>
 	<view>
-		选课中心
+		<u-navbar :is-back="false" title="选课中心" :border-bottom="false"  title-color="#333333" back-icon-color="#ffffff">
+			<view class="slot-wrap">
+				<image  src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
+			</view>
+		</u-navbar>
+		<view>
+			<view style="position: fixed;width: 100%;z-index: 999;background-color: #FFFFFF;">
+				<u-line color="#D6D6DB" />
+				<view style="display: flex;justify-content: space-between;height: 78rpx;line-height: 78rpx;padding: 0 30rpx;font-size: 32rpx;">
+					<view style="color: #666666;">考前培训:建造师-二级</view>
+					<view style="color: #007AFF;">重新选择</view>
+				</view>
+				<u-line color="#D6D6DB" />
+				<view>
+					<view style="width: 160px;margin: 0 auto;"><u-tabs :list="list" item-width="150" font-size="24" bar-width="110" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
+				</view>
+				<u-line color="#D6D6DB" />
+				<view class="menuSel">
+					<scroll-view class="r_sliper" scroll-x="true" >
+						<view v-for="(item,index) in array" :key="index" style="margin-right: 20rpx;display:inline-block">
+							<view :class="menuIndex==index?'r_t1':'r_t2'" @click="cMenu(index)">
+								{{item}}
+							</view>
+						</view>
+					</scroll-view>
+				</view>
+			</view>
+			<view class="listBox">
+				<navigator url="/pages2/course/detail" v-for="(item,index) in array" :key="index" >
+					<view class="itemBox">
+						<image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
+						<view style="display: flex;margin-top: 13rpx;">
+							<view class="yearTag">2020</view>
+							<view class="titleTag">2020年二建建筑工程管理与实务(实务专题班)</view>
+						</view>
+						<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
+							<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
+							共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节  <text class="blackFont">60</text> 学时</view>
+							<view class="priceTag">¥ 999.00</view>
+						</view>
+					</view>
+				</navigator>
+			</view>
+		</view>
 	</view>
 </template>
 
@@ -13,7 +56,17 @@ export default {
 	},
 	data() {
 		return {
-			
+			list:[
+				{
+					name: '网课'
+				},
+				{
+					name: '题库通'
+				}
+			],
+			array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
+			current:0,
+			menuIndex:0
 		};
 	},
 	onPullDownRefresh(){
@@ -26,61 +79,108 @@ export default {
 			this.$refs.refMy.init();
 		} */
 	},
-	onShareAppMessage(res) {
-		var self = this;
-		return {
-			title: '中正',
-			path: `/pages/index/index?inviteCode=` + userInfo == null ? '' : userInfo.userAccount
-		};
-	},
 	methods: {
-		getDict(){
-			let that = this
-			this.$api.dictList().then(res => {
-				if (res.data.code === 200) {
-					let newList = {}
-					let list = res.data.data
-					for(let i =0 ;i<list.length;i++){
-						let item = list[i]
-						if(newList.hasOwnProperty(item.dictType)){
-							newList[item.dictType].push(item.dictLabel)
-						}else{
-							newList[item.dictType] = [item.dictLabel]
-						}
-					}
-					that.$store.state.dictObj = newList;
-				}
-			});
+		cMenu(index){
+			this.menuIndex = index;
 		},
-		updateHomePlan() {
-			this.$refs.home.init();
-		},
-		beforeSwitch(index) {
-			let that = this;
-			if (index == 1) {
-				this.isClick1 = true;
-			}
-			if (index == this.current) {
-				return false;
-			}
-			if (!this.$method.isLogin()) {
-				if (index == 0 || index == 1) {
-					return true;
-				} else {
-					this.$navTo.togo('/pages/login/login');
-					return false;
-				}
-			} else {
-				if (index == 2) {
-					this.$refs.refMy.init();
-				}
-				return true;
-			}
+		change(index){
+			this.current = index;
 		}
 	},
 	onReachBottom() {},
 	computed: { ...mapGetters(['userInfo']) }
 };
 </script>
-
-<style scoped></style>
+<style >
+	::-webkit-scrollbar{
+	 width: 0;
+	 height: 0;
+	 color: transparent
+	}
+	page{
+		background-color: #EAEEF1;
+	}
+	
+</style>
+<style scoped>
+	.blackFont{
+		color: #333333;
+		margin: 0 4rpx;
+	}
+	.wk_icon{
+		width: 24rpx;
+		height: 24rpx;
+		margin-right: 12rpx;
+	}
+	.noteTag{
+		ont-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #999999;
+		align-items: center;
+	}
+	.priceTag{
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #FF2D55;
+	}
+	.titleTag{
+		font-size: 32rpx;
+		font-weight: bold;
+		color: #333333;
+		margin-left: 8rpx;
+	}
+	.yearTag{
+		width: 80rpx;
+		height: 32rpx;
+		background: #EBF5FF;
+		border: 2rpx solid #007AFF;
+		border-radius: 16rpx;
+		font-size: 24rpx;
+		color: #007AFF;
+		text-align: center;
+		line-height: 32rpx;
+	}
+	.itemBox{
+		background: #FFFFFF;
+		box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
+		border-radius: 24rpx;
+		width: 100%;
+		padding: 20rpx;
+		margin-bottom: 20rpx;
+	}
+	.listBox{
+		background-color: #EAEEF1;
+		padding: 30rpx;
+		position: relative;
+		top: 240rpx;
+	}
+	.menuSel{
+		width: 100%;
+		height: 70rpx;
+		background: #EAEEF1;
+		white-space:nowrap;
+		overflow: hidden;
+	}
+	.r_sliper{
+		padding: 0 20rpx;
+	}
+	.r_t1{
+		height: 48rpx;
+		background: #007AFF;
+		border-radius: 16rpx;
+		padding: 3rpx 8rpx;
+		margin-top: 11rpx;
+		color: #FFFFFF;
+	}
+	.r_t2{
+		height: 48rpx;
+		background: #FFFFFF;
+		border: 2rpx solid #EEEEEE;
+		border-radius: 16rpx;
+		padding: 3rpx 8rpx;
+		margin-top: 11rpx;
+		color: #666666;
+	}
+</style>

+ 641 - 0
pages2/class/detail.vue

@@ -0,0 +1,641 @@
+<template>
+	<view>
+		<view style="position: fixed;width: 100%;z-index: 999;background: #FFFFFF;" id="top">
+			<view class="video_box">
+				<image
+					src="https://cdn.uviewui.com/uview/swiper/3.jpg"
+					style="width: 100%;height: 460rpx;"
+				></image>
+				<image v-if="!startStatus" class="video_play" src="/static/play.png" @click="startVideo"></image>
+			</view>
+			<view >
+				<u-row>
+					<u-col span="10" >
+						<view class="video_t1">施工承发包模式-施工合同与物资采购合...</view>
+					</u-col>
+					<u-col span="2">
+						<view class="video_t1_t">
+							<image src="/static/icon/jy_icon.png" style="width: 40rpx;height: 40rpx;"></image>
+							讲义
+						</view>
+					</u-col>
+				</u-row>
+			</view>
+			<u-line color="#D6D6DB" />
+			<view>
+				<view style="width: 240px;margin: 0 auto;"><u-tabs :list="list" item-width="150" font-size="24" bar-width="80" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
+			</view>
+			<u-line color="#D6D6DB" />
+			
+		</view>
+		<view class="box" >
+			<!--目录 -->
+			<view v-show="current==0">
+				<view class="menuBox" v-for="(item, index) in menuList">
+					<!--模块 -->
+					<view v-if="item.type==1">
+						<view class="b_title">
+							2Z106000 施工合同管理-模块标题
+						</view>
+						<view style="color: #666666;font-size: 24rpx;margin: 30rpx 0;" v-for="(item1, index1) in item.list">
+							<u-icon :name="item1.showChildren?'arrow-down':'arrow-right'" color="#666666" size="28" @click="open(item1)"></u-icon>
+							<text @click="open(item1)">2Z106010 施工承发包的模式-2Z106020 施工合同...</text>
+							<view v-for="(item2, index2) in item1.children" v-if="item1.showChildren" >
+								<view style="display: flex;align-items: center;margin: 20rpx 0;">
+									<view class="tag1">录播</view>
+									<view class="t_content1">施工承发包模式-施工合同与物资采购合同</view>
+								</view>
+							</view>
+						</view>
+					</view>
+					<!--章 -->
+					<view v-if="item.type==2">
+						<u-icon :name="item.showChildren?'arrow-down':'arrow-right'" color="#666666" size="28" @click="open(item)"></u-icon>
+						<text @click="open(item1)">2Z106010 施工承发包的模式-2Z106020 施工合同...</text>
+						<view v-for="(item2, index2) in item.list" v-if="item.showChildren">
+							<view style="display: flex;align-items: center;margin: 20rpx 0;">
+								<view class="tag1">录播</view>
+								<view class="t_content1">施工承发包模式-施工合同与物资采购合同</view>
+							</view>
+						</view>
+					</view>
+					<!--节 -->
+					<view v-if="item.type==3">
+						<view v-for="(item2, index2) in item.list" >
+							<view style="display: flex;align-items: center;margin: 20rpx 0;">
+								<view class="tag1">录播</view>
+								<view class="t_content1">施工承发包模式-施工合同与物资采购合同</view>
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+			<!--笔记 -->
+			<view v-show="current==1">
+				<view class="inputBottom" >
+					<view style="width: 10%;">
+						<image src="/static/icon/note3.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
+					</view>
+					<view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;">
+						<u-input height="78" fixed="true" :placeholder="placeholder" type="textarea" :custom-style="inputStyle" v-model="value"  />
+					</view>
+					<view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">
+						提交
+					</view>
+				</view>
+				<view  v-for="(item, index) in menuList">
+					<view class="dateBox">2021年10月30日</view>
+					<view class="noteBox">
+						<view class="tBox">
+							<image src="/static/icon/note1.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
+							<view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
+						</view>
+						<view class="tBox2">
+							<view class="title" style="width: 39rpx;height: 39rpx;margin:0 29rpx;">00:20</view>
+							<view class="t2Content leftPadding">
+								这是一段用户记录的笔记本文,当内容过长时
+								需要换行,完整显示文字内容。
+							</view>
+						</view>
+						<view class="tBox">
+							<image src="/static/icon/note2.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
+							<view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
+						</view>
+						<view style="margin-left: 97rpx;" class="t2Content leftPadding">
+							这是一段用户记录的笔记本文,当内容过长时
+							需要换行,完整显示文字内容。
+						</view>
+					</view>
+				</view>
+			</view>
+			<!--答疑 -->
+			<view v-show="current==2">
+				<view class="inputBottom">
+					<view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;margin-left: 10% ;">
+						<u-input height="78" fixed="true" placeholder="您可以在这里输入答疑内容" type="textarea" :custom-style="inputStyle" v-model="value"  />
+					</view>
+					<view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">
+						提交
+					</view>
+				</view>
+				<view  v-for="(item, index) in menuList" style="background-color: #FFFFFF;">
+					<view class="chat_box" >
+						<view>
+							<image src="https://file-dev.xyyxt.net/oss/images/avatar/20210623/1624414559368_44562477.png" style="width: 64rpx;height: 64rpx;"></image>
+						</view>
+						<view style="margin-left: 15rpx;">
+							<view class="chat1">倪虹洁</view>
+							<view class="chat2">2021/10/31 09:36:23</view>
+							<view class="chat3">老师的课讲得太棒了!</view>
+						</view>
+					</view>
+					<u-line color="#D6D6DB" />
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+import { mapGetters } from 'vuex';
+export default {
+	data() {
+		return {
+			placeholder:"您可以在这里输入笔记内容\n还可以点击左侧图标为笔记加上时间标记",
+			inputStyle:{
+				background: 'rgba(244, 244, 244, 0.98)',
+				borderRadius: '24rpx',
+				padding: '8rpx',
+				marginBottom: '10rpx'
+			},
+			playbackRate: [0.5, 0.8, 1.0],
+			list: [
+				{
+					name: '目录'
+				},
+				{
+					name: '笔记'
+				},
+				{
+					name: '答疑'
+				}
+			],
+			menuList:[
+				{
+					list:[{
+						showChildren:false,
+						children:[1,2,3]
+					},{
+						showChildren:false,
+						children:[1]
+					},{
+						showChildren:false,
+						children:[1,2]
+					}],
+					type:1
+				},{
+					type:2,
+					showChildren:false,
+					list:[{
+						
+					},{
+						
+					},{
+						
+					}],
+				},{
+					type:3,
+					list:[{},{}]
+				}
+			],
+			current:0
+		};
+	},
+	onUnload() {
+		
+	},
+	computed: { ...mapGetters(['userInfo']) },
+	onLoad(option) {
+
+	},
+	onShow() {
+		
+	},
+	methods: {
+		open(item){
+			item.showChildren = !item.showChildren
+		},
+		change(index){
+			this.current = index;
+		}
+	}
+};
+</script>
+
+<style scope>
+	.chat_box{
+		display: flex;
+		padding: 20rpx;
+	}
+	.chat3{
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #666666;
+		margin-top: 10rpx;
+	}
+	.chat2{
+		font-size: 20rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #999999;
+		margin-top: 10rpx;
+	}
+	.chat1{
+		font-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #333333;
+	}
+	.leftPadding{
+		margin-left: 8rpx;
+	}
+	.t2Content{
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #333333;
+		line-height: 48rpx;
+	}
+	.tBox2{
+		display: flex;
+		padding-top: 10rpx;
+	}
+	.tBox{
+		display: flex;
+		align-items: center;
+		padding-top: 10rpx;
+	}
+	.title{
+		font-size: 24rpx;
+		color: #999999;
+	}
+	
+	page{
+		padding-top: 10px;
+		padding-top: constant(safe-area-inset-top);
+		padding-top: env(safe-area-inset-top);
+	}
+	.inputBottom{
+		position: fixed;
+		left: 0;
+		bottom: 0;
+		background: #FFFFFF;
+		height: 98rpx;
+		display: flex;
+		align-items: center;
+		width: 100%;	
+	}
+	.noteBox{
+		width: 100%;
+		background: #FFFFFF;
+		border-radius: 16rpx;
+		padding: 10rpx;
+	}
+	.dateBox{
+		width: 216rpx;
+		height: 48rpx;
+		background: #FFFFFF;
+		border-radius: 24rpx;
+		font-size: 24rpx;
+		color: #666666;
+		text-align: center;
+		line-height: 48rpx;
+		margin: 20rpx 0;
+	}
+	.t_content1{
+		color: #007AFF;
+		margin-left: 10rpx;
+	}
+	.tag1{
+		border: 2rpx solid #007AFF;
+		border-radius: 8rpx;
+		font-size: 20rpx;
+		color: #007AFF;
+		padding: 5rpx;
+	}
+	.b_title{
+		color: #333333;
+		font-size: 30rpx;
+		font-weight: bold;
+	}
+	page {
+			background: #EAEEF1;
+		}
+	.menuBox{
+		width: 100%;
+		background: #FFFFFF;
+		border-radius: 16rpx;
+		padding: 20rpx;
+		margin-bottom: 20rpx;
+	}
+.btnspric {
+	border-top: 1rpx solid #eee;
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+	height: 108rpx;
+	padding-left: 43rpx;
+	padding-right: 32rpx;
+}
+.btnspric > .lefprL {
+	font-size: 36rpx;
+	color: #0c141f;
+	font-weight: bold;
+}
+.btnspric > .lefprR {
+	padding: 0rpx 24rpx;
+	height: 60rpx;
+	line-height: 60rpx;
+	text-align: center;
+	color: #fff;
+	background: #32467b;
+	border-radius: 24rpx;
+	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
+}
+.yhj,
+.hdyhj {
+	padding: 24rpx 29rpx 24rpx 34rpx;
+}
+.yhj {
+	border-bottom: 16rpx solid #f9f9f9;
+}
+.yhjtit {
+	font-size: 30rpx;
+	color: #0c141f;
+	font-weight: 500;
+	margin-bottom: 14rpx;
+}
+.yhjList {
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+	margin-bottom: 14rpx;
+}
+.yhjList > .yhjLefts {
+	display: flex;
+	align-items: center;
+}
+.yhjLefts > .yhl {
+	color: #32467b;
+	font-size: 30rpx;
+	margin-right: 31rpx;
+}
+.yhjLefts > .yhbq {
+	font-size: 24rpx;
+	color: #ff9500;
+	border-radius: 18rpx;
+	background-color: rgba(255, 149, 0, 0.2);
+	border: 2rpx solid #ff9500;
+	height: 38rpx;
+	line-height: 38rpx;
+	padding: 0rpx 16rpx;
+}
+.ts {
+	font-size: 24rpx;
+	color: #999;
+	margin: 14rpx 0rpx;
+	padding-right: 29rpx;
+	padding-left: 34rpx;
+}
+.yh {
+	padding-top: 20rpx;
+}
+.yh > .yhtitle {
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+	padding-right: 29rpx;
+	padding-left: 34rpx;
+}
+.priceBxs {
+	display: flex;
+	align-items: center;
+}
+.priceBxs > .pricleft {
+	border-radius: 24rpx;
+	border: 1rpx solid #e91313;
+	background-color: rgba(233, 19, 19, 0.1);
+	padding: 0rpx 18rpx;
+	height: 49rpx;
+	line-height: 49rpx;
+	text-align: center;
+	font-size: 30rpx;
+	font-weight: 500;
+	color: #e91313;
+	margin-right: 13rpx;
+}
+.topBox {
+	padding: 32rpx 32rpx 24rpx;
+	border-bottom: 1rpx solid #eeeeee;
+}
+.topBox > .boldFonstType {
+	font-weight: 500;
+	font-size: 30rpx;
+	margin: 16rpx 0rpx 23rpx;
+}
+.topBox > .firstTopL {
+	display: flex;
+	align-items: center;
+}
+.topBox > .firstTopL > .imageBs {
+	width: 331rpx;
+	height: 160rpx;
+	border-radius: 6rpx;
+	overflow: hidden;
+	margin-right: 8rpx;
+	box-shadow: 0rpx 6rpx 6rpx 0rpx rgba(47, 67, 121, 0.08);
+}
+.topBox > .firstTopL > .imageBs > image {
+	width: 100%;
+	height: 100%;
+}
+.topBox > .firstTopL > .textBs {
+	font-size: 30rpx;
+	font-weight: bold;
+	color: #0c141f;
+}
+.content {
+	padding: 24rpx;
+	text-align: left;
+}
+.catalogBox {
+	display: flex;
+	align-items: center;
+	flex-wrap: nowrap;
+	overflow-x: auto;
+	padding-left: 38rpx;
+	max-height: 305rpx;
+	overflow-y: auto;
+	transition: all 0.4s;
+}
+.catalogBox > .catalogA {
+	min-width: 200rpx;
+	height: 48rpx;
+	line-height: 48rpx;
+	// text-align: center;
+	border: 2rpx solid transparent;
+	white-space: nowrap;
+	text-overflow: ellipsis;
+	overflow: hidden;
+	word-break: break-all;
+	border-radius: 10rpx;
+	background: rgba(22, 119, 255, 0.05);
+	padding-left: 19rpx;
+	box-sizing: border-box;
+	padding-right: 15rpx;
+	margin-right: 16rpx;
+	margin-bottom: 20rpx;
+	margin-top: 15rpx;
+	font-size: 24rpx;
+	color: #666;
+}
+.catalogBox > .activesq {
+	border-color: #1677ff;
+}
+.changeCatalogBox {
+	display: block;
+}
+.catalogBox::-webkit-scrollbar {
+	display: none; /* Chrome Safari */
+}
+.box {
+	position: relative;
+	top: 650rpx;
+	padding-bottom: 88rpx;
+	margin: 20rpx;
+}
+.price_t2 {
+	font-size: 18rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	text-decoration: line-through;
+	color: #999999;
+}
+.price_t1 {
+	font-size: 33rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #e91313;
+}
+.sc_t {
+	font-size: 22rpx;
+	color: #000000;
+}
+.sc {
+	width: 29rpx;
+	height: 29rpx;
+}
+.buy {
+	width: 138rpx;
+	height: 48rpx;
+	line-height: 48rpx;
+	background: #32467b;
+	border-radius: 10rpx;
+	color: #ffffff;
+	font-size: 28rpx;
+	text-align: center;
+	vertical-align: middle;
+	position: absolute;
+	right: 30rpx;
+}
+.video_body {
+	padding-bottom: 96rpx;
+}
+.footer_tab {
+	position: fixed;
+	bottom: 0;
+	height: 96rpx;
+	width: 100%;
+	background-color: #ffffff;
+}
+.tj_box {
+	width: 50%;
+	display: inline-block;
+	text-align: center;
+	margin: 10rpx 0;
+}
+.teacher_t {
+	font-size: 24rpx;
+	font-family: PingFang SC;
+	font-weight: 400;
+	color: #666666;
+	line-height: 36rpx;
+	margin-left: 15rpx;
+}
+.teacher_img {
+	width: 87rpx;
+	height: 129rpx;
+}
+.t2 {
+	font-size: 24rpx;
+	font-family: PingFang SC;
+	color: #666666;
+	line-height: 36rpx;
+	margin: 15rpx;
+}
+.r_t2 {
+	width: 201rpx;
+	height: 49rpx;
+	background: rgba(22, 119, 255, 0.05);
+	border: 1rpx solid #32467b;
+	border-radius: 16rpx;
+	color: #666666;
+	font-size: 23rpx;
+	text-align: center;
+	display: flex;
+	align-items: center;
+	padding: 5rpx;
+}
+.scroll_box {
+	width: 100%;
+	height: 60rpx;
+	background: #ffffff;
+	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
+	white-space: nowrap;
+	overflow: hidden;
+	margin: 15rpx 0;
+}
+.r_sliper {
+	padding: 0 20rpx;
+}
+.top_line {
+	width: 6rpx;
+	height: 22rpx;
+	background: #32467b;
+	margin-right: 10rpx;
+}
+.video_t2 {
+	font-size: 24rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #666666;
+}
+.video_t1 {
+	height: 80rpx;
+	color: #333333;
+	line-height: 80rpx;
+	font-size: 30rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #333333;
+	
+	
+}
+.video_t1_t{
+	display: flex;
+	flex-direction: column;
+	height: 80rpx;
+	color: #333333;
+	text-align: center;
+	align-items: center;
+	border-left: solid 1px #D6D6DB;
+}
+.video_play {
+	position: absolute;
+	width: 95rpx;
+	height: 95rpx;
+	top: 0;
+	left: 0;
+	right: 0;
+	bottom: 0;
+	margin: auto;
+}
+.video_box {
+	position: relative;
+}
+.rotoct {
+	transform: rotate(90deg);
+}
+
+</style>

+ 103 - 533
pages2/course/detail.vue

@@ -1,114 +1,37 @@
 <template>
 	<view>
-		<view style="position: fixed;width: 100%;z-index: 999;background: #FFFFFF;" id="top">
-			<view class="video_box">
-				<image
-					src="https://cdn.uviewui.com/uview/swiper/3.jpg"
-					style="width: 100%;height: 460rpx;"
-				></image>
-				<image v-if="!startStatus" class="video_play" src="/static/play.png" @click="startVideo"></image>
-			</view>
+		<view style="background-color: #FFFFFF;">
 			<view >
-				<u-row>
-					<u-col span="10" >
-						<view class="video_t1">施工承发包模式-施工合同与物资采购合...</view>
-					</u-col>
-					<u-col span="2">
-						<view class="video_t1_t">
-							<image src="/static/icon/jy_icon.png" style="width: 40rpx;height: 40rpx;"></image>
-							讲义
-						</view>
-					</u-col>
-				</u-row>
+				<image src="/static/login_bg.jpg" style="height: 461rpx;width: 100%;"></image>
+				<view style="padding:20rpx">
+					<view style="display: flex;margin-top: 13rpx;">
+						<view class="yearTag">2020</view>
+						<view class="titleTag">2020年二建建筑工程管理与实务(实务专题班)</view>
+					</view>
+					<view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
+						<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
+						共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节  <text class="blackFont">60</text> 学时</view>
+						
+					</view>
+				</view>
 			</view>
 			<u-line color="#D6D6DB" />
 			<view>
-				<view style="width: 240px;margin: 0 auto;"><u-tabs :list="list" item-width="150" font-size="24" bar-width="80" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
+				<view style="width: 160px;margin: 0 auto;"><u-tabs :list="list" item-width="150" font-size="24" bar-width="110" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
 			</view>
 			<u-line color="#D6D6DB" />
-			
 		</view>
-		<view class="box" >
-			<!--目录 -->
-			<view v-show="current==0">
-				<view class="menuBox" v-for="(item, index) in menuList">
-					<view class="b_title">
-						2Z106000 施工合同管理-模块标题
-					</view>
-					<view style="color: #666666;font-size: 24rpx;margin: 30rpx 0;" v-for="(item1, index1) in item">
-						<u-icon :name="item1.showChildren?'arrow-down':'arrow-right'" color="#666666" size="28" @click="open(item1)"></u-icon>
-						<text @click="open(item1)">2Z106010 施工承发包的模式-2Z106020 施工合同...</text>
-						<view v-for="(item2, index2) in item1.children" v-if="item1.showChildren" >
-							<view style="display: flex;align-items: center;margin: 20rpx 0;">
-								<view class="tag1">录播</view>
-								<view class="t_content1">施工承发包模式-施工合同与物资采购合同</view>
-							</view>
-						</view>
-					</view>
-					
-				</view>
+		<view style="padding: 20rpx;">
+			<view class="content">
+				10月18日起,每周一20:00上直播课,课程持续到
+				10月30日止。
 			</view>
-			<!--笔记 -->
-			<view v-show="current==1">
-				<view class="inputBottom" >
-					<view style="width: 10%;">
-						<image src="/static/icon/note3.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
-					</view>
-					<view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;">
-						<u-input height="78" fixed="true" :placeholder="placeholder" type="textarea" :custom-style="inputStyle" v-model="value"  />
-					</view>
-					<view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">
-						提交
-					</view>
-				</view>
-				<view  v-for="(item, index) in menuList">
-					<view class="dateBox">2021年10月30日</view>
-					<view class="noteBox">
-						<view class="tBox">
-							<image src="/static/icon/note1.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
-							<view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
-						</view>
-						<view class="tBox2">
-							<view class="title" style="width: 39rpx;height: 39rpx;margin:0 29rpx;">00:20</view>
-							<view class="t2Content leftPadding">
-								这是一段用户记录的笔记本文,当内容过长时
-								需要换行,完整显示文字内容。
-							</view>
-						</view>
-						<view class="tBox">
-							<image src="/static/icon/note2.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
-							<view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
-						</view>
-						<view style="margin-left: 97rpx;" class="t2Content leftPadding">
-							这是一段用户记录的笔记本文,当内容过长时
-							需要换行,完整显示文字内容。
-						</view>
-					</view>
-				</view>
-			</view>
-			<!--答疑 -->
-			<view v-show="current==2">
-				<view class="inputBottom">
-					<view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;margin-left: 10% ;">
-						<u-input height="78" fixed="true" placeholder="您可以在这里输入答疑内容" type="textarea" :custom-style="inputStyle" v-model="value"  />
-					</view>
-					<view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">
-						提交
-					</view>
-				</view>
-				<view  v-for="(item, index) in menuList" style="background-color: #FFFFFF;">
-					<view class="chat_box" >
-						<view>
-							<image src="https://file-dev.xyyxt.net/oss/images/avatar/20210623/1624414559368_44562477.png" style="width: 64rpx;height: 64rpx;"></image>
-						</view>
-						<view style="margin-left: 15rpx;">
-							<view class="chat1">倪虹洁</view>
-							<view class="chat2">2021/10/31 09:36:23</view>
-							<view class="chat3">老师的课讲得太棒了!</view>
-						</view>
-					</view>
-					<u-line color="#D6D6DB" />
-				</view>
+		</view>
+		<view class="bottomBox">
+			<view class="priceTag">¥ 999.00</view>
+			<view style="display: flex;color: #FFFFFF;align-items: center;">
+				<view class="btn1" @click="addCart">加购物车</view>
+				<view class="btn2" @click="buy">立即购买</view>
 			</view>
 		</view>
 	</view>
@@ -119,38 +42,15 @@ import { mapGetters } from 'vuex';
 export default {
 	data() {
 		return {
-			placeholder:"您可以在这里输入笔记内容\n还可以点击左侧图标为笔记加上时间标记",
-			inputStyle:{
-				background: 'rgba(244, 244, 244, 0.98)',
-				borderRadius: '24rpx',
-				padding: '8rpx',
-				marginBottom: '10rpx'
-			},
-			playbackRate: [0.5, 0.8, 1.0],
 			list: [
 				{
-					name: '目录'
-				},
-				{
-					name: '笔记'
+					name: '详情'
 				},
 				{
-					name: '答疑'
+					name: '大纲'
 				}
 			],
-			menuList:[
-				[{
-					showChildren:false,
-					children:[1,2,3]
-				},{
-					showChildren:false,
-					children:[1]
-				},{
-					showChildren:false,
-					children:[1,2]
-				}],[],[]
-			],
-			current:2
+			current:0
 		};
 	},
 	onUnload() {
@@ -164,6 +64,16 @@ export default {
 		
 	},
 	methods: {
+		buy(){
+			this.$navTo.togo('/pages2/order/confirm_list');
+		},
+		addCart(){
+			uni.showToast({
+			    title: '添加成功',
+			    duration: 1000
+			});
+			
+		},
 		open(item){
 			item.showChildren = !item.showChildren
 		},
@@ -173,431 +83,91 @@ export default {
 	}
 };
 </script>
-
+<style >
+	page{
+		background-color: #EAEEF1;
+	}
+</style>
 <style scope>
-	.chat_box{
+	.content{
+		background-color: #FFFFFF;
+
+	}
+	.btn2{
+		width: 200rpx;
+		height: 64rpx;
+		background: linear-gradient(0deg, #FFB102, #FD644F);
+		box-shadow: 0rpx 10rpx 16rpx 4rpx rgba(1, 99, 235, 0.04);
+		border-radius: 32rpx;
+		line-height: 64rpx;
+		text-align: center;
+	}
+	.btn1{
+		width: 200rpx;
+		height: 64rpx;
+		background: linear-gradient(0deg, #015EEA, #00C0FA);
+		border-radius: 32rpx;
+		line-height: 64rpx;
+		text-align: center;
+		margin-right: 20rpx;
+	}
+	.bottomBox{
+		position: fixed;
+		bottom: 0;
+		width: 100%;
+		left: 0;
+		height:98rpx ;
+		background-color: #FFFFFF;
 		display: flex;
-		padding: 20rpx;
+		justify-content: space-between;
+		align-items: center;
+		padding: 0 30rpx;
 	}
-	.chat3{
-		font-size: 30rpx;
-		font-family: PingFang SC;
-		font-weight: 500;
-		color: #666666;
-		margin-top: 10rpx;
+	.blackFont{
+		color: #333333;
+		margin: 0 4rpx;
 	}
-	.chat2{
-		font-size: 20rpx;
-		font-family: PingFang SC;
-		font-weight: 500;
-		color: #999999;
-		margin-top: 10rpx;
+	.wk_icon{
+		width: 24rpx;
+		height: 24rpx;
+		margin-right: 12rpx;
 	}
-	.chat1{
-		font-size: 24rpx;
+	.noteTag{
+		ont-size: 24rpx;
 		font-family: PingFang SC;
 		font-weight: 500;
-		color: #333333;
-	}
-	.leftPadding{
-		margin-left: 8rpx;
+		color: #999999;
+		align-items: center;
 	}
-	.t2Content{
+	.priceTag{
 		font-size: 30rpx;
 		font-family: PingFang SC;
 		font-weight: bold;
-		color: #333333;
-		line-height: 48rpx;
-	}
-	.tBox2{
-		display: flex;
-		padding-top: 10rpx;
-	}
-	.tBox{
-		display: flex;
-		align-items: center;
-		padding-top: 10rpx;
+		color: #FF2D55;
 	}
-	.title{
-		font-size: 24rpx;
-		color: #999999;
-	}
-	
-	page{
-		padding-top: 10px;
-		padding-top: constant(safe-area-inset-top);
-		padding-top: env(safe-area-inset-top);
-	}
-	.inputBottom{
-		position: fixed;
-		left: 0;
-		bottom: 0;
-		background: #FFFFFF;
-		height: 98rpx;
-		display: flex;
-		align-items: center;
-		width: 100%;	
+	.titleTag{
+		font-size: 32rpx;
+		font-weight: bold;
+		color: #333333;
+		margin-left: 8rpx;
 	}
-	.noteBox{
-		width: 100%;
-		background: #FFFFFF;
+	.yearTag{
+		width: 80rpx;
+		height: 32rpx;
+		background: #EBF5FF;
+		border: 2rpx solid #007AFF;
 		border-radius: 16rpx;
-		padding: 10rpx;
-	}
-	.dateBox{
-		width: 216rpx;
-		height: 48rpx;
-		background: #FFFFFF;
-		border-radius: 24rpx;
 		font-size: 24rpx;
-		color: #666666;
-		text-align: center;
-		line-height: 48rpx;
-		margin: 20rpx 0;
-	}
-	.t_content1{
-		color: #007AFF;
-		margin-left: 10rpx;
-	}
-	.tag1{
-		border: 2rpx solid #007AFF;
-		border-radius: 8rpx;
-		font-size: 20rpx;
 		color: #007AFF;
-		padding: 5rpx;
-	}
-	.b_title{
-		color: #333333;
-		font-size: 30rpx;
-		font-weight: bold;
+		text-align: center;
+		line-height: 32rpx;
 	}
-	page {
-			background: #EAEEF1;
-		}
-	.menuBox{
-		width: 100%;
+	.itemBox{
 		background: #FFFFFF;
-		border-radius: 16rpx;
+		box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
+		border-radius: 24rpx;
+		width: 100%;
 		padding: 20rpx;
 		margin-bottom: 20rpx;
 	}
-.btnspric {
-	border-top: 1rpx solid #eee;
-	display: flex;
-	align-items: center;
-	justify-content: space-between;
-	height: 108rpx;
-	padding-left: 43rpx;
-	padding-right: 32rpx;
-}
-.btnspric > .lefprL {
-	font-size: 36rpx;
-	color: #0c141f;
-	font-weight: bold;
-}
-.btnspric > .lefprR {
-	padding: 0rpx 24rpx;
-	height: 60rpx;
-	line-height: 60rpx;
-	text-align: center;
-	color: #fff;
-	background: #32467b;
-	border-radius: 24rpx;
-	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
-}
-.yhj,
-.hdyhj {
-	padding: 24rpx 29rpx 24rpx 34rpx;
-}
-.yhj {
-	border-bottom: 16rpx solid #f9f9f9;
-}
-.yhjtit {
-	font-size: 30rpx;
-	color: #0c141f;
-	font-weight: 500;
-	margin-bottom: 14rpx;
-}
-.yhjList {
-	display: flex;
-	align-items: center;
-	justify-content: space-between;
-	margin-bottom: 14rpx;
-}
-.yhjList > .yhjLefts {
-	display: flex;
-	align-items: center;
-}
-.yhjLefts > .yhl {
-	color: #32467b;
-	font-size: 30rpx;
-	margin-right: 31rpx;
-}
-.yhjLefts > .yhbq {
-	font-size: 24rpx;
-	color: #ff9500;
-	border-radius: 18rpx;
-	background-color: rgba(255, 149, 0, 0.2);
-	border: 2rpx solid #ff9500;
-	height: 38rpx;
-	line-height: 38rpx;
-	padding: 0rpx 16rpx;
-}
-.ts {
-	font-size: 24rpx;
-	color: #999;
-	margin: 14rpx 0rpx;
-	padding-right: 29rpx;
-	padding-left: 34rpx;
-}
-.yh {
-	padding-top: 20rpx;
-}
-.yh > .yhtitle {
-	display: flex;
-	align-items: center;
-	justify-content: space-between;
-	padding-right: 29rpx;
-	padding-left: 34rpx;
-}
-.priceBxs {
-	display: flex;
-	align-items: center;
-}
-.priceBxs > .pricleft {
-	border-radius: 24rpx;
-	border: 1rpx solid #e91313;
-	background-color: rgba(233, 19, 19, 0.1);
-	padding: 0rpx 18rpx;
-	height: 49rpx;
-	line-height: 49rpx;
-	text-align: center;
-	font-size: 30rpx;
-	font-weight: 500;
-	color: #e91313;
-	margin-right: 13rpx;
-}
-.topBox {
-	padding: 32rpx 32rpx 24rpx;
-	border-bottom: 1rpx solid #eeeeee;
-}
-.topBox > .boldFonstType {
-	font-weight: 500;
-	font-size: 30rpx;
-	margin: 16rpx 0rpx 23rpx;
-}
-.topBox > .firstTopL {
-	display: flex;
-	align-items: center;
-}
-.topBox > .firstTopL > .imageBs {
-	width: 331rpx;
-	height: 160rpx;
-	border-radius: 6rpx;
-	overflow: hidden;
-	margin-right: 8rpx;
-	box-shadow: 0rpx 6rpx 6rpx 0rpx rgba(47, 67, 121, 0.08);
-}
-.topBox > .firstTopL > .imageBs > image {
-	width: 100%;
-	height: 100%;
-}
-.topBox > .firstTopL > .textBs {
-	font-size: 30rpx;
-	font-weight: bold;
-	color: #0c141f;
-}
-.content {
-	padding: 24rpx;
-	text-align: left;
-}
-.catalogBox {
-	display: flex;
-	align-items: center;
-	flex-wrap: nowrap;
-	overflow-x: auto;
-	padding-left: 38rpx;
-	max-height: 305rpx;
-	overflow-y: auto;
-	transition: all 0.4s;
-}
-.catalogBox > .catalogA {
-	min-width: 200rpx;
-	height: 48rpx;
-	line-height: 48rpx;
-	// text-align: center;
-	border: 2rpx solid transparent;
-	white-space: nowrap;
-	text-overflow: ellipsis;
-	overflow: hidden;
-	word-break: break-all;
-	border-radius: 10rpx;
-	background: rgba(22, 119, 255, 0.05);
-	padding-left: 19rpx;
-	box-sizing: border-box;
-	padding-right: 15rpx;
-	margin-right: 16rpx;
-	margin-bottom: 20rpx;
-	margin-top: 15rpx;
-	font-size: 24rpx;
-	color: #666;
-}
-.catalogBox > .activesq {
-	border-color: #1677ff;
-}
-.changeCatalogBox {
-	display: block;
-}
-.catalogBox::-webkit-scrollbar {
-	display: none; /* Chrome Safari */
-}
-.box {
-	position: relative;
-	top: 650rpx;
-	padding-bottom: 88rpx;
-	margin: 20rpx;
-}
-.price_t2 {
-	font-size: 18rpx;
-	font-family: PingFang SC;
-	font-weight: 500;
-	text-decoration: line-through;
-	color: #999999;
-}
-.price_t1 {
-	font-size: 33rpx;
-	font-family: PingFang SC;
-	font-weight: bold;
-	color: #e91313;
-}
-.sc_t {
-	font-size: 22rpx;
-	color: #000000;
-}
-.sc {
-	width: 29rpx;
-	height: 29rpx;
-}
-.buy {
-	width: 138rpx;
-	height: 48rpx;
-	line-height: 48rpx;
-	background: #32467b;
-	border-radius: 10rpx;
-	color: #ffffff;
-	font-size: 28rpx;
-	text-align: center;
-	vertical-align: middle;
-	position: absolute;
-	right: 30rpx;
-}
-.video_body {
-	padding-bottom: 96rpx;
-}
-.footer_tab {
-	position: fixed;
-	bottom: 0;
-	height: 96rpx;
-	width: 100%;
-	background-color: #ffffff;
-}
-.tj_box {
-	width: 50%;
-	display: inline-block;
-	text-align: center;
-	margin: 10rpx 0;
-}
-.teacher_t {
-	font-size: 24rpx;
-	font-family: PingFang SC;
-	font-weight: 400;
-	color: #666666;
-	line-height: 36rpx;
-	margin-left: 15rpx;
-}
-.teacher_img {
-	width: 87rpx;
-	height: 129rpx;
-}
-.t2 {
-	font-size: 24rpx;
-	font-family: PingFang SC;
-	color: #666666;
-	line-height: 36rpx;
-	margin: 15rpx;
-}
-.r_t2 {
-	width: 201rpx;
-	height: 49rpx;
-	background: rgba(22, 119, 255, 0.05);
-	border: 1rpx solid #32467b;
-	border-radius: 16rpx;
-	color: #666666;
-	font-size: 23rpx;
-	text-align: center;
-	display: flex;
-	align-items: center;
-	padding: 5rpx;
-}
-.scroll_box {
-	width: 100%;
-	height: 60rpx;
-	background: #ffffff;
-	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
-	white-space: nowrap;
-	overflow: hidden;
-	margin: 15rpx 0;
-}
-.r_sliper {
-	padding: 0 20rpx;
-}
-.top_line {
-	width: 6rpx;
-	height: 22rpx;
-	background: #32467b;
-	margin-right: 10rpx;
-}
-.video_t2 {
-	font-size: 24rpx;
-	font-family: PingFang SC;
-	font-weight: 500;
-	color: #666666;
-}
-.video_t1 {
-	height: 80rpx;
-	color: #333333;
-	line-height: 80rpx;
-	font-size: 30rpx;
-	font-family: PingFang SC;
-	font-weight: bold;
-	color: #333333;
-	
-	
-}
-.video_t1_t{
-	display: flex;
-	flex-direction: column;
-	height: 80rpx;
-	color: #333333;
-	text-align: center;
-	align-items: center;
-	border-left: solid 1px #D6D6DB;
-}
-.video_play {
-	position: absolute;
-	width: 95rpx;
-	height: 95rpx;
-	top: 0;
-	left: 0;
-	right: 0;
-	bottom: 0;
-	margin: auto;
-}
-.video_box {
-	position: relative;
-}
-.rotoct {
-	transform: rotate(90deg);
-}
-
 </style>

+ 102 - 0
pages2/order/confirm_list.vue

@@ -0,0 +1,102 @@
+<template>
+	<view>
+		<view style="padding: 30rpx;padding-bottom: 98rpx;">
+			<view v-for="(item,index) in list" :key="index" >
+				<view class="item">
+					<view style="display: flex;justify-content: space-between;">
+						<image src="/static/login_bg.jpg" style="height: 134rpx;width: 388rpx;border-radius: 16rpx;"></image>
+						<view style="margin-left: 20rpx;">
+							<view style="color: #333333;font-size: 30rpx;font-weight: bold;">
+								2020年二建建筑工程管理与实
+								务(实务专题班)
+							</view>
+							<view class="priceTag">
+								¥ 999.00
+							</view>
+						</view>
+					</view>
+					
+				</view>
+			</view>
+		</view>
+		<view class="bottomBox">
+			<view class="priceTag">¥ 999.00</view>
+			<view style="display: flex;color: #FFFFFF;align-items: center;">
+				<view class="btn2">确认购买</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+
+import { mapGetters } from 'vuex';
+export default {
+	components: {
+		
+	},
+	data() {
+		return {
+			list:[1,2,3,1,2,3,1,2,3]
+		};
+	},
+	onPullDownRefresh(){
+	},
+	onLoad(option) {
+		
+	},
+	onShow() {
+		/* if(this.current === 2 && this.$method.isLogin()){
+			this.$refs.refMy.init();
+		} */
+	},
+	methods: {
+		
+	},
+	onReachBottom() {},
+	computed: { ...mapGetters(['userInfo']) }
+};
+</script>
+<style >
+	page{
+		background-color: #EAEEF1;
+	}
+</style>
+<style scoped>
+	.item{
+		width: 100%;
+		background: #FFFFFF;
+		border-radius: 16rpx;
+		margin-bottom: 20rpx;
+		padding: 15rpx;
+	}
+	.priceTag{
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #FF2D55;
+		display: flex;
+		flex-direction: row-reverse;
+	}
+	.btn2{
+		width: 200rpx;
+		height: 64rpx;
+		background: linear-gradient(0deg, #015EEA, #00C0FA);
+		opacity: 0.6;
+		border-radius: 32rpx;
+		text-align: center;
+		line-height: 64rpx;
+	}
+	.bottomBox{
+		position: fixed;
+		bottom: 0;
+		width: 100%;
+		left: 0;
+		height:98rpx ;
+		background-color: #FFFFFF;
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+		padding: 0 30rpx;
+	}
+</style>

+ 1 - 1
pages2/wd/class.vue

@@ -1,6 +1,6 @@
 <template>
 	<view style="padding: 30rpx;">
-		<navigator url="/pages2/course/detail" v-for="(item, index) in list" :key="index" style="margin-bottom: 30rpx;">
+		<navigator url="/pages2/class/detail" v-for="(item, index) in list" :key="index" style="margin-bottom: 30rpx;">
 			<view class="class_item">
 				<image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
 				<view style="color: #333333;font-weight: bold;font-size: 32rpx;">

BIN
static/logo2.png