yuanyiming 1 year ago
parent
commit
a555da7796

+ 346 - 323
components/teaching-case/teaching-case.vue

@@ -1,352 +1,375 @@
 <template>
-  <view class="teaching_case" @click="gotoTeDetail">
-    <view class="img cell-img">
-      <!-- <slot name="img"></slot> -->
-      <image :src="classList.img" v-if="!item.btn" mode="aspectFill"></image>
-      <image :src="activeList.img" v-else mode="aspectFill"></image>
-    </view>
+	<view class="teaching_case" @click="gotoTeDetail">
+		<view class="img cell-img">
+			<!-- <slot name="img"></slot> -->
+			<image :src="classList.img" v-if="!item.btn" mode="aspectFill"></image>
+			<image :src="activeList.img" v-else mode="aspectFill"></image>
+		</view>
 
-    <view class="right">
-      <view class="">
-        <view class="title">
-          <view v-if="!item.btn" class="tag bqZ-font">类型</view>
-          <view v-else class="tag bqZ-font">类型</view>
+		<view class="right">
+			<view class="">
+				<view class="title">
+					<view v-if="!item.btn" class="tag bqZ-font">类型</view>
+					<view v-else class="tag bqZ-font">类型</view>
 
-          <text class="btn-font" v-if="!item.btn" style="">{{
+					<text class="btn-font" v-if="!item.btn" style="">{{
             classList.className
           }}</text>
-          <text class="three-font" v-else>{{ activeList.className }}</text>
-        </view>
+					<text class="three-font" v-else>{{ activeList.className }}</text>
+				</view>
 
-        <view v-if="!item.btn" class="introduce fwb-font">
-          {{ classList.intro }}
-        </view>
-        <view v-else class="introduce fwb-font">
-          {{ activeList.intro }}
-        </view>
-      </view>
+				<view v-if="!item.btn" class="introduce fwb-font">
+					{{ classList.intro }}
+				</view>
+				<view v-else class="introduce fwb-font">
+					{{ activeList.intro }}
+				</view>
+			</view>
 
-      <view class="operate" v-if="!item.btn">
-        <view class="left">
-          <view class="opr" style="padding-right: 25rpx">
-            <view class="icon">
-              <image
-                src="http://43.139.158.220:5007/img/static/yym/Star 1 (Stroke).png"
-                style="width: 28rpx; height: 26rpx"
-                mode="aspectFill"
-              ></image>
-            </view>
-            <text class="fz-font">收藏</text>
-          </view>
-          <view class="opr">
-            <view class="icon">
-              <image
-                src="http://43.139.158.220:5007/img/static/yym/Vector (Stroke).png"
-                style="width: 22rpx; height: 26rpx"
-                mode="aspectFill"
-              ></image>
-            </view>
-            <text class="fz-font">订阅</text>
-          </view>
-        </view>
-        <view class="">
-          <button
-            class="btn sBtn-font"
-            disableEventPropagation="true"
-            @click.stop="join"
-          >
-            立即参与
-          </button>
-        </view>
-      </view>
-      <view class="operate" v-else>
-        <view class="left">
-          <view class="price num-font"
-            ><text class="three-font">¥</text> 188</view
-          >
-          <view class="pernum fz-font">已报名{{ activeList.count }}人</view>
-        </view>
-        <view class="">
-          <button class="btn sBtn-font" @click.stop="actApply">立即报名</button>
-        </view>
-      </view>
-    </view>
-    <!-- <view class="" style="height: 50rpx;width: 100%;background-color: #ffffff;"></view> -->
-  </view>
+			<view class="operate" v-if="!item.btn">
+				<view class="left">
+					<view class="opr" style="padding-right: 25rpx">
+						<view class="icon">
+							<image src="http://43.139.158.220:5007/img/static/yym/Star 1 (Stroke).png"
+								style="width: 28rpx; height: 26rpx" mode="aspectFill"></image>
+						</view>
+						<text class="fz-font">收藏</text>
+					</view>
+					<view class="opr">
+						<view class="icon">
+							<image src="http://43.139.158.220:5007/img/static/yym/Vector (Stroke).png"
+								style="width: 22rpx; height: 26rpx" mode="aspectFill"></image>
+						</view>
+						<text class="fz-font">订阅</text>
+					</view>
+				</view>
+				<view class="">
+					<button class="btn sBtn-font" disableEventPropagation="true" @click.stop="join">
+						立即参与
+					</button>
+				</view>
+			</view>
+			<view class="operate" v-else>
+				<view class="left">
+					<view class="price num-font"><text class="three-font">¥</text> 188</view>
+					<view class="pernum fz-font">已报名{{ activeList.count }}人</view>
+				</view>
+				<view class="">
+					<button class="btn sBtn-font" @click.stop="actApply">立即报名</button>
+				</view>
+			</view>
+		</view>
+		<!-- <view class="" style="height: 50rpx;width: 100%;background-color: #ffffff;"></view> -->
+	</view>
 </template>
 <script>
-export default {
-  name: "teaching-case",
-  props: {
-    item: {
-      type: Object,
-      default() {
-        return {
-          btn: 0, //0教研列表 1活动列表
-        };
-      },
-    },
-    classList: {
-      type: Object,
-      default() {
-        return [];
-      },
-    },
-    activeList: {
-      type: Object,
-      default() {
-        return [];
-      },
-    },
-    indexId: {
-      type: Number,
-    },
-  },
-  data() {
-    return {};
-  },
-  methods: {
-    gotoTeDetail() {
-      if (this.item.btn) {
-        const value = uni.getStorageSync("login");
-        if (value == 0) {
-          uni.navigateTo({
-            url: "/pages/login/login",
-          });
-        } else {
-          const urls = [
-            "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
-            "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1211",
-            "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
-            "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1209",
-          ];
-          let index = this.indexId;
-          if (index >= 0 && index < urls.length) {
-            const url = urls[index];
-            uni.navigateTo({
-              url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-            });
-          }
-        }
-      } else {
-        const value = uni.getStorageSync("login");
-        if (value == 0) {
-          uni.navigateTo({
-            url: "/pages/login/login",
-          });
-        } else {
-          const urls = [
-            "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00351166273N",
-            "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00330324841N",
-            "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00231455802N",
-            "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00406339964N",
-          ];
-          let index = this.indexId;
-          if (index >= 0 && index < urls.length) {
-            const url = urls[index];
-            uni.navigateTo({
-              url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-            });
-          }
-        }
-      }
-    },
-    join() {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-        return 1;
-      } else {
-        const urls = [
-          "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00351166273N",
-          "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00330324841N",
-          "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00231455802N",
-          "https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00406339964N",
-        ];
-        let index = this.indexId;
-        if (index >= 0 && index < urls.length) {
-          const url = urls[index];
-          uni.navigateTo({
-            url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-          });
-        }
-      }
-    },
-    actApply() {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-        return 1;
-      } else {
-        const urls = [
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1211",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1209",
-        ];
-        let index = this.indexId;
-        if (index >= 0 && index < urls.length) {
-          const url = urls[index];
-          uni.navigateTo({
-            url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-          });
-        }
-      }
-    },
-  },
-};
+	export default {
+		name: "teaching-case",
+		props: {
+			item: {
+				type: Object,
+				default () {
+					return {
+						btn: 0, //0教研列表 1活动列表
+						btn_2: 0 //0 activityList 1 activityList_2
+					};
+				},
+			},
+			classList: {
+				type: Object,
+				default () {
+					return [];
+				},
+			},
+			activeList: {
+				type: Object,
+				default () {
+					return [];
+				},
+			},
+			indexId: {
+				type: Number,
+			},
+		},
+		data() {
+			return {};
+		},
+		methods: {
+			gotoTeDetail() {
+				if (this.item.btn) {
+					const value = uni.getStorageSync("login");
+					if (value == 0) {
+						uni.navigateTo({
+							url: "/pages/login/login",
+						});
+					} else {
+						if(this.item.btn_2 === 1){
+							const urls = [
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+							];
+							let index = this.indexId;
+							if (index >= 0 && index < urls.length) {
+								const url = urls[index];
+								uni.navigateTo({
+									url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+								});
+							}
+						}else{
+							//常规教研活动
+							const urls = [
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1211",
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+								"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1209",
+							];
+							let index = this.indexId;
+							if (index >= 0 && index < urls.length) {
+								const url = urls[index];
+								uni.navigateTo({
+									url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+								});
+							}
+						}
+					}
+				} else {
+					const value = uni.getStorageSync("login");
+					if (value == 0) {
+						uni.navigateTo({
+							url: "/pages/login/login",
+						});
+					} else {
+						//推荐课程
+						const urls = [
+							"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00351166273N",
+							"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00330324841N",
+							"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00231455802N",
+							"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00406339964N",
+						];
+						let index = this.indexId;
+						if (index >= 0 && index < urls.length) {
+							const url = urls[index];
+							uni.navigateTo({
+								url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+							});
+						}
+					}
+				}
+			},
+			join() {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+					return 1;
+				} else {
+					//推荐课程
+					const urls = [
+						"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00351166273N",
+						"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00330324841N",
+						"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00231455802N",
+						"https://szptxnjys.yuketang.cn/pro/portal/about/szpt-99Q00406339964N",
+					];
+					let index = this.indexId;
+					if (index >= 0 && index < urls.length) {
+						const url = urls[index];
+						uni.navigateTo({
+							url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+						});
+					}
+				}
+			},
+			actApply() {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+					return 1;
+				} else {
+					if(this.item.btn_2 === 1){
+						const urls = [
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+						];
+						let index = this.indexId;
+						if (index >= 0 && index < urls.length) {
+							const url = urls[index];
+							uni.navigateTo({
+								url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+							});
+						}
+					}else{
+						//常规教研活动
+						const urls = [
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1211",
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+							"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1209",
+						];
+						let index = this.indexId;
+						if (index >= 0 && index < urls.length) {
+							const url = urls[index];
+							uni.navigateTo({
+								url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+							});
+						}
+					}
+				}
+			},
+		},
+	};
 </script>
 
 <style lang="scss">
-.teaching_case {
-  display: flex;
-  justify-content: space-between;
-  // margin-bottom: 10px;
-  background-color: #ffffff;
-  padding: 20rpx 30rpx;
+	.teaching_case {
+		display: flex;
+		justify-content: space-between;
+		// margin-bottom: 10px;
+		background-color: #ffffff;
+		padding: 20rpx 30rpx;
 
-  // padding-bottom: 50rpx;
-  .img {
-    width: 160rpx;
-    height: 160rpx;
+		// padding-bottom: 50rpx;
+		.img {
+			width: 160rpx;
+			height: 160rpx;
 
-    image {
-      width: 100%;
-      height: 100%;
-      border-radius: 10rpx;
-    }
-  }
+			image {
+				width: 100%;
+				height: 100%;
+				border-radius: 10rpx;
+			}
+		}
 
-  .right {
-    padding-left: 20rpx;
-    flex: 1;
-    // height: 300px;
-    width: 100rpx;
-    display: flex;
-    flex-direction: column;
-    // align-content: flex-end ;
-    justify-content: space-between;
-    // align-content: space-between;
+		.right {
+			padding-left: 20rpx;
+			flex: 1;
+			// height: 300px;
+			width: 100rpx;
+			display: flex;
+			flex-direction: column;
+			// align-content: flex-end ;
+			justify-content: space-between;
+			// align-content: space-between;
 
-    .title {
-      display: flex;
-      justify-content: flex-start;
-      align-items: center;
-      margin-bottom: 15rpx;
+			.title {
+				display: flex;
+				justify-content: flex-start;
+				align-items: center;
+				margin-bottom: 15rpx;
 
-      // margin-bottom: 10rpx;
-      .tag {
-        border: 1px #00b2b6 solid;
-        flex-shrink: 0;
-        letter-spacing: 2rpx;
-        width: 64rpx;
-        height: 32rpx;
-        display: flex;
-        white-space: nowrap;
-        justify-content: center;
-        align-items: center;
-        border-radius: 4rpx;
-        margin-right: 10rpx;
-        color: #00b2b6;
-        line-height: 32rpx;
-        // border: 1px #00b2b6 solid;
-        // font-size: 20rpx;
-        // width: 94rpx;
-        // display: flex;
-        // height: 36rpx;
-        // white-space: nowrap;
-        // justify-content: center;
-        // align-items: center;
-        // // padding: 4px 12px 4px 12px;
-        // border-radius: 5rpx;
-        // margin-right: 10rpx;
-        // color: #00b2b6;
-      }
+				// margin-bottom: 10rpx;
+				.tag {
+					border: 1px #00b2b6 solid;
+					flex-shrink: 0;
+					letter-spacing: 2rpx;
+					width: 64rpx;
+					height: 32rpx;
+					display: flex;
+					white-space: nowrap;
+					justify-content: center;
+					align-items: center;
+					border-radius: 4rpx;
+					margin-right: 10rpx;
+					color: #00b2b6;
+					line-height: 32rpx;
+					// border: 1px #00b2b6 solid;
+					// font-size: 20rpx;
+					// width: 94rpx;
+					// display: flex;
+					// height: 36rpx;
+					// white-space: nowrap;
+					// justify-content: center;
+					// align-items: center;
+					// // padding: 4px 12px 4px 12px;
+					// border-radius: 5rpx;
+					// margin-right: 10rpx;
+					// color: #00b2b6;
+				}
 
-      text {
-        font-weight: bold;
-        overflow: hidden;
-        text-overflow: ellipsis;
-        white-space: nowrap;
-      }
-    }
+				text {
+					font-weight: bold;
+					overflow: hidden;
+					text-overflow: ellipsis;
+					white-space: nowrap;
+				}
+			}
 
-    .introduce {
-      // font-size: 28rpx;
-      color: #a7a7a7;
-      // padding: 20rpx 0;
-      // width: 560rpx;
-      height: 40rpx;
-      overflow: hidden;
-      text-overflow: ellipsis;
-      white-space: nowrap;
-    }
+			.introduce {
+				// font-size: 28rpx;
+				color: #a7a7a7;
+				// padding: 20rpx 0;
+				// width: 560rpx;
+				height: 40rpx;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				white-space: nowrap;
+			}
 
-    .operate {
-      display: flex;
-      justify-content: space-between;
-      // align-items: baseline;
-      align-items: flex-end;
+			.operate {
+				display: flex;
+				justify-content: space-between;
+				// align-items: baseline;
+				align-items: flex-end;
 
-      .left {
-        display: flex;
-        // justify-content: space-between;
-        // align-items: center;
-        align-items: baseline;
+				.left {
+					display: flex;
+					// justify-content: space-between;
+					// align-items: center;
+					align-items: baseline;
 
-        // width: 200rpx;
-        .opr {
-          display: flex;
-          align-items: center;
+					// width: 200rpx;
+					.opr {
+						display: flex;
+						align-items: center;
 
-          .icon {
-            width: 32rpx;
-            height: 32rpx;
-            display: flex;
-            justify-content: center;
-            align-items: center;
-          }
+						.icon {
+							width: 32rpx;
+							height: 32rpx;
+							display: flex;
+							justify-content: center;
+							align-items: center;
+						}
 
-          text {
-            padding-left: 3rpx;
-            color: #666666;
-          }
-        }
+						text {
+							padding-left: 3rpx;
+							color: #666666;
+						}
+					}
 
-        .pernum {
-          color: #666666;
+					.pernum {
+						color: #666666;
 
-          // font-size: 30rpx;
-        }
+						// font-size: 30rpx;
+					}
 
-        .price {
-          // font-size: 40rpx;
-          font-weight: bold;
-          color: #f8a551;
-          padding-right: 10rpx;
-        }
-      }
+					.price {
+						// font-size: 40rpx;
+						font-weight: bold;
+						color: #f8a551;
+						padding-right: 10rpx;
+					}
+				}
 
-      .btn {
-        z-index: 5;
-        border: none;
-        padding: 0;
-        text-align: center;
-        // padding: 8px, 24px, 8px, 24px;
-        background-color: rgba(48, 129, 232, 1);
-        color: #fff;
-        border-radius: 100rpx;
-        float: right;
-        width: 144rpx;
-        height: 48rpx;
-        line-height: 48rpx;
-        letter-spacing: 1px;
-      }
-    }
-  }
-}
+				.btn {
+					z-index: 5;
+					border: none;
+					padding: 0;
+					text-align: center;
+					// padding: 8px, 24px, 8px, 24px;
+					background-color: rgba(48, 129, 232, 1);
+					color: #fff;
+					border-radius: 100rpx;
+					float: right;
+					width: 144rpx;
+					height: 48rpx;
+					line-height: 48rpx;
+					letter-spacing: 1px;
+				}
+			}
+		}
+	}
 </style>

+ 9 - 0
pages.json

@@ -217,7 +217,16 @@
                 "enablePullDownRefresh": false
             }
             
+        },{
+            "path" : "pages/activityList_2/activityList_2",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
         }
+		
     ],
     "tabBar": {
 		// "custom": true,

+ 35 - 57
pages/activityList/activityList.vue

@@ -3,7 +3,7 @@
 		<statusBar :item="navbarData"></statusBar>
 		<!-- <teaching-case :item="teaData"></teaching-case> -->
 		<view class="" style="padding-bottom: 50rpx;">
-			<teaching-case v-for="(item,index) in activeList" :item="teaData" :key="index" :activeList="item"></teaching-case>
+			<teaching-case v-for="(item,index) in activeList" :item="teaData" :key="index" :activeList="item" :indexId="index"></teaching-case>
 		</view>
 
 
@@ -15,67 +15,45 @@
 		data() {
 			return {
 				navbarData: {
-					title: '活动列表',
+					title: '常规教研活动列表',
 					btn: 1
 				},
 				teaData: {
 					btn: 1
 				},
-				activeList: [{
-						img: 'http://43.139.158.220:5007/img/static/mine/img10.jpg',
-						count: '1790',
-						className: '创新思维开发与落地',
-						intro: '《暂无简介》'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img11.jpg',
-						count: '3842',
-						className: '创业意识与商机识别',
-						intro: '在创新创业的大氛围下,课堂上常常强调要以项目为中心,你却苦于迟迟无法最终确定具体的项目?那么,《创业意识与商机识别》这门课程可以帮助你。'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img12.png',
-						count: '701',
-						className: '机电(机械)技术创新创业实务',
-						intro: '该课程是针对机电、机械行业、企业用户的一门关于创新创业的培训类课程。在国家“大众创业、万众创新”的新时代背景下,创新是引领一个企业发展的第一动力。为推动科技不断进步、促进企业快速健康发展,开发了《机电(机械)技术创新创业实务》课程。计划为36学时,理论讲授30学时,实践案例分析和操作6学时'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img13.jpg',
-						count: '823',
-						className: '打造黄金创始人团队',
-						intro: '如何摆正自己的工作态度和位置,清醒认识到自己的职责,学会选人用人,努力提高领导力和执行力,带好团队,并最终成为一个卓越的管理者呢?本课程提供给你建议'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img14.jpg',
-						count: '2287',
-						className: '创业素质测评与团队组建',
-						intro: '本课程采取案例分析、研讨、游戏的方式使同学们的聪明才智能够有发挥的空间,话语权能够得到满足。通过完成团队任务的方式使大家逐渐与陌生人建立良好沟通关系,掌握沟通技巧,使自己具有使命感、懂得感恩。'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img15.jpg',
-						count: '2076',
-						className: '创业素质测评与团队组建',
-						intro: '《创业素质测评与团队建设课程》根据心理学者荣格所提的“人格特质”理论,围绕心智结构,以特质测评为基础,让同学们运用人格特质的分析了解不同人群之间的思维差异,学会根据不同特质的人才采取不同的行为沟通模式,确定其在创业团队的角色和地位,从而更好的促进创业团队建设及创业团队能力提升。'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img16.jpg',
-						count: '11390',
-						className: '行业创业实践',
-						intro: '行业创业实践'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img17.jpg',
-						count: '1639',
-						className: '创业就业指导',
-						intro: '本课程是公共基础课和必修课。课程根据国务院、广东省教育厅关于高校双创教育改革实施意见的有关通知精神,结合提升学生就业、创业竞争力和发展力需求,突出就业知识与技能、创业发展及职业素养的培养。通过本课程的学习,能够使学生掌握     的基础知识,初步具备就业与创业的核心能力;并为学生在职业发展的阶段特点;较为清晰地认识自己的个性特性、职业特性;个性创业素养、个体创业能力等方面提供必要的知识。为个人的生涯发展和社会的创新推动、提高自身就业竞争力,展现良好职业素养,为今后职业发展与事业发展拓展通道。'
-					},
-					{
-						img: 'http://43.139.158.220:5007/img/static/mine/img18.jpg',
-						count: '2129',
-						className: '营销管理实务与创新',
-						intro: '课程基于线上线下协同的教学方式,注重提升学生自主学习、市场运营创新能力的培养,不断蓄积其专业底蕴;通过学练一体的教学模式,实现对学生营销技术素养与职业人格的协同培养,建立面向复杂市场的商业逻辑。课程线上部分共24学时,开课一学期 ;线下部分一般以24~36学时为宜。'
-					},
-				]
+				activeList: [
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/img1.png",
+				    count: "17",
+				    className: "丽湖职教双创教育国际虚拟教研室2023年常规教研活动安排",
+				    intro:
+				      "丽湖职教双创教育国际虚拟教研室为立足全国,辐射海外的国际化教研室,围绕创新创业教育的人才培养与课程建设开展深度研究。教研室以贯彻落实立德树人根本任务,通过加强跨专业、跨校、跨地域的教研交流,推动高校协同打造国际化的精品教学资",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/img2.png",
+				    count: "6",
+				    className:
+				      "赛创融合、协同育人—高职院校双创大赛赛事组织| 丽湖职教双创教育国际虚拟教研室常规教研活动第3期顺利举",
+				    intro:
+				      " 为全面落实双创教育“以赛促教、以赛促学、以赛促创”,提升学校双创大赛的组织效果和参赛成绩,促进更多教育成果落地,实现赛创融合育人的目标,丽湖职教双创教育国际虚拟教研室于4月26日组织举办了第3期线上教研活动,活动主题为“赛",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/img3.png",
+				    count: "1",
+				    className:
+				      "产教融合情境下的双创通识课程建设 | 丽湖职教双创教育国际虚拟教研室常规教研活动第2期顺利举行",
+				    intro:
+				      "【图片】为提升职业院校双创课程建设水平,促进双创课程的改革与发展,丽湖职教双创教育国际虚拟教研室于3月29日组织举办了以“产教融合情境下的双创通识课程建设”为主题的第2期线上教研活动,来自全国各职业院校的60多位教师参会。本",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/img4.png",
+				    count: "0",
+				    className:
+				      "打造双创“金课” | 丽湖职教双创教育国际虚拟教研室常规教研活动第1期顺利举行",
+				    intro:
+				      "为推动高职院校双创课程建设,打造更多的双创精品课程和金课,丽湖职教双创教育国际虚拟教研室于2月22日组织举办了以“如何打造高职双创金课”为主题的第1期教研活动,来自全国各高职院校的80多位教师参会。本次活动由",
+				  },
+				],
 			};
 		}
 	}

+ 53 - 0
pages/activityList_2/activityList_2.vue

@@ -0,0 +1,53 @@
+<template>
+	<view class="activeList">
+		<statusBar :item="navbarData"></statusBar>
+		<!-- <teaching-case :item="teaData"></teaching-case> -->
+		<view class="" style="padding-bottom: 50rpx;">
+			<teaching-case v-for="(item,index) in activeList" :item="teaData" :key="index" :activeList="item" :indexId="index"></teaching-case>
+		</view>
+
+
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				navbarData: {
+					title: '专题教研活动列表',
+					btn: 1
+				},
+				teaData: {
+					btn: 1,
+					btn_2: 1,
+				},
+				activeList: [{
+						img: "http://43.139.158.220:5007/img/static/img/1695656271245-image.png",
+						count: "3842",
+						className: "丽湖职教双创教育国际虚拟教研室启动大会暨双创教育国际论坛圆满举行",
+						intro: "丽湖职教双创教育国际虚拟教研室为立足全国,辐射海外的国际化教研室,围绕创新创业教育的人才培养与课程建设开展深度研究。教研室以贯彻落实立德树人根本任务,通过加强跨专业、跨校、跨地域的教研交流,推动高校协同打造国际化的精品教学资",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/img1.png",
+						count: "17",
+						className: "丽湖职教双创教育国际虚拟教研室2023年常规教研活动安排",
+						intro: "丽湖职教双创教育国际虚拟教研室为立足全国,辐射海外的国际化教研室,围绕创新创业教育的人才培养与课程建设开展深度研究。教研室以贯彻落实立德树人根本任务,通过加强跨专业、跨校、跨地域的教研交流,推动高校协同打造国际化的精品教学资",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/img3.png",
+						count: "1",
+						className: "产教融合情境下的双创通识课程建设 | 丽湖职教双创教育国际虚拟教研室常规教研活动第2期顺利举行",
+						intro: "【图片】为提升职业院校双创课程建设水平,促进双创课程的改革与发展,丽湖职教双创教育国际虚拟教研室于3月29日组织举办了以“产教融合情境下的双创通识课程建设”为主题的第2期线上教研活动,来自全国各职业院校的60多位教师参会。本",
+					},
+				],
+			};
+		},
+		methods: {
+		}
+	}
+</script>
+
+<style lang="scss">
+	.activeList {}
+</style>

+ 272 - 290
pages/index/index.vue

@@ -1,312 +1,294 @@
 <template>
-  <view class="content">
-    <statusBar :item="navBarData"></statusBar>
-    <view class="top">
-      <!-- <image src="http://43.139.158.220:5007/img/static/logo.png" mode="aspectFill"></image> -->
-      <image
-        src="http://43.139.158.220:5007/img/static/yym/Rectangle25.png"
-        mode="aspectFill"
-        @click="gotoHome"
-      >
-      </image>
-    </view>
+	<view class="content">
+		<statusBar :item="navBarData"></statusBar>
+		<view class="top">
+			<!-- <image src="http://43.139.158.220:5007/img/static/logo.png" mode="aspectFill"></image> -->
+			<image src="http://43.139.158.220:5007/img/static/yym/Rectangle25.png" mode="aspectFill" @click="gotoHome">
+			</image>
+		</view>
 
-    <viewX-Case class="mid">
-      <template #title>
-        <view class="title three-font">专题教研活动</view>
-      </template>
-      <template #lookMore>
-        <view class="lookMore fz-font" @click="gotoActivity">查看更多</view>
-      </template>
-      <template #activeBlock>
-        <view
-          class="activeData"
-          @click="gotoActivityDetail(index)"
-          v-for="(item, index) in activeList"
-          :key="index"
-        >
-          <image :src="item.img" mode="aspectFill"></image>
-          <view class="activeTit sBtn-font" style="font-weight: bold">
-            {{ item.className }}
-          </view>
-          <view class="numData">
-            <view class="proNum bqZ-font">{{ item.count }} 人报名</view>
-            <view class="price num-font">
-              <text class="fz-font">¥</text>299</view
-            >
-          </view>
-          <button class="btn sBtn-font" @click.stop="gotoHd(index)">
-            立即报名
-          </button>
-        </view>
-      </template>
-    </viewX-Case>
+		<viewX-Case class="mid">
+			<template #title>
+				<view class="title three-font">专题教研活动</view>
+			</template>
+			<template #lookMore>
+				<view class="lookMore fz-font" @click="gotoActivity">查看更多</view>
+			</template>
+			<template #activeBlock>
+				<view class="activeData" @click="gotoActivityDetail(index)" v-for="(item, index) in activeList"
+					:key="index">
+					<image :src="item.img" mode="aspectFill"></image>
+					<view class="activeTit sBtn-font" style="font-weight: bold">
+						{{ item.className }}
+					</view>
+					<view class="numData">
+						<view class="proNum bqZ-font">{{ item.count }} 人报名</view>
+						<view class="price num-font">
+							<text class="fz-font">¥</text>299
+						</view>
+					</view>
+					<button class="btn sBtn-font" @click.stop="gotoHd(index)">
+						立即报名
+					</button>
+				</view>
+			</template>
+		</viewX-Case>
 
-    <viewX-Case>
-      <template #title>
-        <view class="title three-font">推荐课程</view>
-      </template>
-      <template #lookMore>
-        <view class="lookMore fz-font" @click="teachmore">查看更多</view>
-      </template>
-      <template #teaching>
-        <teaching-case
-          v-for="(item, index) in classList"
-          :key="index"
-          :classList="item"
-          :indexId="index"
-        ></teaching-case>
-      </template>
-    </viewX-Case>
-    <view class="" style="height: 30rpx; width: 100%"> </view>
-  </view>
+		<viewX-Case>
+			<template #title>
+				<view class="title three-font">推荐课程</view>
+			</template>
+			<template #lookMore>
+				<view class="lookMore fz-font" @click="teachmore">查看更多</view>
+			</template>
+			<template #teaching>
+				<teaching-case v-for="(item, index) in classList" :key="index" :classList="item" :indexId="index"></teaching-case>
+			</template>
+		</viewX-Case>
+		<view class="" style="height: 30rpx; width: 100%"> </view>
+	</view>
 </template>
 
 <script>
-export default {
-  data() {
-    return {
-      title: "Hello",
-      navBarData: {
-        title: "首页", //导航栏标题
-        btn: 0, //是否显示返回按钮 0不显示  1 显示
-      },
-      activeList: [
-        {
-          img: "http://43.139.158.220:5007/img/static/img/1695656271245-image.png",
-          count: "3842",
-          className:
-            "丽湖职教双创教育国际虚拟教研室启动大会暨双创教育国际论坛圆满举行",
-          intro:
-            "丽湖职教双创教育国际虚拟教研室为立足全国,辐射海外的国际化教研室,围绕创新创业教育的人才培养与课程建设开展深度研究。教研室以贯彻落实立德树人根本任务,通过加强跨专业、跨校、跨地域的教研交流,推动高校协同打造国际化的精品教学资",
-        },
-        {
-          img: "http://43.139.158.220:5007/img/static/img/img1.png",
-          count: "3842",
-          className: "丽湖职教双创教育国际虚拟教研室2023年常规教研活动安排",
-          intro:
-            "为深入贯彻落实立德树人根本任务,提升教师教学育人能力,增强教师将现代信息技术与教育教学深度融合的能力,加强跨专业、跨校、跨地域的双创教研交流,推动职教创新创业教育改革纵深发展,由深圳职业技术学院创新创业学院、联合国教科文组织...",
-        },
-        {
-          img: "http://43.139.158.220:5007/img/static/img/img3.png",
-          count: "3842",
-          className:
-            "【图片】为提升职业院校双创课程建设水平,促进双创课程的改革与发展,丽湖职教双创教育国际虚拟教研室于3月29日组织举办了以“产教融合情境下的双创通识课程建设”为主题的第2期线上教研活动,来自全国各职业院校的60多位教师参会。本",
-        },
-      ],
-      classList: [
-        {
-          img: "http://43.139.158.220:5007/img/static/img/jiaoxueship.jpg",
-          className: "教学视频",
-          intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学视频",
-        },
-        {
-          img: "http://43.139.158.220:5007/img/static/img/jiaoxuedagang.jpg",
-          className: "教学大纲",
-          intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学大纲",
-        },
-        {
-          img: "http://43.139.158.220:5007/img/static/img/peiyangfangan.jpg",
-          className: "培养方案",
-          intro: "课程简介:丽湖职教双创教育国际虚拟教研室培养方案",
-        },
-        {
-          img: "http://43.139.158.220:5007/img/static/img/xitishiti.jpg",
-          className: "习题试题",
-          intro: "课程简介:丽湖职教双创教育国际虚拟教研室习题试题",
-        },
-      ],
-    };
-  },
-  onLoad() {},
-  methods: {
-    teachmore() {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else {
-        uni.navigateTo({
-          url: "/pages/teachingList/teachingList",
-        });
-      }
-    },
-    gotoTeDetail() {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else {
-        uni.navigateTo({
-          url: "/pages/teachingDetail/teachingDetail",
-        });
-      }
-    },
-    gotoActivity() {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else {
-        uni.navigateTo({
-          url: "/pages/activityList/activityList",
-        });
-      }
-    },
-    gotoActivityDetail(index) {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else {
-        const urls = [
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
-        ];
-        if (index >= 0 && index < urls.length) {
-          const url = urls[index];
-          uni.navigateTo({
-            url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-          });
-        }
-      }
-    },
-    gotoHd(index) {
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        console.log(11);
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else {
-        const urls = [
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
-          "https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
-        ];
-        if (index >= 0 && index < urls.length) {
-          const url = urls[index];
-          uni.navigateTo({
-            url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-          });
-        }
-      }
-    },
-    gotoHome() {
-      // const web = this.classList[this.current];
-      const url = "https://mp.weixin.qq.com/s/QZEGcvBn3aW7aHirMFLBQA";
-      uni.navigateTo({
-        url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-      });
-    },
-  },
-};
+	export default {
+		data() {
+			return {
+				title: "Hello",
+				navBarData: {
+					title: "首页", //导航栏标题
+					btn: 0, //是否显示返回按钮 0不显示  1 显示
+				},
+				activeList: [{
+						img: "http://43.139.158.220:5007/img/static/img/1695656271245-image.png",
+						count: "3842",
+						className: "丽湖职教双创教育国际虚拟教研室启动大会暨双创教育国际论坛圆满举行",
+						intro: "丽湖职教双创教育国际虚拟教研室为立足全国,辐射海外的国际化教研室,围绕创新创业教育的人才培养与课程建设开展深度研究。教研室以贯彻落实立德树人根本任务,通过加强跨专业、跨校、跨地域的教研交流,推动高校协同打造国际化的精品教学资",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/img1.png",
+						count: "3842",
+						className: "丽湖职教双创教育国际虚拟教研室2023年常规教研活动安排",
+						intro: "为深入贯彻落实立德树人根本任务,提升教师教学育人能力,增强教师将现代信息技术与教育教学深度融合的能力,加强跨专业、跨校、跨地域的双创教研交流,推动职教创新创业教育改革纵深发展,由深圳职业技术学院创新创业学院、联合国教科文组织...",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/img3.png",
+						count: "3842",
+						className: "【图片】为提升职业院校双创课程建设水平,促进双创课程的改革与发展,丽湖职教双创教育国际虚拟教研室于3月29日组织举办了以“产教融合情境下的双创通识课程建设”为主题的第2期线上教研活动,来自全国各职业院校的60多位教师参会。本",
+					},
+				],
+				classList: [{
+						img: "http://43.139.158.220:5007/img/static/img/jiaoxueship.jpg",
+						className: "教学视频",
+						intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学视频",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/jiaoxuedagang.jpg",
+						className: "教学大纲",
+						intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学大纲",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/peiyangfangan.jpg",
+						className: "培养方案",
+						intro: "课程简介:丽湖职教双创教育国际虚拟教研室培养方案",
+					},
+					{
+						img: "http://43.139.158.220:5007/img/static/img/xitishiti.jpg",
+						className: "习题试题",
+						intro: "课程简介:丽湖职教双创教育国际虚拟教研室习题试题",
+					},
+				],
+			};
+		},
+		onLoad() {},
+		methods: {
+			teachmore() {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else {
+					uni.navigateTo({
+						url: "/pages/teachingList/teachingList",
+					});
+				}
+			},
+			gotoTeDetail() {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else {
+					uni.navigateTo({
+						url: "/pages/teachingDetail/teachingDetail",
+					});
+				}
+			},
+			gotoActivity() {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else {
+					uni.navigateTo({
+						url: "/pages/activityList_2/activityList_2",
+					});
+				}
+			},
+			gotoActivityDetail(index) {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else {
+					const urls = [
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+					];
+					if (index >= 0 && index < urls.length) {
+						const url = urls[index];
+						uni.navigateTo({
+							url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+						});
+					}
+				}
+			},
+			gotoHd(index) {
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					console.log(11);
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else {
+					const urls = [
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1181",
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1183",
+						"https://szptxnjys.yuketang.cn/pro/portal/announcementdetail/1210",
+					];
+					if (index >= 0 && index < urls.length) {
+						const url = urls[index];
+						uni.navigateTo({
+							url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+						});
+					}
+				}
+			},
+			gotoHome() {
+				// const web = this.classList[this.current];
+				const url = "https://mp.weixin.qq.com/s/QZEGcvBn3aW7aHirMFLBQA";
+				uni.navigateTo({
+					url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+				});
+			},
+		},
+	};
 </script>
 
 <style lang="scss" scoped>
-.content {
-  // background-color: ;
-  // background-color: #f0f2f5;
-  .top {
-    width: 750rpx;
-    height: 288rpx;
-    display: flex;
-    margin-bottom: 20rpx;
-    align-items: center;
-    background-color: #fff;
-    justify-content: center;
+	.content {
 
-    image {
-      height: 246rpx;
-      width: 690rpx;
-      border-radius: 12rpx;
-    }
-  }
+		// background-color: ;
+		// background-color: #f0f2f5;
+		.top {
+			width: 750rpx;
+			height: 288rpx;
+			display: flex;
+			margin-bottom: 20rpx;
+			align-items: center;
+			background-color: #fff;
+			justify-content: center;
 
-  .mid {
-    margin: 10px 0;
-    height: 498rpx;
+			image {
+				height: 246rpx;
+				width: 690rpx;
+				border-radius: 12rpx;
+			}
+		}
 
-    .activeData {
-      width: 290rpx;
-      display: inline-block;
-      padding-right: 20rpx;
+		.mid {
+			margin: 10px 0;
+			height: 498rpx;
 
-      image {
-        width: 100%;
-        height: 80px;
-        border-radius: 10px;
-        margin-bottom: 10rpx;
-      }
+			.activeData {
+				width: 290rpx;
+				display: inline-block;
+				padding-right: 20rpx;
 
-      .activeTit {
-        // font-weight: 600;
-        height: 64rpx;
-        white-space: normal;
-        /*隐藏溢出*/
-        /*当文本溢出包含元素时显示省略符号来代表被修剪的文本*/
-        /*规定段落中的文本不进行换行*/
-        letter-spacing: 2rpx;
-        display: -webkit-box;
-        word-break: break-all;
-        text-overflow: ellipsis;
-        overflow: hidden;
-        -webkit-box-orient: vertical;
-        -webkit-line-clamp: 2;
-        /*设置 需要显示的行数*/
-      }
+				image {
+					width: 100%;
+					height: 80px;
+					border-radius: 10px;
+					margin-bottom: 10rpx;
+				}
 
-      .numData {
-        display: flex;
-        justify-content: space-between;
-        align-items: baseline;
+				.activeTit {
+					// font-weight: 600;
+					height: 64rpx;
+					white-space: normal;
+					/*隐藏溢出*/
+					/*当文本溢出包含元素时显示省略符号来代表被修剪的文本*/
+					/*规定段落中的文本不进行换行*/
+					letter-spacing: 2rpx;
+					display: -webkit-box;
+					word-break: break-all;
+					text-overflow: ellipsis;
+					overflow: hidden;
+					-webkit-box-orient: vertical;
+					-webkit-line-clamp: 2;
+					/*设置 需要显示的行数*/
+				}
 
-        // padding: 10rpx 0;
-        .proNum {
-          color: #999999;
-          // font-size: 14px;
-        }
+				.numData {
+					display: flex;
+					justify-content: space-between;
+					align-items: baseline;
 
-        .price {
-          color: #f68717;
-          // font-size: 18px;
-        }
-      }
+					// padding: 10rpx 0;
+					.proNum {
+						color: #999999;
+						// font-size: 14px;
+					}
 
-      .btn {
-        border: none;
-        padding: 0;
-        float: left;
-        text-align: center;
-        // padding: 8px 24px 8px 24px;
-        background-color: #3081e8;
-        color: #fff;
-        border-radius: 100rpx;
-        width: 144rpx;
-        height: 48rpx;
-        line-height: 48rpx;
-        letter-spacing: 1px;
-        margin-bottom: 30rpx;
-      }
-    }
+					.price {
+						color: #f68717;
+						// font-size: 18px;
+					}
+				}
 
-    .activeData:nth-child(1) {
-      margin-left: 15px;
-    }
-  }
+				.btn {
+					border: none;
+					padding: 0;
+					float: left;
+					text-align: center;
+					// padding: 8px 24px 8px 24px;
+					background-color: #3081e8;
+					color: #fff;
+					border-radius: 100rpx;
+					width: 144rpx;
+					height: 48rpx;
+					line-height: 48rpx;
+					letter-spacing: 1px;
+					margin-bottom: 30rpx;
+				}
+			}
 
-  .title {
-    font-weight: bold;
-  }
+			.activeData:nth-child(1) {
+				margin-left: 15px;
+			}
+		}
 
-  .lookMore {
-    color: #666666;
-    // font-size: 14px;
-  }
-}
+		.title {
+			font-weight: bold;
+		}
+
+		.lookMore {
+			color: #666666;
+			// font-size: 14px;
+		}
+	}
 </style>

+ 438 - 376
pages/resource/resource.vue

@@ -1,403 +1,465 @@
 <template>
-  <view class="resource">
-    <statusBar :item="navBarData"></statusBar>
-    <view class="search">
-      <uni-search-bar
-        v-model="searchText"
-        bgColor="#f0f2f5"
-        class="btntop"
-        placeholder="搜索"
-        cancelButton="none"
-        clearButton="none"
-      ></uni-search-bar>
-    </view>
+	<view class="resource">
+		<statusBar :item="navBarData"></statusBar>
+		<view class="search">
+			<uni-search-bar v-model="searchText" bgColor="#f0f2f5" class="btntop" placeholder="搜索" cancelButton="none"
+				clearButton="none"></uni-search-bar>
+		</view>
 
-    <view class="top">
-      <view
-        class="left"
-        @click="phoneLogin"
-        :class="current == 0 ? info1 : info2"
-      >
-        <text class="">资源库</text>
-        <view v-if="current == 0" class="yun">
-          <image
-            src="http://43.139.158.220:5007/img/static/yym/Ellipse 10.png"
-            mode="aspectFill"
-          ></image>
-        </view>
-      </view>
-      <view
-        class="right"
-        @click="accountLogin"
-        :class="current == 1 ? info1 : info2"
-      >
-        <text class="">精品慕课</text>
-        <view v-if="current == 1" class="yun">
-          <image
-            src="http://43.139.158.220:5007/img/static/yym/Ellipse 10.png"
-            mode="aspectFill"
-          ></image>
-        </view>
-      </view>
-    </view>
+		<view class="top">
+			<view class="left" @click="phoneLogin" :class="current == 0 ? info1 : info2">
+				<text class="">资源库</text>
+				<view v-if="current == 0" class="yun">
+					<image src="http://43.139.158.220:5007/img/static/yym/Ellipse 10.png" mode="aspectFill"></image>
+				</view>
+			</view>
+			<view class="right" @click="accountLogin" :class="current == 1 ? info1 : info2">
+				<text class="">精品慕课</text>
+				<view v-if="current == 1" class="yun">
+					<image src="http://43.139.158.220:5007/img/static/yym/Ellipse 10.png" mode="aspectFill"></image>
+				</view>
+			</view>
+		</view>
 
-    <swiper
-      class="scroll-view-height"
-      :style="{ height: swiper + 'px' }"
-      @change="swipeIndex"
-      :current="current"
-      :duration="300"
-    >
-      <swiper-item>
-        <scroll-view scroll-y="true" :style="{ height: swiper + 'px' }">
-          <view class="contBox">
-            <view
-              class="cont"
-              @click="gotoLogin"
-              v-for="(item, index) in filteredClassList"
-              :index="index"
-              :key="index"
-            >
-              <image class="image" :src="item.url" mode="aspectFill" />
-              <view class="tit btn-font">{{ item.className }}</view>
-              <view class="teacher fz-font">{{ item.th_name }}</view>
-            </view>
-          </view>
-        </scroll-view>
-      </swiper-item>
+		<swiper class="scroll-view-height" :style="{ height: swiper + 'px' }" @change="swipeIndex" :current="current"
+			:duration="300">
+			<swiper-item>
+				<scroll-view scroll-y="true" :style="{ height: swiper + 'px' }">
+					<view class="contBox">
+						<view class="cont" @click="gotoLogin" v-for="(item, index) in filteredClassList" :index="index"
+							:key="index">
+							<image class="image" :src="item.url" mode="aspectFill" />
+							<view class="tit btn-font">{{ item.className }}</view>
+							<view class="teacher fz-font">主讲教师:{{ item.th_name }}</view>
+						</view>
+					</view>
+				</scroll-view>
+			</swiper-item>
 
-      <swiper-item>
-        <scroll-view scroll-y="true" :style="{ height: swiper + 'px' }">
-          <view class="contBox">
-            <view
-              class="cont"
-              @click="gotoWeb(index)"
-              v-for="(item, index) in filteredClassList2"
-              :index="index"
-              :key="index"
-            >
-              <image class="image" :src="item.url" mode="aspectFill" />
-              <view class="tit btn-font">{{ item.className }}</view>
-              <view class="teacher fz-font">{{ item.th_name }}</view>
-            </view>
-          </view>
-        </scroll-view>
-      </swiper-item>
-    </swiper>
-  </view>
+			<swiper-item>
+				<scroll-view scroll-y="true" :style="{ height: swiper + 'px' }">
+					<view class="contBox">
+						<view class="cont" @click="gotoWeb(index)" v-for="(item, index) in filteredClassList2"
+							:index="index" :key="index">
+							<image class="image" :src="item.url" mode="aspectFill" />
+							<view class="tit btn-font">{{ item.className }}</view>
+							<view class="teacher fz-font">主讲教师:{{ item.th_name }}</view>
+						</view>
+					</view>
+				</scroll-view>
+			</swiper-item>
+		</swiper>
+	</view>
 </template>
 
 <script>
-export default {
-  data() {
-    return {
-      navBarData: {
-        title: "资源库",
-        btn: 0,
-      },
-      current: 0, //登录方式切换
-      info1: "info1", //类名
-      info2: "info2",
-      swiper: 0,
-      searchText: "", // 搜索文本
-      classList: [
-        {
-          url: "http://43.139.158.220:5007/img/static/pubic/img5.jpg",
-          className: "创新思维",
-          th_name: "主讲教师: 吴伟",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/sc.jpg",
-          className: "商机识别与创业营销 ",
-          th_name: "主讲教师:明照凤 ",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/sg.jpg",
-          className: "双创生态圈构建 ",
-          th_name: "主讲教师: 徐文泽",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/cy.jpg",
-          className: "创业基础 ",
-          th_name: "主讲教师: 杨哲旗",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/ks.png",
-          className: "跨界产品研发实战 ",
-          th_name: "主讲教师: 王程程",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/cs.jpg",
-          className: "创造性思维与创新方法训练 ",
-          th_name: "主讲教师: 申珊珊",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/hs.jpg",
-          className: "行业创业实践 ",
-          th_name: "主讲教师: 陆亚文",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/cx.png",
-          className: "创新方法与训练 ",
-          th_name: "主讲教师: 张梦龙",
-        },
-      ],
-      classList2: [
-        {
-          url: "http://43.139.158.220:5007/img/static/img/ydjk.png",
-          className: "运动与健康",
-          th_name: "主讲教师: 代方梅 史文文",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/shyy.png",
-          className: "生活英语听说",
-          th_name: "主讲教师: 杨芳 张文霞",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/yyll.jpg",
-          className: "科研伦理与学术规范",
-          th_name: "主讲教师: 印波",
-        },
-        {
-          url: "http://43.139.158.220:5007/img/static/img/kylw.png",
-          className: "如何写好科研论文",
-          th_name: "主讲教师: 高飞飞 张靖",
-        },
-      ],
-    };
-  },
-  // 模糊搜索
-  computed: {
-    filteredClassList() {
-      const filteredList = this.classList.filter((item) =>
-        item.className.includes(this.searchText)
-      );
-      return this.searchText ? filteredList : this.classList;
-    },
-    filteredClassList2() {
-      const filterdList2 = this.classList2.filter((item) =>
-        item.className.includes(this.searchText)
-      );
-      return this.searchText ? filterdList2 : this.classList2;
-    },
-  },
-  methods: {
-    gotoLogin() {
-      // uni.navigateTo({
-      // 	url: "/pages/login/login"
-      // })
-      const value = uni.getStorageSync("login");
-      if (value == 0) {
-        uni.navigateTo({
-          url: "/pages/login/login",
-        });
-      } else if (this.current === 0) {
-        const selectedItem = this.classList[this.current];
-        const url =
-          "https://zyk.icve.com.cn/chuangxin/18a329e8-3cd6-4983-a1aa-945a28198bc3";
-        uni.navigateTo({
-          url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-        });
-      }
-    },
-    gotoWeb(index) {
-      if (this.current === 1) {
-        const urls = [
-          "https://www.xuetangx.com/course/HUBU10011000132/16906642?channel=i.area.course_list_all",
-          "https://www.xuetangx.com/course/THU05021000376?channel=i.area.course_list_all",
-          "https://www.xuetangx.com/course/BNU03031000037/16905009?channel=i.area.course_list_all",
-          "https://www.xuetangx.com/course/THU04011000365/16906220?channel=i.area.course_list_all",
-        ];
-        if (index >= 0 && index < urls.length) {
-          const url = urls[index];
-          uni.navigateTo({
-            url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
-          });
-        }
-      }
-    },
+	export default {
+		data() {
+			return {
+				navBarData: {
+					title: "资源库",
+					btn: 0,
+				},
+				current: 0, //登录方式切换
+				info1: "info1", //类名
+				info2: "info2",
+				swiper: 0,
+				searchText: "", // 搜索文本
+				classList: [{
+						url: "http://43.139.158.220:5007/img/static/pubic/img5.jpg",
+						className: "创新思维",
+						th_name: "吴伟",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/sc.jpg",
+						className: "商机识别与创业营销 ",
+						th_name: "明照凤 ",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/sg.jpg",
+						className: "双创生态圈构建 ",
+						th_name: "徐文泽",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/cy.jpg",
+						className: "创业基础 ",
+						th_name: "杨哲旗",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/ks.png",
+						className: "跨界产品研发实战 ",
+						th_name: "王程程",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/cs.jpg",
+						className: "创造性思维与创新方法训练 ",
+						th_name: "申珊珊",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/hs.jpg",
+						className: "行业创业实践 ",
+						th_name: "陆亚文",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/cx.png",
+						className: "创新方法与训练 ",
+						th_name: "张梦龙",
+					},
+				],
+				classList2: [{
+						url: "http://43.139.158.220:5007/img/static/img/ydjk.png",
+						className: "运动与健康",
+						th_name: "代方梅 史文文 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/shyy.png",
+						className: "生活英语听说",
+						th_name: "杨芳 张文霞",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/yyll.jpg",
+						className: "科研伦理与学术规范",
+						th_name: "印波",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/kylw.png",
+						className: "如何写好科研论文",
+						th_name: "高飞飞 张靖 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-1.jpg",
+						className: "中国共产党与中华民族伟大复兴",
+						th_name: "杜玉芳",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-2.jpg",
+						className: "大国航母与舰载机",
+						th_name: "岳奎志 郭卫刚 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-4.jpg",
+						className: "体育与社会",
+						th_name: "张德胜 李菁 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-5.png",
+						className: "公共管理学",
+						th_name: "张学礼",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-6.png",
+						className: "心理学概论",
+						th_name: "彭凯平",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-7.png",
+						className: "C++语言程序设计基础",
+						th_name: "郑莉 李超 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-8.png",
+						className: "《资治通鉴》导读",
+						th_name: "张国刚",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-9.png",
+						className: "军事理论",
+						th_name: "徐焰杜 文龙 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-10.png",
+						className: "数据结构(上)",
+						th_name: "邓俊辉",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-11.png",
+						className: "不朽的艺术:走进大师与经典",
+						th_name: "肖鹰 孙晶",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-12.jpg",
+						className: "中国近现代史纲要",
+						th_name: "翁贺凯",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-13.png",
+						className: "马克思主义基本原理",
+						th_name: "刘震 刘恩至 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-14.png",
+						className: "数据结构(下)",
+						th_name: "邓俊辉",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-16.png",
+						className: "大学生心理健康",
+						th_name: "李焰 刘丹 等",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-17.png",
+						className: "财务分析与决策",
+						th_name: "肖星",
+					},
+					{
+						url: "http://43.139.158.220:5007/img/static/img/Cardimg-15.png",
+						className: "习近平新时代中国特色社会主义思想",
+						th_name: "胡鞍钢",
+					},
+				],
+			};
+		},
+		// 模糊搜索
+		computed: {
+			filteredClassList() {
+				const filteredList = this.classList.filter((item) =>
+					item.className.includes(this.searchText)
+				);
+				return this.searchText ? filteredList : this.classList;
+			},
+			filteredClassList2() {
+				const filterdList2 = this.classList2.filter((item) =>
+					item.className.includes(this.searchText)
+				);
+				return this.searchText ? filterdList2 : this.classList2;
+			},
+		},
+		methods: {
+			gotoLogin() {
+				// uni.navigateTo({
+				// 	url: "/pages/login/login"
+				// })
+				const value = uni.getStorageSync("login");
+				if (value == 0) {
+					uni.navigateTo({
+						url: "/pages/login/login",
+					});
+				} else if (this.current === 0) {
+					const selectedItem = this.classList[this.current];
+					const url =
+						"https://zyk.icve.com.cn/chuangxin/18a329e8-3cd6-4983-a1aa-945a28198bc3";
+					uni.navigateTo({
+						url: "/pages/skipone/skipone?url=" + encodeURIComponent(url),
+					});
+				}
+			},
+			gotoWeb(index) {
+				if (this.current === 1) {
+					const url_header = 'https://www.xuetangx.com/course'
+					const urls = [
+						"/HUBU10011000132/16906642?channel=i.area.course_list_all",
+						"/THU05021000376?channel=i.area.course_list_all",
+						"/BNU03031000037/16905009?channel=i.area.course_list_all",
+						"/THU04011000365/16906220?channel=i.area.course_list_all",
+						"/zysy06011001641?channel=i.area.course_list_all",
+						"/NAU08091000091/16904996?channel=i.area.course_list_all",
+						"/Wuhanty04021002450/16906830?channel=i.area.course_list_all",
+						"/NUDT12041000081?channel=i.area.course_list_all",
+						"/THU07111000416/16905032?channel=i.area.course_list_all",
+						"/THU08091000247/16906211?channel=i.area.course_list_all",
+						"/THU03011000245/16905905?channel=i.area.course_list_all",
+						"/NDU00001001710?channel=i.area.course_list_all",
+						"/THU08091000384/16906679?channel=i.area.course_list_all",
+						"/THU13011000261/16904949?channel=i.area.course_list_all",
+						"/THU03051000444/16905083?channel=i.area.course_list_all",
+						"/THU03051000344/16906535?channel=i.area.course_list_all",
+						"/THU08091002048/16906478?channel=i.area.course_list_all",
+						"/THU07111000285/16905861?channel=i.area.course_list_all",
+						"/THU02031000264?channel=i.area.course_list_all",
+						"/THU03051000744/16905028?channel=i.area.course_list_all"
+					];
+					if (index >= 0 && index < urls.length) {
+						const url = urls[index];
+						uni.navigateTo({
+							url: "/pages/skipone/skipone?url=" + url_header + encodeURIComponent(url),
+						});
+					}
+				}
+			},
 
-    toggleActive1() {
-      this.isActive1 = true;
-      this.isActive2 = false;
-      this.tab = true;
-    },
-    toggleActive2() {
-      this.isActive1 = false;
-      this.isActive2 = true;
-      this.tab = false;
-    },
-    swipeIndex(index) {
-      this.current = index.detail.current;
-    },
-    phoneLogin() {
-      this.current = 0;
-    },
-    accountLogin() {
-      this.current = 1;
-    },
-  },
-  onReady() {},
-  onLoad() {
-    if (this.navheight) {
-      this.swiper = this.screenHeight - this.navheight - 140;
-    } else {
-      this.swiper = this.screenHeight - this.customBar - 150;
-    }
-  },
-};
+			toggleActive1() {
+				this.isActive1 = true;
+				this.isActive2 = false;
+				this.tab = true;
+			},
+			toggleActive2() {
+				this.isActive1 = false;
+				this.isActive2 = true;
+				this.tab = false;
+			},
+			swipeIndex(index) {
+				this.current = index.detail.current;
+			},
+			phoneLogin() {
+				this.current = 0;
+			},
+			accountLogin() {
+				this.current = 1;
+			},
+		},
+		onReady() {},
+		onLoad() {
+			if (this.navheight) {
+				this.swiper = this.screenHeight - this.navheight - 140;
+			} else {
+				this.swiper = this.screenHeight - this.customBar - 150;
+			}
+		},
+	};
 </script>
 
 <style lang="scss" scoped>
-.btntop {
-  width: 100%;
-}
-.resource {
-  .search {
-    background-color: #ffffff;
-    position: relative;
-    display: flex;
-    width: 750rpx;
-    height: 88rpx;
-    justify-content: center;
-    align-items: center;
+	.btntop {
+		width: 100%;
+	}
 
-    // background-color: rebeccapurple;
-    .inpSer {
-      width: 690rpx;
-      height: 65rpx;
-      margin: auto;
-      background-color: rgba(240, 242, 245, 1);
-      border-radius: 5rpx;
-      color: rgba(0, 0, 0, 0.26);
-      position: relative;
+	.resource {
+		.search {
+			background-color: #ffffff;
+			position: relative;
+			display: flex;
+			width: 750rpx;
+			height: 88rpx;
+			justify-content: center;
+			align-items: center;
 
-      .inpTxt {
-        // padding: 0px, 12rpx, 0px, 12rpx;
-        color: #000;
+			// background-color: rebeccapurple;
+			.inpSer {
+				width: 690rpx;
+				height: 65rpx;
+				margin: auto;
+				background-color: rgba(240, 242, 245, 1);
+				border-radius: 5rpx;
+				color: rgba(0, 0, 0, 0.26);
+				position: relative;
 
-        height: 100%;
-        width: 100%;
-      }
+				.inpTxt {
+					// padding: 0px, 12rpx, 0px, 12rpx;
+					color: #000;
 
-      input::placeholder {
-        color: #000;
-      }
+					height: 100%;
+					width: 100%;
+				}
 
-      .ico {
-        position: absolute;
-        top: 50%;
-        left: 20rpx;
-        transform: translate(0, -50%);
-        display: flex;
-        align-items: center;
+				input::placeholder {
+					color: #000;
+				}
 
-        image {
-          margin-right: 10rpx;
-        }
-      }
-    }
-  }
+				.ico {
+					position: absolute;
+					top: 50%;
+					left: 20rpx;
+					transform: translate(0, -50%);
+					display: flex;
+					align-items: center;
 
-  .top {
-    // width: 500rpx;
-    display: flex;
-    justify-content: space-between;
-    margin: auto;
-    background-color: #ffffff;
-    padding: 10px 150rpx;
+					image {
+						margin-right: 10rpx;
+					}
+				}
+			}
+		}
 
-    // margin-bottom: 40px;
-    // font-size: 18px;
-    // padding-top: 0;
-    .info1 {
-      font-weight: bold !important;
-      position: relative;
-      color: rgba(0, 0, 0, 0.8);
-      font-size: 34rpx;
-      line-height: 48rpx;
-      width: 136rpx;
-      height: 48rpx;
-      text-align: center;
+		.top {
+			// width: 500rpx;
+			display: flex;
+			justify-content: space-between;
+			margin: auto;
+			background-color: #ffffff;
+			padding: 10px 150rpx;
 
-      // font-family: PingFang SC;
-      // font-family: \9ed1\4f53;
-      .yun {
-        width: 134rpx;
-        height: 32rpx;
-        position: absolute;
-        left: 0;
-        bottom: -10rpx;
+			// margin-bottom: 40px;
+			// font-size: 18px;
+			// padding-top: 0;
+			.info1 {
+				font-weight: bold !important;
+				position: relative;
+				color: rgba(0, 0, 0, 0.8);
+				font-size: 34rpx;
+				line-height: 48rpx;
+				width: 136rpx;
+				height: 48rpx;
+				text-align: center;
 
-        // transform: translate(-50%,0%);
-        // box-shadow: 0px 10rpx 30rpx 6rpx #4a97f2;
-        image {
-          width: 100%;
-          height: 100%;
-        }
-      }
-    }
+				// font-family: PingFang SC;
+				// font-family: \9ed1\4f53;
+				.yun {
+					width: 134rpx;
+					height: 32rpx;
+					position: absolute;
+					left: 0;
+					bottom: -10rpx;
 
-    .info2 {
-      color: rgba(0, 0, 0, 0.6);
-      font-size: 34rpx;
-      font-weight: 400;
-      line-height: 48rpx;
-      width: 136rpx;
-      height: 48rpx;
-      text-align: center;
-      font-family: 微软雅黑;
-    }
-  }
+					// transform: translate(-50%,0%);
+					// box-shadow: 0px 10rpx 30rpx 6rpx #4a97f2;
+					image {
+						width: 100%;
+						height: 100%;
+					}
+				}
+			}
 
-  .scroll-view-height {
-    // background-color: ;
-    // height: 68vh;
-    // background-color: red;
-    // padding-bottom: 50px;
-    .contBox {
-      width: 100%;
-      padding: 10px 30rpx;
-      // height: 100%;
-      display: flex;
-      flex-wrap: wrap;
-      justify-content: space-between;
-      // background-color: greenyellow;
-      margin-bottom: 50px;
+			.info2 {
+				color: rgba(0, 0, 0, 0.6);
+				font-size: 34rpx;
+				font-weight: 400;
+				line-height: 48rpx;
+				width: 136rpx;
+				height: 48rpx;
+				text-align: center;
+				font-family: 微软雅黑;
+			}
+		}
 
-      .cont {
-        background-color: #ffffff;
-        width: 332rpx;
-        padding: 20rpx 15rpx;
-        border-radius: 10px;
-        margin-bottom: 20rpx;
+		.scroll-view-height {
 
-        image {
-          width: 300rpx;
-          height: 170rpx;
-          border-radius: 10rpx;
-        }
+			// background-color: ;
+			// height: 68vh;
+			// background-color: red;
+			// padding-bottom: 50px;
+			.contBox {
+				width: 100%;
+				padding: 10px 30rpx;
+				// height: 100%;
+				display: flex;
+				flex-wrap: wrap;
+				justify-content: space-between;
+				// background-color: greenyellow;
+				margin-bottom: 50px;
 
-        .tit {
-          width: 257rpx;
-          margin: 10rpx 0;
-          // height: 80rpx;
-          font-weight: bold;
-          white-space: normal;
-          display: -webkit-box;
-          word-break: break-all;
-          text-overflow: ellipsis;
-          overflow: hidden;
-          -webkit-box-orient: vertical;
-          -webkit-line-clamp: 2;
-          /*设置 需要显示的行数*/
-        }
+				.cont {
+					background-color: #ffffff;
+					width: 332rpx;
+					padding: 20rpx 15rpx;
+					border-radius: 10px;
+					margin-bottom: 20rpx;
 
-        .teacher {
-          color: #999999;
-        }
-      }
-    }
-  }
-}
-</style>
+					image {
+						width: 300rpx;
+						height: 170rpx;
+						border-radius: 10rpx;
+					}
+
+					.tit {
+						width: 257rpx;
+						margin: 10rpx 0;
+						// height: 80rpx;
+						font-weight: bold;
+						white-space: normal;
+						display: -webkit-box;
+						word-break: break-all;
+						text-overflow: ellipsis;
+						overflow: hidden;
+						-webkit-box-orient: vertical;
+						-webkit-line-clamp: 2;
+						/*设置 需要显示的行数*/
+					}
+
+					.teacher {
+						color: #999999;
+					}
+				}
+			}
+		}
+	}
+</style>

+ 4 - 2
pages/skipone/skipone.vue

@@ -1,6 +1,7 @@
 <template>
 	<view class="">
 		<web-view :src="url"></web-view>
+		<!-- <iframe :src="url" frameborder="0" style="width: 100%; height: 100vh;"></iframe> -->
 	</view>
 </template>
 
@@ -8,11 +9,12 @@
 	export default {
 		data() {
 			return {
-				url: ''
+				url: 'https://beta.cloud.cocorobo.cn/ab.html'
 			};
 		},
 		onLoad(options) {
-			this.url = decodeURIComponent(options.url);
+			console.log(options);
+			// this.url = decodeURIComponent(options.url);
 		}
 	}
 </script>

+ 24 - 53
pages/teachingList/teachingList.vue

@@ -3,7 +3,7 @@
 		<statusBar :item="navbarBata"></statusBar>
 		<!-- <teaching-case></teaching-case> -->
 		<view class="" style="padding-bottom: 50rpx;">
-			<teaching-case v-for="(item,index) in classList" :key="index" :classList='item'></teaching-case>
+			<teaching-case v-for="(item,index) in classList" :key="index" :classList='item' :indexId="index"></teaching-case>
 		</view>
 
 	</view>
@@ -14,60 +14,31 @@
 		data() {
 			return {
 				navbarBata: {
-					title: '教研室列表',
+					title: '推荐课程列表',
 					btn: 1
 				},
-				classList: [{
-										img: 'http://43.139.158.220:5007/img/static/mine/img1.jpg',
-										className: '创业者管理能力训练基础',
-										intro: '《创业者管理能力训练基础》通过管理学、营销学、财税理论、创业基础知识及创业操作实务的提炼,以专题化的形式面向高职类所有专业的学生。本课程一共有三大部分、七个专题。分别为:第一部分,一般管理者能力训练基础,四个专题,即自我管理能力训练、团队管理能力训练、社会关系管理能力训练与团队建设能力训练。第二部分,创业者重要能力的领悟与训练,二个专题,即成功创业者的智力要素、成功创业者商务能力的领悟与训练。第三部分是咖啡厅实践训练。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img2.jpg',
-										className: '创业融资实务',
-										intro: '本课程是创业管理专业、创业班的核心课程,根据专业培养目标的定位,主要面向创投机构服务专员岗位,培养该岗位应具备的相关创业融资知识和技能。课程主要采用“做中学”体验式的设计理念,引入真实项目进行“理实一体实战训练”。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img3.jpg',
-										className: '创业基础',
-										intro: '《创业基础》是一门面向高等院校学生与社会青年开设一门必修的基础理论和易于实际操作的创业综合基础课程。旨激发学员创业激情,增强创业意识,培养学员具备创业基础知识与基本能力,为大学生自主创业、拓展就业及开创事业等提供系统的理论与实践支持。是顺应新时代社会经济与高校教育发展的要求,以市场变化及其趋势为前提,从人才培养机理与中小企业成长规律的角度出发,结合教师多年创业教育与企业家人才培养成功经验,运用企业现代管理新观念,让学员掌握中小企业开办与管理全过程的理论和实务的一门创业综合基础课程。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img4.jpg',
-										className: '打造无敌商业计划书',
-										intro: '暂无简介'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img5.jpg',
-										className: '创新思维',
-										intro: '将创新思维意识与方法技能双元结合,综合微课学习与创造力实践训练融合演进,实现在线学习与配套教材混合驱动。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img6.jpg',
-										className: '创业经营',
-										intro: '课程主要讲授初创企业负责人如何展开科学经营的基本知识和技能,通过“创业者说创业”、“经营原理讲解”、“企业家说经营”、“经营实训练习”四个板块,帮助学员了解创业的意义,树立正确的创业理念和经营意识,提高社会责任感、提升创业能力,培养企业家精神,促进质量创业。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img6.jpg',
-										className: '创业经营',
-										intro: '课程主要讲授初创企业负责人如何展开科学经营的基本知识和技能,通过“创业者说创业”、“经营原理讲解”、“企业家说经营”、“经营实训练习”四个板块,帮助学员了解创业的意义,树立正确的创业理念和经营意识,提高社会责任感、提升创业能力,培养企业家精神,促进质量创业。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img7.jpg',
-										className: '跨境电商创业',
-										intro: '跨境电商所有平台中利润最高、要求最高的就是亚马逊平台。 跨境电商企业需求最多的也是亚马逊运营人才。 《跨境电商创业》课程汇聚了一批有丰富亚马逊实战经验的高校创业导师、企业大卖家和大学生创业者,以经验分享、后台实操演示和创业案例剖析等形式,手把手教您亚马逊平台实操运营,带您开启跨境电商创业之路。'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img8.jpg',
-										className: '精益创业方法论',
-										intro: '暂无简介'
-									},
-									{
-										img: 'http://43.139.158.220:5007/img/static/mine/img9.png',
-										className: '互联网营销策划实务',
-										intro: '课程开发以创业就业能力培养为导向;以培养学生职业生涯发展、专业技能、自主学习与创新能力、职业素质为指导。使课程实现“项目化、任务化、碎片化、实战化”。便于学生利用零碎时间、移动设备学习。课程配有成套微课程视频外,还提供全套的教学与自学材料的国家及省级精品在线开放课程。'
-									},
-								],
+				classList: [
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/jiaoxueship.jpg",
+				    className: "教学视频",
+				    intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学视频",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/jiaoxuedagang.jpg",
+				    className: "教学大纲",
+				    intro: "课程简介:丽湖职教双创教育国际虚拟教研室教学大纲",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/peiyangfangan.jpg",
+				    className: "培养方案",
+				    intro: "课程简介:丽湖职教双创教育国际虚拟教研室培养方案",
+				  },
+				  {
+				    img: "http://43.139.158.220:5007/img/static/img/xitishiti.jpg",
+				    className: "习题试题",
+				    intro: "课程简介:丽湖职教双创教育国际虚拟教研室习题试题",
+				  },
+				],
 			};
 		}
 	}