免登录
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<view class="commonPageBox">
|
||||
<public-module></public-module>
|
||||
|
||||
<view class="header_box"></view>
|
||||
<view class="appJump">
|
||||
<view class="everhealth item flexbox" @click="appjumpfun('everhealth')">
|
||||
@@ -58,7 +59,7 @@
|
||||
<image
|
||||
:src="v.icon"
|
||||
mode="aspectFill"
|
||||
style="width: 59rpx; height: 59rpx"
|
||||
style="width: 49rpx; height: 49rpx"
|
||||
></image>
|
||||
</view>
|
||||
<view class="cate_item_name">{{ v.title }}</view>
|
||||
@@ -213,67 +214,7 @@ export default {
|
||||
dataInfo: {},
|
||||
flashSaleList: [], //试听
|
||||
miaoShaContent: "",
|
||||
cateList: [
|
||||
{
|
||||
title: "儒",
|
||||
url: "/pages/curriculum/cate/index",
|
||||
imgUrl: require("@/static/icon/homePage/cate_ru.png"),
|
||||
style: {
|
||||
width: "62rpx",
|
||||
height: "56rpx",
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: "释",
|
||||
// url: "/pages/curriculum/cate/index",
|
||||
// imgUrl: require("@/static/icon/homePage/cate_shi.png"),
|
||||
|
||||
// style: {
|
||||
// width: "49rpx",
|
||||
// height: "61rpx",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// title: "道",
|
||||
// url: "/pages/curriculum/cate/index",
|
||||
// imgUrl: require("@/static/icon/homePage/cate_dao.png"),
|
||||
|
||||
// style: {
|
||||
// width: "59rpx",
|
||||
// height: "59rpx",
|
||||
// },
|
||||
// },
|
||||
{
|
||||
title: "医",
|
||||
url: "/pages/curriculum/cate/index",
|
||||
imgUrl: require("@/static/icon/homePage/cate_yi.png"),
|
||||
|
||||
style: {
|
||||
width: "61rpx",
|
||||
height: "61rpx",
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "美",
|
||||
url: "/pages/curriculum/cate/index",
|
||||
imgUrl: require("@/static/icon/homePage/cate_mei.png"),
|
||||
|
||||
style: {
|
||||
width: "59rpx",
|
||||
height: "59rpx",
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "文",
|
||||
url: "/pages/curriculum/cate/index",
|
||||
imgUrl: require("@/static/icon/homePage/cate_wen.png"),
|
||||
|
||||
style: {
|
||||
width: "61rpx",
|
||||
height: "60rpx",
|
||||
},
|
||||
},
|
||||
],
|
||||
cateList: [ ],
|
||||
curriculumList: [
|
||||
{
|
||||
name: "课程设置",
|
||||
@@ -314,7 +255,15 @@ export default {
|
||||
async onTabItemTap() {
|
||||
this.requestAll();
|
||||
},
|
||||
|
||||
async onPullDownRefresh() {
|
||||
console.log('下拉刷新')
|
||||
|
||||
await this.requestAll();
|
||||
setTimeout(() => {
|
||||
uni.stopPullDownRefresh();
|
||||
console.log('下拉刷新已停止');
|
||||
}, 50);
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(["setUserInfo"]),
|
||||
goVideo() {
|
||||
@@ -395,6 +344,7 @@ export default {
|
||||
|
||||
if (res.code == 0) {
|
||||
that.cateList = res.labels ? res.labels : [];
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -703,33 +653,37 @@ function calcTimer(timer) {
|
||||
|
||||
.cate_box {
|
||||
width: 100%;
|
||||
height: 198rpx;
|
||||
height: auto;
|
||||
background: $themeColor;
|
||||
background-repeat: no-repeat;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
// justify-content: center;
|
||||
|
||||
background-size: 100% 100%;
|
||||
// background-image: url("@/static/icon/cate_bg.png");
|
||||
box-shadow: 0rpx 0rpx 6rpx 0rpx #f9f6ea;
|
||||
border-radius: 7rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 20rpx 31rpx;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: space-around;
|
||||
padding: 10rpx 10rpx 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
.cate_item_box {
|
||||
min-width: 110rpx;
|
||||
width: 25%;
|
||||
height: 100%;
|
||||
padding: 10rpx 0 10rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
flex-direction: column;
|
||||
|
||||
.cate_item_border {
|
||||
width: 75rpx;
|
||||
height: 98rpx;
|
||||
width: 65rpx;
|
||||
height: 78rpx;
|
||||
background-size: 100% 100%;
|
||||
background-image: url("@/static/icon/homePage/cate_bg.png");
|
||||
border-radius: 4rpx;
|
||||
@@ -743,11 +697,11 @@ function calcTimer(timer) {
|
||||
}
|
||||
|
||||
.cate_item_name {
|
||||
margin-top: 21rpx;
|
||||
margin-top: 10rpx;
|
||||
font-family: PangMenZhengDaoBiaoTiTiMianFeiBan;
|
||||
|
||||
font-weight: normal;
|
||||
font-size: 43rpx;
|
||||
font-size: 36rpx;
|
||||
color: #000000;
|
||||
// line-height: 46rpx;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user