|
|
@@ -1,21 +1,22 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
<!-- 背景图片 -->
|
|
|
- <image class="bg" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/hp_top_bg.png" mode=""></image>
|
|
|
+ <image class="bg" src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/hp_top_bg.png" mode=""></image>
|
|
|
<view>
|
|
|
<view class="top-inner">
|
|
|
<view class="fixed-top-box" :style="{ background: bgColor }">
|
|
|
<!-- 这里是状态栏 -->
|
|
|
<view class="status_bar" :style="{height: statusBarHeight}"></view>
|
|
|
<view class="top-title">
|
|
|
- <view class="name">中康智慧</view>
|
|
|
+ <!-- <view class="name">益寿缘</view> -->
|
|
|
+ <image class="name" src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/name.png"></image>
|
|
|
<!-- <view class="dot">•</view><view class="sub-name">七彩互联网医院</view> -->
|
|
|
</view>
|
|
|
<!-- 搜索框、购物车、客服 -->
|
|
|
<view class="func-cont">
|
|
|
<view class="search-cont" :style="{width:userinfoa.isShow==0 || isuser==true?'633rpx':''}">
|
|
|
<image class="icon-search"
|
|
|
- src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/search.png" mode="">
|
|
|
+ src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/search.png" mode="">
|
|
|
</image>
|
|
|
<input type="text" value="" placeholder="请输入产品名称"
|
|
|
placeholder-style="font-size:28rpx;color:#BBBBBB;font-family: PingFang SC;"
|
|
|
@@ -25,20 +26,16 @@
|
|
|
<uni-badge size="small" :text="cartCount" absolute="rightTop" type="error"
|
|
|
v-show="userinfoa.isShow==1&&isuser==false">
|
|
|
<view class="img-item" @click="goAuthUrl('../shopping/cart')">
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/cart_wihte.png"
|
|
|
+ <image src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/cart_wihte.png"
|
|
|
mode=""></image>
|
|
|
</view>
|
|
|
</uni-badge>
|
|
|
<view class="img-item" style="position: relative;">
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/customer.png" mode="">
|
|
|
+ <image src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/customer.png" mode="">
|
|
|
</image>
|
|
|
<button class="contact-btn" open-type="contact"></button>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- <view class="tips">
|
|
|
- <view class="left"></view>
|
|
|
- <view class="right" @click="navTo('./cert')">资质证明</view>
|
|
|
- </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 头部间距 -->
|
|
|
@@ -57,199 +54,43 @@
|
|
|
</swiper>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<!-- 菜单 -->
|
|
|
<view class="menu-content">
|
|
|
<view class="menu-box">
|
|
|
<Menu :list="menus" @menuClick="menuClick" v-if="menus.length>0" style="width:100%;"></Menu>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 在线问诊、处方查询 -->
|
|
|
- <!-- <view class="online-inquiry">
|
|
|
- <view class="item" @click="navTo('/pages_doctor/doctorQr')">
|
|
|
- <image class="bg-img" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/online_treat.png" mode=""></image>
|
|
|
- <view class="inner">
|
|
|
- <text class="title">医师咨询</text>
|
|
|
- <text class="sub-title">权威医生 快速回复</text>
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/doctor.png" mode=""></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="item" @click="goAuthUrl('/pages_user/user/prescribeOrder')">
|
|
|
- <image class="bg-img" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/chu_query.png" mode=""></image>
|
|
|
- <view class="inner">
|
|
|
- <text class="title">处方查询</text>
|
|
|
- <text class="sub-title">快速查询处方单</text>
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/cu_search.png" mode=""></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <view class="open-class">
|
|
|
+ <view class="open-class radius12">
|
|
|
<view class="title-box">
|
|
|
- <text class="title">健康生活方式大讲堂</text>
|
|
|
- <view class="more" @click="goClassList">
|
|
|
+ <text class="title">健康大讲堂</text>
|
|
|
+ <view class="more" @click="goClassList(1)">
|
|
|
<text>查看全部</text>
|
|
|
- <image src="/static/assets/toright.png"></image>
|
|
|
+ <image src="https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/toright.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <u-scroll-list :indicator="false">
|
|
|
- <view class="class-item" @click="goClass(item.courseId)" v-for="(item, index) in classList"
|
|
|
+ <view class="justify-start">
|
|
|
+ <view class="class-item" @click="goClass(item.courseId,1)" v-for="(item, index) in classList"
|
|
|
:key="index">
|
|
|
<view class="img-box">
|
|
|
- <image :src="item.imgUrl || '/static/assets/no-img.png'" ></image>
|
|
|
+ <image :src="item.imgUrl || 'https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/no-img.png'"
|
|
|
+ mode="aspectFill"></image>
|
|
|
</view>
|
|
|
- <view>{{item.courseName}}</view>
|
|
|
+ <view class="ellipsis">{{item.courseName}}</view>
|
|
|
</view>
|
|
|
- </u-scroll-list>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="modules">
|
|
|
<view class="module">
|
|
|
- <!--养生有道-->
|
|
|
- <!-- <view class="depts">
|
|
|
- <view class="title">养生有道</view>
|
|
|
- <view class="dept-box">
|
|
|
- <view @click="yangshengClick(item)" class="dept" :key="index" v-for="(item,index) in yangshengs" >
|
|
|
- <image class="icon" :src="item.icon"></image>
|
|
|
- <view class="title" >{{item.title}} </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- -->
|
|
|
- <!-- <view class="doctor-articles" >
|
|
|
- <view class="title-box">
|
|
|
- <view class="title">养生讲堂</view>
|
|
|
- <view class="more" @click="navTo('/pages_index/index/doctorArticleList')" >
|
|
|
- <view class="text">更多</view>
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/arrow_gray.png"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <scroll-view :scroll-x="true" style="white-space: nowrap;">
|
|
|
- <view class="article-box" >
|
|
|
- <view class="article" @click="navTo('/pages_index/index/doctorArticleDetails?articleId='+item.articleId)" v-for="(item,index) in doctocArticles" :key="index">
|
|
|
- <view class="image-box">
|
|
|
- <image mode="aspectFill" :src="item.imageUrl"></image>
|
|
|
- <view class="views">
|
|
|
- {{item.views}}人观看
|
|
|
- </view>
|
|
|
- <view class="doctor">
|
|
|
- <image mode="aspectFill" :src="item.avatar"></image>
|
|
|
- <view class="right">
|
|
|
- <view class="doc-name ellipsis">{{item.doctorName}}</view>
|
|
|
- <view class="doc-position ellipsis">{{item.position}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="article-title-box">
|
|
|
- <view class="article-title ellipsis">{{item.title}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </scroll-view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
- <!--养生干货-->
|
|
|
- <!-- <view class="articles" >
|
|
|
- <view class="title-box">
|
|
|
- <view class="title">养生干货</view>
|
|
|
- <view class="more" @click="navTo('/pages_index/index/articleList')">
|
|
|
- <view class="text">更多</view>
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/arrow_gray.png"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="article-box" v-if="articles.length>0">
|
|
|
- <view class="item" :key="index" @click="navTo('/pages_index/index/articleDetails?articleId='+item.articleId)" v-for="(item,index) in articles">
|
|
|
- <view class="left">
|
|
|
- <view class="title">
|
|
|
- {{item.title}}
|
|
|
- </view>
|
|
|
- <view class="views">
|
|
|
- 浏览量 {{item.views}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <image :src="item.imageUrl"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="index-cont">
|
|
|
-
|
|
|
<!-- 热门榜单 -->
|
|
|
<!-- <NewProduct :detail="newProductList" /> -->
|
|
|
<HotProduct :detail="hotProductList" />
|
|
|
- <!-- 健康百科 -->
|
|
|
- <!-- <view class="pub-item" style="margin-top: 20rpx;" >
|
|
|
- <view class="pub-title-box">
|
|
|
- <text class="left">健康百科</text>
|
|
|
- <view class="right" @click="switchTo('../healthy/index')">
|
|
|
- <text class="text">更多</text>
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/arrow_gray.png" mode=""></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="inner">
|
|
|
- <view class="pub-tab-box">
|
|
|
- <view class="tab-inner">
|
|
|
- <view
|
|
|
- v-for="(item,index) in articleCateList"
|
|
|
- :key="index"
|
|
|
- :class="item.cateId == cateId?'item active':'item'"
|
|
|
- @click="articleCateChange(item)">
|
|
|
- <view class="text">
|
|
|
- {{ item.cateName }}
|
|
|
- <image v-show="item.cateId == cateId" class="tab-bg" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/tab_bg.png" mode=""></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <image class="right-mask" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/mask.png" mode=""></image>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="know-list">
|
|
|
- <view class="item" v-for="(item,index) in articleList" :key="index" @click="showArticle(item)">
|
|
|
- <view class="left">
|
|
|
- <view class="title ellipsis2">{{ item.title }}</view>
|
|
|
- <view class="info-box">
|
|
|
- <view class="readers">
|
|
|
- <view class="head-box" v-if="item.viewsList!=null&&item.viewsList.length>0">
|
|
|
- <view class="head" v-for="(subitem,j) in item.viewsList" :key="j" v-if="subitem!=null" >
|
|
|
- <image :src="subitem.avatar==null?'https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/detault_head.jpg':subitem.avatar" mode=""></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="readings">
|
|
|
- <image class="eye" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/eye.png" mode=""></image>
|
|
|
- <text class="num">{{item.views}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="time">{{item.publishTime}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <image :src="item.imageUrl" mode="aspectFill"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
<!-- 精选药品 -->
|
|
|
<TuiProduct ref="tuiProduct" />
|
|
|
-
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
- <!-- 限时消息 -->
|
|
|
- <!-- <view class="message-box" >
|
|
|
- <view class="left">
|
|
|
- <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/close24.png" mode="" @click="closeMsg"></image>
|
|
|
- <view class="text ellipsis">关注公众号了解更新</view>
|
|
|
- </view>
|
|
|
- <view class="btn">查看</view>
|
|
|
-
|
|
|
- </view> -->
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<view class="official-account">
|
|
|
<official-account @load="bindload" @error="binderror"></official-account>
|
|
|
@@ -269,7 +110,8 @@
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
- courseList
|
|
|
+ courseList,
|
|
|
+ courseListB
|
|
|
} from '@/api/class.js'
|
|
|
import zModal from '@/components/z-modal/z-modal.vue'
|
|
|
import {
|
|
|
@@ -286,7 +128,7 @@
|
|
|
getTuiArticle,
|
|
|
getTuiDoctorOrder,
|
|
|
getCartCount,
|
|
|
- getpro
|
|
|
+ getConfigByKey
|
|
|
} from '@/api/index'
|
|
|
import {
|
|
|
getDoctorArticleList
|
|
|
@@ -297,7 +139,7 @@
|
|
|
import {
|
|
|
getStoreConfig
|
|
|
} from '@/api/common'
|
|
|
- // import tabBg from "https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/tab_bg.png"
|
|
|
+ // import tabBg from "https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/tab_bg.png"
|
|
|
import freeAudio from '@/components/chengpeng-audio/free-audio.vue'
|
|
|
import Menu from '@/components/Menu.vue'
|
|
|
import HotProduct from './components/HotProduct.vue'
|
|
|
@@ -362,7 +204,7 @@
|
|
|
articles: [], //养生干货
|
|
|
// 状态栏的高度
|
|
|
statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
|
|
|
- tabBg: "https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/tab_bg.png", // tab切换背景
|
|
|
+ tabBg: "https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/tab_bg.png", // tab切换背景
|
|
|
// 问诊案例类型
|
|
|
orderTypes: [{
|
|
|
name: '全部',
|
|
|
@@ -427,9 +269,10 @@
|
|
|
],
|
|
|
userinfoa: [],
|
|
|
isuser: false,
|
|
|
- menvKey: []
|
|
|
+ menvKey: [],
|
|
|
+ classListb:{}
|
|
|
}
|
|
|
- this.getStoreActivity();
|
|
|
+ // this.getStoreActivity();
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
if (option.userCode != null) {
|
|
|
@@ -449,7 +292,7 @@
|
|
|
this.getUserInfo();
|
|
|
}
|
|
|
}
|
|
|
- this.getStoreActivity()
|
|
|
+ // this.getStoreActivity()
|
|
|
},
|
|
|
// 暂停所有音频(一般用于页面切换时停止正在播放的音频)
|
|
|
onUnload() { //普通页面在 onUnload 生命周期中执行
|
|
|
@@ -468,28 +311,31 @@
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
return {
|
|
|
- title: '中康智慧-您的专属健康解决方案',
|
|
|
+ title: '益寿缘-您的专属健康解决方案',
|
|
|
path: `/pages/common/launch`,
|
|
|
- imageUrl: 'https://zkzh-2024.oss-cn-beijing.aliyuncs.com/fs/20241127/5b9750f911804728b153ebe5c0051a6f.jpg' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
|
|
|
+ imageUrl: this.$store.state.imgpath+'/app/image/logo.png'//分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
|
|
|
}
|
|
|
},
|
|
|
onReachBottom() {
|
|
|
- console.log("onReachBottom")
|
|
|
- //this.$refs.tuiProduct.getTuiProducts();
|
|
|
+ // console.log("onReachBottom")
|
|
|
+ this.$refs.tuiProduct.getTuiProducts();
|
|
|
},
|
|
|
//分享到朋友圈
|
|
|
onShareTimeline(res) {
|
|
|
return {
|
|
|
- title: '中康智慧-您的专属健康解决方案',
|
|
|
+ title: '益寿缘-您的专属健康解决方案',
|
|
|
query: '', //页面参数
|
|
|
- imageUrl: 'https://zkzh-2024.oss-cn-beijing.aliyuncs.com/fs/20241127/5b9750f911804728b153ebe5c0051a6f.jpg' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
|
|
|
+ imageUrl: this.$store.state.imgpath+'/app/image/logo.png'//分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
// 计算属性的 getter
|
|
|
bgColor: function() {
|
|
|
var top = this.top / 30;
|
|
|
- return 'rgba(43,199,185, ' + top + ')';
|
|
|
+ return 'rgba(64, 144, 118, ' + top + ')';
|
|
|
+ },
|
|
|
+ imgPath() {
|
|
|
+ return this.$store.state.imgpath
|
|
|
},
|
|
|
},
|
|
|
onShow() {
|
|
|
@@ -519,6 +365,7 @@
|
|
|
getCourseList() {
|
|
|
courseList().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
+ console.log('公域',res.data)
|
|
|
this.classList = res.data.slice(0, 3)
|
|
|
} else {
|
|
|
uni.hideLoading();
|
|
|
@@ -528,25 +375,25 @@
|
|
|
});
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
},
|
|
|
- goClass(id) {
|
|
|
+ goClass(id,type) {
|
|
|
+ // console.log(id)
|
|
|
uni.navigateTo({
|
|
|
- url: `/pages_manage/learn?courseId=${id}`
|
|
|
+ url:'/pages_course/learn?courseId='+id+'&type='+type
|
|
|
})
|
|
|
},
|
|
|
- goClassList() {
|
|
|
+ goClassList(type) {
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_manage/teacherClassroom'
|
|
|
+ url: '/pages_course/teacherClassroom?type='+type
|
|
|
})
|
|
|
},
|
|
|
getshowmanv() {
|
|
|
const data = {
|
|
|
key: "store.appShow"
|
|
|
}
|
|
|
- getpro(data).then(res => {
|
|
|
+ getConfigByKey(data).then(res => {
|
|
|
this.menvKey = JSON.parse(res.data)
|
|
|
- console.log('排序', this.menvKey[0])
|
|
|
+ // console.log('排序', this.menvKey[0])
|
|
|
})
|
|
|
},
|
|
|
getUserInfo() {
|
|
|
@@ -573,7 +420,7 @@
|
|
|
this.tuiModalControl = false
|
|
|
},
|
|
|
submitTui(e) {
|
|
|
- console.log(e)
|
|
|
+ // console.log(e)
|
|
|
if (e.inputText == null || e.inputText == "") {
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
|
@@ -697,7 +544,7 @@
|
|
|
// this.menus.push(item);
|
|
|
// }
|
|
|
// }
|
|
|
- console.log('图标', res.data)
|
|
|
+ // console.log('图标', res.data)
|
|
|
// const menuNames = ['健康百科', '健康自测', '健康档案', '药品商城', '领券中心', '会员'];
|
|
|
this.menus = res.data
|
|
|
// this.menus = res.data.filter(item => menuNames.some(menuName => item.menuName.includes(menuName)) );
|
|
|
@@ -709,8 +556,8 @@
|
|
|
getCanvas() {
|
|
|
getCanvas().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- console.log(res.data)
|
|
|
- this.canvas = JSON.parse(res.data.json)
|
|
|
+ // console.log(res.data)
|
|
|
+ this.canvas = JSON.parse(res.data.json)?JSON.parse(res.data.json):''
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -1041,11 +888,13 @@
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
.name {
|
|
|
- font-size: 42upx;
|
|
|
- font-family: Source Han Sans CN;
|
|
|
- font-weight: bold;
|
|
|
- color: #FFFFFF;
|
|
|
- padding-left: 41upx;
|
|
|
+ margin-left: 15rpx;
|
|
|
+ width: 183rpx;
|
|
|
+ height: 75rpx;
|
|
|
+ image{
|
|
|
+ width:100%;
|
|
|
+ height:100%;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.dot {
|
|
|
@@ -1069,7 +918,6 @@
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 30upx 20upx 30upx 20upx;
|
|
|
-
|
|
|
.search-cont {
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
@@ -1077,6 +925,7 @@
|
|
|
width: 552upx;
|
|
|
height: 72upx;
|
|
|
background: #FFFFFF;
|
|
|
+ border: #409076 solid 2rpx;
|
|
|
border-radius: 36upx;
|
|
|
padding: 0 30upx;
|
|
|
|
|
|
@@ -1178,7 +1027,7 @@
|
|
|
.item {
|
|
|
// width: 46.13%;
|
|
|
width: 346upx;
|
|
|
- height: 150upx;
|
|
|
+ height: 190upx;
|
|
|
position: relative;
|
|
|
|
|
|
.bg-img,
|
|
|
@@ -1200,19 +1049,21 @@
|
|
|
padding-left: 32upx;
|
|
|
|
|
|
.title {
|
|
|
- font-size: 30upx;
|
|
|
+ // font-family: Source Han Serif CN;
|
|
|
+ font-family: Source Han Serif CN;
|
|
|
+ font-size: 32upx;
|
|
|
line-height: 1;
|
|
|
- font-family: PingFang SC;
|
|
|
+ // font-family: PingFang SC;
|
|
|
font-weight: 500;
|
|
|
- color: #111111;
|
|
|
- margin-bottom: 20upx;
|
|
|
+ color: #E9411C;
|
|
|
+ margin-bottom: 12upx;
|
|
|
}
|
|
|
|
|
|
.sub-title {
|
|
|
font-size: 24upx;
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 500;
|
|
|
- color: #666666;
|
|
|
+ color: #999999;
|
|
|
}
|
|
|
|
|
|
image {
|
|
|
@@ -2037,9 +1888,11 @@
|
|
|
// 健康生活大讲堂
|
|
|
.open-class {
|
|
|
padding: 20rpx;
|
|
|
- margin: 20rpx 15rpx 0rpx;
|
|
|
- background-color: #f0f4f7;
|
|
|
-
|
|
|
+ margin: 20rpx 15rpx;
|
|
|
+ margin-top: 60rpx;
|
|
|
+ // background-color: #f0f4f7;
|
|
|
+ background: url(https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/shop/images/red_rmbd_bg.png) no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
.title-box {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
@@ -2068,15 +1921,14 @@
|
|
|
.class-item {
|
|
|
font-size: 24rpx;
|
|
|
margin-top: 24rpx;
|
|
|
- background-color: #fff;
|
|
|
+ // background-color: #fff;
|
|
|
border-radius: 16rpx;
|
|
|
- padding: 8rpx 10rpx 16rpx;
|
|
|
+ padding: 0 16rpx;
|
|
|
margin-right: 14rpx;
|
|
|
- width: 250rpx;
|
|
|
- height: 300rpx;
|
|
|
+ width: 32%;
|
|
|
+ height: 280rpx;
|
|
|
font-size: 26rpx;
|
|
|
font-weight: 500;
|
|
|
-
|
|
|
.img-box {
|
|
|
height: 220rpx;
|
|
|
border-radius: 16rpx;
|