|
|
|
@ -1,17 +1,20 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="page">
|
|
|
|
<view class="page">
|
|
|
|
|
|
|
|
|
|
|
|
<view class="fixhead" :style="{ marginTop: geStatusBarHeight() + 'px'}">
|
|
|
|
<view class="fixhead" :style="{ marginTop: geStatusBarHeight() + 'px'}">
|
|
|
|
<selShop :showName="false" :showQR="true" :shop="shop" @changeArea="changeArea"></selShop>
|
|
|
|
<selShop :showName="false" :showQR="true" :shopid="shopid" :shop="shop" @changeArea="changeArea"></selShop>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<scroll-view class="scrolllist" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">
|
|
|
|
<scroll-view class="scrolllist" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">
|
|
|
|
<view class="tabicl" v-for="(item, index) in list" :key="index" :class="index==tabCurrentIndex?'cur':''" @tap="tabSelect" :data-id="index">
|
|
|
|
<view class="tabicl" v-for="(item, index) in list" :key="index" :class="index==tabCurrentIndex?'cur':''" @tap="tabSelect" :data-id="index">
|
|
|
|
<view class="ptext">{{item.name}}</view>
|
|
|
|
<view class="ptext">{{item.name}}</view>
|
|
|
|
<view class="pline"></view>
|
|
|
|
<view class="pline"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
<swiper class="swiper-box" :duration="300" :current="tabCurrentIndex" @animationfinish="animationfinish">
|
|
|
|
<swiper class="swiper-box" :duration="300" :current="tabCurrentIndex" @animationfinish="animationfinish" @change="handleChange">
|
|
|
|
<swiper-item class="swiper-item" v-for="(tabItem,index) in list" :key="tabItem.id">
|
|
|
|
<swiper-item class="swiper-item" v-for="(tabItem,index) in list" :key="tabItem.id">
|
|
|
|
<scroll-view v-if="index==1" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<!-- 了解场馆 -->
|
|
|
|
|
|
|
|
<scroll-view v-if="list[index].id==3" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<scroll-view class="scrolltab" scroll-x="true" scroll-with-animation>
|
|
|
|
<scroll-view class="scrolltab" scroll-x="true" scroll-with-animation>
|
|
|
|
<view class="tab" :class="0==tabIndex?'cur':''" @tap="tabSelectC" :data-id="0">
|
|
|
|
<view class="tab" :class="0==tabIndex?'cur':''" @tap="tabSelectC" :data-id="0">
|
|
|
|
企业介绍
|
|
|
|
企业介绍
|
|
|
|
@ -33,33 +36,34 @@
|
|
|
|
<view v-if="2==tabIndex" class="adrcontent">
|
|
|
|
<view v-if="2==tabIndex" class="adrcontent">
|
|
|
|
<view class="adrcon" v-for="(item, i) in shoplist" :key="i">
|
|
|
|
<view class="adrcon" v-for="(item, i) in shoplist" :key="i">
|
|
|
|
<view class="adrow">
|
|
|
|
<view class="adrow">
|
|
|
|
<uni-icons type="shop-filled" color="#89965f" size="25"></uni-icons>
|
|
|
|
<uni-icons type="shop-filled" color="#00a89b" size="25"></uni-icons>
|
|
|
|
<view class="txt">{{item.storeName}}</view>
|
|
|
|
<view class="txt">{{item.storeName}}</view>
|
|
|
|
<image class="qrimg" src="/static/image/qr.png" mode="aspectFit"></image>
|
|
|
|
<image class="qrimg" src="/static/image/qr.png" mode="aspectFit"></image>
|
|
|
|
<uni-icons type="phone" color="#89965f" size="25" @click="gotoPhone(item.phone)" ></uni-icons>
|
|
|
|
<uni-icons type="phone" color="#00a89b" size="25" @click="gotoPhone(item.phone)" ></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="adrow">
|
|
|
|
<view class="adrow">
|
|
|
|
<uni-icons type="map-pin-ellipse" color="#89965f" size="24"></uni-icons>
|
|
|
|
<uni-icons type="map-pin-ellipse" color="#00a89b" size="24"></uni-icons>
|
|
|
|
<view class="atxt">{{item.address}}</view>
|
|
|
|
<view class="atxt">{{item.address}}</view>
|
|
|
|
<uni-icons type="paperplane" color="#868c99" size="25" @click="gotoAddress(item.address)"></uni-icons>
|
|
|
|
<uni-icons type="paperplane" color="#868c99" size="25" @click="gotoAddress(item.address)"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="adrcon">
|
|
|
|
<!-- <view class="adrcon">
|
|
|
|
<view class="adrow">
|
|
|
|
<view class="adrow">
|
|
|
|
<uni-icons type="shop-filled" color="#89965f" size="25"></uni-icons>
|
|
|
|
<uni-icons type="shop-filled" color="#00a89b" size="25"></uni-icons>
|
|
|
|
<view class="txt">淮海中路店</view>
|
|
|
|
<view class="txt">淮海中路店</view>
|
|
|
|
<image class="qrimg" src="/static/image/qr.png" mode="aspectFit"></image>
|
|
|
|
<image class="qrimg" src="/static/image/qr.png" mode="aspectFit"></image>
|
|
|
|
<uni-icons type="phone" color="#89965f" size="25"></uni-icons>
|
|
|
|
<uni-icons type="phone" color="#00a89b" size="25"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="adrow">
|
|
|
|
<view class="adrow">
|
|
|
|
<uni-icons type="map-pin-ellipse" color="#89965f" size="24"></uni-icons>
|
|
|
|
<uni-icons type="map-pin-ellipse" color="#00a89b" size="24"></uni-icons>
|
|
|
|
<view class="atxt">上海市黄浦区淮海中路918号</view>
|
|
|
|
<view class="atxt">上海市黄浦区淮海中路918号</view>
|
|
|
|
<uni-icons type="paperplane" color="#868c99" size="25"></uni-icons>
|
|
|
|
<uni-icons type="paperplane" color="#868c99" size="25"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
</view> -->
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
<scroll-view v-else-if="index==2" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<!-- 教练风采 -->
|
|
|
|
|
|
|
|
<scroll-view v-else-if="list[index].id==5" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<view class="tcard" v-for="(item, i) in tabItem.slist" :key="i" @tap="gotoTeacher(item)">
|
|
|
|
<view class="tcard" v-for="(item, i) in tabItem.slist" :key="i" @tap="gotoTeacher(item)">
|
|
|
|
<view class="limg imgload">
|
|
|
|
<view class="limg imgload">
|
|
|
|
<image v-if="item.avatar" :src="getimgRemoteFile(item.avatar)" mode="aspectFill"></image>
|
|
|
|
<image v-if="item.avatar" :src="getimgRemoteFile(item.avatar)" mode="aspectFill"></image>
|
|
|
|
@ -75,11 +79,12 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<uni-load-more iconType="circle" :status="tabItem.loadStatus" />
|
|
|
|
<uni-load-more iconType="circle" :status="tabItem.loadStatus" />
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
<scroll-view v-else-if="index==7" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<!-- 健康指数、体质测评 -->
|
|
|
|
|
|
|
|
<scroll-view v-else-if="list[index].id==2||list[index].id==10" scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<view class="scontent">
|
|
|
|
<view class="scontent">
|
|
|
|
<uni-forms ref="valiForm" :modelValue="valiFormData">
|
|
|
|
<uni-forms ref="valiForm" :modelValue="valiFormData">
|
|
|
|
<uni-forms-item label="性别" labelWidth="180rpx" required name="contact">
|
|
|
|
<uni-forms-item label="性别" labelWidth="180rpx" required name="contact">
|
|
|
|
<uni-data-checkbox v-model="valiFormData.sex" :localdata="sexs" />
|
|
|
|
<uni-data-checkbox v-model="valiFormData.gender" :localdata="sexs" />
|
|
|
|
</uni-forms-item>
|
|
|
|
</uni-forms-item>
|
|
|
|
<uni-forms-item label="年龄" labelWidth="180rpx" required name="phone">
|
|
|
|
<uni-forms-item label="年龄" labelWidth="180rpx" required name="phone">
|
|
|
|
<uni-easyinput type="number" v-model="valiFormData.age" maxlength="12" placeholder="请输入年龄" />
|
|
|
|
<uni-easyinput type="number" v-model="valiFormData.age" maxlength="12" placeholder="请输入年龄" />
|
|
|
|
@ -94,6 +99,7 @@
|
|
|
|
<button type="primary" class="btn" @click="submit('valiForm')">计算</button>
|
|
|
|
<button type="primary" class="btn" @click="submit('valiForm')">计算</button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
|
|
|
|
|
|
|
|
<scroll-view v-else scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<scroll-view v-else scroll-y style="height: 100%;width: 100%;">
|
|
|
|
<view class="card" v-for="(item, i) in tabItem.slist" :key="i" @tap="gotoDetail(item,tabItem.name,index)">
|
|
|
|
<view class="card" v-for="(item, i) in tabItem.slist" :key="i" @tap="gotoDetail(item,tabItem.name,index)">
|
|
|
|
<view class="limg imgload">
|
|
|
|
<view class="limg imgload">
|
|
|
|
@ -116,6 +122,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<uni-load-more iconType="circle" :status="tabItem.loadStatus" />
|
|
|
|
<uni-load-more iconType="circle" :status="tabItem.loadStatus" />
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
|
|
|
|
|
|
|
|
</swiper-item>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
</swiper>
|
|
|
|
|
|
|
|
|
|
|
|
@ -144,126 +151,75 @@
|
|
|
|
shopid:myCache('myshopid')?myCache('myshopid'):'',
|
|
|
|
shopid:myCache('myshopid')?myCache('myshopid'):'',
|
|
|
|
shop:myCache('myshop')?myCache('myshop'):'',
|
|
|
|
shop:myCache('myshop')?myCache('myshop'):'',
|
|
|
|
tabIndex: 0,
|
|
|
|
tabIndex: 0,
|
|
|
|
|
|
|
|
id:1,
|
|
|
|
sexs: [{
|
|
|
|
sexs: [{
|
|
|
|
text: '男',
|
|
|
|
text: '男性',
|
|
|
|
value: 0
|
|
|
|
value: "male"
|
|
|
|
}, {
|
|
|
|
},
|
|
|
|
text: '女',
|
|
|
|
{
|
|
|
|
value: 1
|
|
|
|
text: '女性',
|
|
|
|
}, {
|
|
|
|
value: "female"
|
|
|
|
text: '保密',
|
|
|
|
|
|
|
|
value: 2
|
|
|
|
|
|
|
|
}],
|
|
|
|
}],
|
|
|
|
valiFormData: {// 校验表单数据
|
|
|
|
valiFormData: {// 校验表单数据
|
|
|
|
id: null,
|
|
|
|
id: null,
|
|
|
|
sex: '',
|
|
|
|
gender: '',
|
|
|
|
age: '',
|
|
|
|
age: '',
|
|
|
|
height: '',
|
|
|
|
height: '',
|
|
|
|
weight: '',
|
|
|
|
weight: '',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//tabs
|
|
|
|
//tabs
|
|
|
|
list:[
|
|
|
|
list: myCache('sortCache'),
|
|
|
|
{
|
|
|
|
// [
|
|
|
|
name:"瑜伽传承",
|
|
|
|
|
|
|
|
id:1,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
|
|
|
|
// name:"瑜伽传承",
|
|
|
|
// id:1,
|
|
|
|
// id:1,
|
|
|
|
// name: "瑜伽传承讲解",
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// info: `瑜伽的终极价值,或许在于它提供了一种超越时空的文明对话可能。当现代人在瑜伽垫上模仿祖先的山式站立时,完成的不仅是对身体的重塑,更是对"天人合一"古老智慧的当代诠释.`,
|
|
|
|
// slist:[]
|
|
|
|
// img: '../../static/image/theme/i2.jpg',
|
|
|
|
|
|
|
|
// num:101,
|
|
|
|
|
|
|
|
// date:'2025-06-20'
|
|
|
|
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"了解场馆",
|
|
|
|
|
|
|
|
id:2,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"教练风采",
|
|
|
|
|
|
|
|
id:3,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// id:11,
|
|
|
|
// name:"了解场馆",
|
|
|
|
// name: "Madeline 老师 (女)",
|
|
|
|
// id:2,
|
|
|
|
// info: "资深课程导师,国内知名大学专业毕业系统的学习与研究,顺利通过了所授课程的等级证书考核",
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// img: '../../static/image/theme/t2.png'
|
|
|
|
// slist:[]
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"练习瞬间",
|
|
|
|
|
|
|
|
id:4,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// id:1,
|
|
|
|
// name:"教练风采",
|
|
|
|
// name: "伸展瑜伽",
|
|
|
|
// id:3,
|
|
|
|
// info: `在蓝天白云下,与自然为朋友,享受瑜伽的魅力!与阳光亲密接触,感受能量的流动,瑜伽晨练真的让人焕发活力!`,
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// img: '../../static/image/theme/t2.png',
|
|
|
|
// slist:[]
|
|
|
|
// num:151,
|
|
|
|
|
|
|
|
// date:'2025-06-24'
|
|
|
|
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"瑜伽欣赏",
|
|
|
|
|
|
|
|
id:5,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// id:1,
|
|
|
|
// name:"练习瞬间",
|
|
|
|
// name: "伸展瑜伽",
|
|
|
|
// id:4,
|
|
|
|
// info: `瑜伽,让身体与灵魂紧密相连,感受呼吸的韵律,如丝般柔滑的曲线之美。`,
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// img: '../../static/image/theme/i3.jpg',
|
|
|
|
// slist:[]
|
|
|
|
// num:56,
|
|
|
|
|
|
|
|
// date:'2025-06-24'
|
|
|
|
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"瑜伽常识",
|
|
|
|
|
|
|
|
id:6,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// id:1,
|
|
|
|
// name:"瑜伽欣赏",
|
|
|
|
// name: "瑜伽常识了解",
|
|
|
|
// id:5,
|
|
|
|
// info: `任何人都可以使用瑜伽,在不平静的世界里寻求内心安宁。 灵 一致 身 心 瑜伽练习 通过瑜伽的练习能帮助人们从 纷繁复杂的困扰和痛苦中回归 到纯粹永恒的源头。 `,
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// img: '../../static/image/theme/i4.jpg',
|
|
|
|
// slist:[]
|
|
|
|
// num:516,
|
|
|
|
|
|
|
|
// date:'2025-06-22'
|
|
|
|
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"健康饮食",
|
|
|
|
|
|
|
|
id:7,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[
|
|
|
|
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// id:1,
|
|
|
|
// name:"瑜伽常识",
|
|
|
|
// name: "健康饮食了解",
|
|
|
|
// id:6,
|
|
|
|
// info: `任何人都可以使用瑜伽,在不平静的世界里寻求内心安宁。 灵 一致 身 心 瑜伽练习 通过瑜伽的练习能帮助人们从 纷繁复杂的困扰和痛苦中回归 到纯粹永恒的源头。 `,
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
// img: '../../static/image/theme/i4.jpg',
|
|
|
|
// slist:[]
|
|
|
|
// num:516,
|
|
|
|
|
|
|
|
// date:'2025-06-22'
|
|
|
|
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
]
|
|
|
|
// {
|
|
|
|
},
|
|
|
|
// name:"健康饮食",
|
|
|
|
{
|
|
|
|
// id:7,
|
|
|
|
name:"健康指数",
|
|
|
|
// loadStatus:'more',//'more', // 'noMore',
|
|
|
|
id:8,
|
|
|
|
// slist:[
|
|
|
|
loadStatus:'noMore',//'more', // 'noMore',
|
|
|
|
// ]
|
|
|
|
slist:[]
|
|
|
|
// },
|
|
|
|
}
|
|
|
|
// {
|
|
|
|
],
|
|
|
|
// name:"健康指数",
|
|
|
|
|
|
|
|
// id:8,
|
|
|
|
|
|
|
|
// loadStatus:'noMore',//'more', // 'noMore',
|
|
|
|
|
|
|
|
// slist:[]
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// ],
|
|
|
|
html1:`三朵蘭瑜伽机构由从事瑜伽行业18年的全国知名瑜伽导师冉洪涛老师创办,并带领一批行业内瑜伽教学经验8年以上的优秀瑜伽老师成立核心课程研发团队,立足于将在世界传承几千年的瑜伽修炼体系精髓进行实践化和实用化,结合中医的经络学和中医理疗方法,针对现代人体质和容易出现的健康问题研发出多套经典的瑜伽实用课程,经过几年在全国的推广和瑜伽会员的习练测试已经让越来越多的人恢复了健康和活力!
|
|
|
|
html1:`三朵蘭瑜伽机构由从事瑜伽行业18年的全国知名瑜伽导师冉洪涛老师创办,并带领一批行业内瑜伽教学经验8年以上的优秀瑜伽老师成立核心课程研发团队,立足于将在世界传承几千年的瑜伽修炼体系精髓进行实践化和实用化,结合中医的经络学和中医理疗方法,针对现代人体质和容易出现的健康问题研发出多套经典的瑜伽实用课程,经过几年在全国的推广和瑜伽会员的习练测试已经让越来越多的人恢复了健康和活力!
|
|
|
|
<br>三朵蘭以【预防未病,助人健康】为己任,一直为瑜伽而传播、为更多人保持和恢复健康助力!让更多人通过练习瑜伽拥有健康的体魄、平和宁静的内心、幸福和快乐的生活!<br>
|
|
|
|
<br>三朵蘭以【预防未病,助人健康】为己任,一直为瑜伽而传播、为更多人保持和恢复健康助力!让更多人通过练习瑜伽拥有健康的体魄、平和宁静的内心、幸福和快乐的生活!<br>
|
|
|
|
`,
|
|
|
|
`,
|
|
|
|
@ -271,15 +227,9 @@
|
|
|
|
<br>三朵蘭以【预防未病,助人健康】为己任,一直为瑜伽而传播、为更多人保持和恢复健康助力!让更多人通过练习瑜伽拥有健康的体魄、平和宁静的内心、幸福和快乐的生活!<br>
|
|
|
|
<br>三朵蘭以【预防未病,助人健康】为己任,一直为瑜伽而传播、为更多人保持和恢复健康助力!让更多人通过练习瑜伽拥有健康的体魄、平和宁静的内心、幸福和快乐的生活!<br>
|
|
|
|
`,
|
|
|
|
`,
|
|
|
|
shoplist:[],
|
|
|
|
shoplist:[],
|
|
|
|
shopdetail:{
|
|
|
|
|
|
|
|
storeName:"",
|
|
|
|
|
|
|
|
address:"",
|
|
|
|
|
|
|
|
id:"",
|
|
|
|
|
|
|
|
phone:"",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 校验规则
|
|
|
|
// 校验规则
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
sex: {
|
|
|
|
gender: {
|
|
|
|
rules: [{
|
|
|
|
rules: [{
|
|
|
|
required: true,
|
|
|
|
required: true,
|
|
|
|
errorMessage: '请选择性别'
|
|
|
|
errorMessage: '请选择性别'
|
|
|
|
@ -308,18 +258,13 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onLoad(option) {
|
|
|
|
onLoad(option) {
|
|
|
|
if(option.id||option.id==0){
|
|
|
|
if(option.id||option.id==0){
|
|
|
|
if(parseInt(option.id)==0){
|
|
|
|
this.id=option.id;
|
|
|
|
this.tabCurrentIndex=0;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
// 获取分类信息
|
|
|
|
this.tabCurrentIndex=parseInt(option.id);
|
|
|
|
this.getSort();
|
|
|
|
}
|
|
|
|
|
|
|
|
this.scrollLeft = (this.tabCurrentIndex - 1) * 90;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// 加载数据
|
|
|
|
|
|
|
|
this.loadData();
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow(){
|
|
|
|
onShow(){
|
|
|
|
|
|
|
|
|
|
|
|
this.openId = myCache('openId');
|
|
|
|
this.openId = myCache('openId');
|
|
|
|
var user = myCache('user');
|
|
|
|
var user = myCache('user');
|
|
|
|
this.userid = user.userid? user.userid:'';
|
|
|
|
this.userid = user.userid? user.userid:'';
|
|
|
|
@ -351,6 +296,29 @@
|
|
|
|
},100);
|
|
|
|
},100);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
async getSort() {
|
|
|
|
|
|
|
|
// 分类
|
|
|
|
|
|
|
|
const {data: res} = await uni.$http.get('/api/index/getIndex');
|
|
|
|
|
|
|
|
if (res&&res.data) {
|
|
|
|
|
|
|
|
myCache('sortCache',res.data);
|
|
|
|
|
|
|
|
this.list=[];
|
|
|
|
|
|
|
|
res.data.forEach((cell,ii)=>{
|
|
|
|
|
|
|
|
if(cell.id==this.id){
|
|
|
|
|
|
|
|
this.tabCurrentIndex=ii;
|
|
|
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.list.push({
|
|
|
|
|
|
|
|
name:cell.name,
|
|
|
|
|
|
|
|
id:cell.id,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
// 加载数据
|
|
|
|
|
|
|
|
this.loadData();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
gotoPhone(phone){
|
|
|
|
gotoPhone(phone){
|
|
|
|
//#ifdef MP-WEIXIN
|
|
|
|
//#ifdef MP-WEIXIN
|
|
|
|
uni.makePhoneCall({
|
|
|
|
uni.makePhoneCall({
|
|
|
|
@ -380,60 +348,11 @@
|
|
|
|
this.shop=item.storeName;
|
|
|
|
this.shop=item.storeName;
|
|
|
|
this.shopid=item.id;
|
|
|
|
this.shopid=item.id;
|
|
|
|
// 内容切换
|
|
|
|
// 内容切换
|
|
|
|
this.list=[
|
|
|
|
this.list=[];
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"瑜伽传承",
|
|
|
|
|
|
|
|
id:1,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"了解场馆",
|
|
|
|
|
|
|
|
id:2,
|
|
|
|
|
|
|
|
loadStatus:'noMore',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"教练风采",
|
|
|
|
|
|
|
|
id:3,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"练习瞬间",
|
|
|
|
|
|
|
|
id:4,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"瑜伽欣赏",
|
|
|
|
|
|
|
|
id:5,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"瑜伽常识",
|
|
|
|
|
|
|
|
id:6,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"健康饮食",
|
|
|
|
|
|
|
|
id:7,
|
|
|
|
|
|
|
|
loadStatus:'more',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name:"健康指数",
|
|
|
|
|
|
|
|
id:8,
|
|
|
|
|
|
|
|
loadStatus:'noMore',//'more', // 'noMore',
|
|
|
|
|
|
|
|
slist:[]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
this.html1=``;
|
|
|
|
this.html1=``;
|
|
|
|
this.html2=``;
|
|
|
|
this.html2=``;
|
|
|
|
this.$forceUpdate();
|
|
|
|
this.$forceUpdate();
|
|
|
|
this.loadData();
|
|
|
|
this.getSort();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
iflogin(){
|
|
|
|
iflogin(){
|
|
|
|
this.openId = myCache('openId');
|
|
|
|
this.openId = myCache('openId');
|
|
|
|
@ -461,48 +380,50 @@
|
|
|
|
async getList() {
|
|
|
|
async getList() {
|
|
|
|
if(this.list[this.tabCurrentIndex].loadStatus!=="noMore")
|
|
|
|
if(this.list[this.tabCurrentIndex].loadStatus!=="noMore")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
uni.showLoading({
|
|
|
|
|
|
|
|
title: '数据加载中...'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
var para={
|
|
|
|
var para={
|
|
|
|
visitStore:this.shopid
|
|
|
|
visitStore:this.shopid
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var url="/api/inherit/getList";
|
|
|
|
var url="/api/inherit/getList";
|
|
|
|
if(this.tabCurrentIndex==0){
|
|
|
|
if(this.list[this.tabCurrentIndex].id==1){
|
|
|
|
// 瑜伽传承
|
|
|
|
// 瑜伽是一种生活(瑜伽传承)
|
|
|
|
url="/api/inherit/getList";
|
|
|
|
url="/api/inherit/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==1){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==3){
|
|
|
|
// 了解场馆
|
|
|
|
// 了解场馆
|
|
|
|
url="/api/store/getList";
|
|
|
|
url="/api/store/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==2){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==5){
|
|
|
|
// 教练风采
|
|
|
|
// 教练风采
|
|
|
|
url="/api/context/getList";
|
|
|
|
url="/api/context/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==3){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==6){
|
|
|
|
// 练习瞬间
|
|
|
|
// 精彩瞬间(练习瞬间)
|
|
|
|
url="/api/moments/getList";
|
|
|
|
url="/api/moments/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==4){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==11){
|
|
|
|
// 瑜伽欣赏
|
|
|
|
// 瑜伽欣赏
|
|
|
|
url="/api/appreciate/getList";
|
|
|
|
url="/api/appreciate/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==5){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==12){
|
|
|
|
// 瑜伽常识
|
|
|
|
// 瑜伽常识
|
|
|
|
url="/api/sense/getList";
|
|
|
|
url="/api/sense/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(this.tabCurrentIndex==6){
|
|
|
|
else if(this.list[this.tabCurrentIndex].id==9){
|
|
|
|
// 健康饮食
|
|
|
|
// 吃瘦练美(健康饮食)
|
|
|
|
url="/api/healthy/getList";
|
|
|
|
url="/api/healthy/getList";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
uni.showLoading({
|
|
|
|
|
|
|
|
title: '数据加载中...'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
// 获取数据
|
|
|
|
const {data: res} = await uni.$http.post(url, para);
|
|
|
|
const {data: res} = await uni.$http.post(url, para);
|
|
|
|
|
|
|
|
|
|
|
|
if(res.data){
|
|
|
|
if(res.data){
|
|
|
|
this.list[this.tabCurrentIndex].loadStatus="noMore";
|
|
|
|
this.list[this.tabCurrentIndex].loadStatus="noMore";
|
|
|
|
if(this.tabCurrentIndex==1){
|
|
|
|
if(this.list[this.tabCurrentIndex].id==3){
|
|
|
|
console.log(res.data)
|
|
|
|
console.log(res.data)
|
|
|
|
// 了解场馆
|
|
|
|
// 了解场馆
|
|
|
|
var companyIntroduction=res.data&&res.data.companyIntroduction?res.data.companyIntroduction:'';
|
|
|
|
var companyIntroduction=res.data&&res.data.companyIntroduction?res.data.companyIntroduction:'';
|
|
|
|
@ -515,6 +436,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
this.list[this.tabCurrentIndex].slist=res.data;
|
|
|
|
this.list[this.tabCurrentIndex].slist=res.data;
|
|
|
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$forceUpdate();
|
|
|
|
this.$forceUpdate();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -534,11 +456,79 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
tabSelect(e) {
|
|
|
|
tabSelect(e) {
|
|
|
|
console.log(e);
|
|
|
|
console.log("tabSelect");
|
|
|
|
var that=this;
|
|
|
|
if(this.list[e.currentTarget.dataset.id].id==4){
|
|
|
|
|
|
|
|
// 课程预约
|
|
|
|
|
|
|
|
if(this.userid==""||this.userid=="0"){
|
|
|
|
|
|
|
|
this.$refs.loginId.open();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
// 课程预约
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: `/pages/user/courselist`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(this.list[e.currentTarget.dataset.id].id==7){
|
|
|
|
|
|
|
|
// 大咖分享(线上大咖课)
|
|
|
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
|
|
|
url: `/pages/product/list?id=2`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(this.list[e.currentTarget.dataset.id].id==8){
|
|
|
|
|
|
|
|
// 教练培训
|
|
|
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
|
|
|
url: `/pages/product/list`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
this.tabCurrentIndex = e.currentTarget.dataset.id;
|
|
|
|
this.tabCurrentIndex = e.currentTarget.dataset.id;
|
|
|
|
this.scrollLeft = (e.currentTarget.dataset.id - 1) * 90;
|
|
|
|
this.$forceUpdate();
|
|
|
|
if(this.tabCurrentIndex==7){
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
animationfinish({ detail: { current } }) {
|
|
|
|
|
|
|
|
console.log("animationfinish")
|
|
|
|
|
|
|
|
// this.tabCurrentIndex = current;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
handleChange(e) {
|
|
|
|
|
|
|
|
//原在animationfinish中的操作转移到这里
|
|
|
|
|
|
|
|
console.log("handleChange");
|
|
|
|
|
|
|
|
if(this.list[e.detail.current].id==4){
|
|
|
|
|
|
|
|
// 课程预约
|
|
|
|
|
|
|
|
if(this.userid==""||this.userid=="0"){
|
|
|
|
|
|
|
|
this.$refs.loginId.open();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
// 课程预约
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: `/pages/user/courselist`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(this.list[e.detail.current].id==7){
|
|
|
|
|
|
|
|
// 大咖分享(线上大咖课)
|
|
|
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
|
|
|
url: `/pages/product/list?id=2`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(this.list[e.detail.current].id==8){
|
|
|
|
|
|
|
|
// 教练培训
|
|
|
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
|
|
|
url: `/pages/product/list`
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
this.tabCurrentIndex = e.detail.current;
|
|
|
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
|
|
|
|
this.tabChangeDo();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
tabChangeDo(){
|
|
|
|
|
|
|
|
this.scrollLeft = (this.tabCurrentIndex - 1) * 90;
|
|
|
|
|
|
|
|
if(this.list[this.tabCurrentIndex].id==2||this.list[this.tabCurrentIndex].id==10){
|
|
|
|
|
|
|
|
var that=this;
|
|
|
|
|
|
|
|
// 健康指数 体质测评
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
console.log(that.$refs.valiForm)
|
|
|
|
console.log(that.$refs.valiForm)
|
|
|
|
if(that.$refs.valiForm){
|
|
|
|
if(that.$refs.valiForm){
|
|
|
|
@ -546,23 +536,22 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, 1000);
|
|
|
|
}, 1000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
// 重新加载 暂不需要加载
|
|
|
|
// 重新加载 暂不需要加载
|
|
|
|
// this.list[this.tabCurrentIndex].loadStatus="more";
|
|
|
|
// this.list[this.tabCurrentIndex].loadStatus="more";
|
|
|
|
// this.list[this.tabCurrentIndex].slist=[];
|
|
|
|
// this.list[this.tabCurrentIndex].slist=[];
|
|
|
|
this.loadData();
|
|
|
|
this.loadData();
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
tabSelectC(e) {
|
|
|
|
tabSelectC(e) {
|
|
|
|
console.log(e)
|
|
|
|
console.log("tabSelectC")
|
|
|
|
this.tabIndex = e.currentTarget.dataset.id;
|
|
|
|
this.tabIndex = e.currentTarget.dataset.id;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
animationfinish({ detail: { current } }) {
|
|
|
|
gotoDetail(item,name,index){
|
|
|
|
this.tabCurrentIndex = current;
|
|
|
|
|
|
|
|
this.loadData();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
gotoDetail(item,name,type){
|
|
|
|
|
|
|
|
// 详情
|
|
|
|
// 详情
|
|
|
|
item["name"]=name;
|
|
|
|
item["name"]=name;
|
|
|
|
var data=encodeURIComponent(JSON.stringify(item));
|
|
|
|
var data=encodeURIComponent(JSON.stringify(item));
|
|
|
|
|
|
|
|
var type=this.list[index].id;
|
|
|
|
uni.navigateTo({
|
|
|
|
uni.navigateTo({
|
|
|
|
url: `/pages/category/detail?data=${data}&type=${type}`
|
|
|
|
url: `/pages/category/detail?data=${data}&type=${type}`
|
|
|
|
});
|
|
|
|
});
|
|
|
|
@ -584,27 +573,58 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async savedo(){
|
|
|
|
async savedo(){
|
|
|
|
try{
|
|
|
|
try{
|
|
|
|
const {data: res} = await uni.$http.post('/yoga/count', this.valiFormData);
|
|
|
|
const {data: res} = await uni.$http.post('/api/healthy/calculateBim', this.valiFormData);
|
|
|
|
if(res){
|
|
|
|
if(res&&res.success){
|
|
|
|
uni.showToast({
|
|
|
|
var bim=res.data?parseFloat(res.data):0;
|
|
|
|
title: '计算成功!',
|
|
|
|
if(bim){
|
|
|
|
icon: 'success',
|
|
|
|
var msg="";
|
|
|
|
duration: 2000
|
|
|
|
if(bim<=18.5){
|
|
|
|
})
|
|
|
|
msg="您的体重过轻请联系馆主或教练领取A方案!";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(bim>18.5&&bim<=24){
|
|
|
|
|
|
|
|
msg="太棒了,您的体重非常健康请联系馆主或教练领取B方案保持!";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(bim>24&&bim<28){
|
|
|
|
|
|
|
|
msg="您的体重超重请联系馆主或教练领取C方案保持!";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if(bim>=28){
|
|
|
|
|
|
|
|
msg="您的体重肥胖请联系馆主或教练领取D方案保持!";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
uni.showModal({
|
|
|
|
|
|
|
|
title: '提示',
|
|
|
|
|
|
|
|
content: msg,
|
|
|
|
|
|
|
|
cancelText: '取消',
|
|
|
|
|
|
|
|
confirmText: '确定',
|
|
|
|
|
|
|
|
success: ress => {
|
|
|
|
|
|
|
|
if (ress.confirm) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
uni.showToast({
|
|
|
|
uni.showModal({
|
|
|
|
title: '计算失败!请重试',
|
|
|
|
title: '提示',
|
|
|
|
icon: 'error',
|
|
|
|
content: '计算异常!请重试!',
|
|
|
|
duration: 2000
|
|
|
|
cancelText: '取消',
|
|
|
|
})
|
|
|
|
confirmText: '确定'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
uni.showModal({
|
|
|
|
|
|
|
|
title: '提示',
|
|
|
|
|
|
|
|
content: res.message? res.message:'计算异常!请重试!',
|
|
|
|
|
|
|
|
cancelText: '取消',
|
|
|
|
|
|
|
|
confirmText: '确定'
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch{
|
|
|
|
catch{
|
|
|
|
uni.showToast({
|
|
|
|
uni.showModal({
|
|
|
|
title: res.msg? res.msg:'计算失败!',
|
|
|
|
title: '提示',
|
|
|
|
icon: 'error',
|
|
|
|
content: '计算异常!请重试!',
|
|
|
|
duration: 2000
|
|
|
|
cancelText: '取消',
|
|
|
|
|
|
|
|
confirmText: '确定'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -682,8 +702,8 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tab.cur{
|
|
|
|
.tab.cur{
|
|
|
|
color: #000;
|
|
|
|
color: #000;
|
|
|
|
background-color: #f3f4ee;
|
|
|
|
background-color: #e4f9f7;
|
|
|
|
border: 2rpx solid #89965f;
|
|
|
|
border: 2rpx solid #00a89b;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn{
|
|
|
|
.btn{
|
|
|
|
@ -695,7 +715,7 @@
|
|
|
|
width: 314rpx;
|
|
|
|
width: 314rpx;
|
|
|
|
height: 76rpx;
|
|
|
|
height: 76rpx;
|
|
|
|
line-height: 76rpx;
|
|
|
|
line-height: 76rpx;
|
|
|
|
background: #89965f;
|
|
|
|
background: #00a89b;
|
|
|
|
box-shadow: 0rpx 12rpx 64rpx 2rpx rgba(137,150,95,0.4);
|
|
|
|
box-shadow: 0rpx 12rpx 64rpx 2rpx rgba(137,150,95,0.4);
|
|
|
|
border-radius: 10rpx;
|
|
|
|
border-radius: 10rpx;
|
|
|
|
opacity: 1;
|
|
|
|
opacity: 1;
|
|
|
|
@ -766,28 +786,28 @@
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabicl{
|
|
|
|
.tabicl{
|
|
|
|
width: 180rpx;
|
|
|
|
min-width: 160rpx;
|
|
|
|
height: 100rpx;
|
|
|
|
height: 100rpx;
|
|
|
|
line-height: 100rpx;
|
|
|
|
line-height: 100rpx;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-left: 20rpx;
|
|
|
|
margin-left: 12rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ptext{
|
|
|
|
.ptext{
|
|
|
|
font-size: 33rpx;
|
|
|
|
font-size: 30rpx;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
color: #333333;
|
|
|
|
color: #000;
|
|
|
|
height: 90rpx;
|
|
|
|
height: 90rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cur .ptext{
|
|
|
|
.cur .ptext{
|
|
|
|
color: #000;
|
|
|
|
color: #000;
|
|
|
|
font-size: 38rpx;
|
|
|
|
font-size: 34rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cur .pline{
|
|
|
|
.cur .pline{
|
|
|
|
width: 40%;
|
|
|
|
width: 40%;
|
|
|
|
height: 9rpx;
|
|
|
|
height: 9rpx;
|
|
|
|
background: #89965f;
|
|
|
|
background: #00a89b;
|
|
|
|
border-radius: 6rpx;
|
|
|
|
border-radius: 6rpx;
|
|
|
|
opacity: 1;
|
|
|
|
opacity: 1;
|
|
|
|
margin-left: 30%;
|
|
|
|
margin-left: 30%;
|
|
|
|
@ -802,7 +822,7 @@
|
|
|
|
background-position: center;
|
|
|
|
background-position: center;
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
color: #89965f;
|
|
|
|
color: #00a89b;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tcard {
|
|
|
|
.tcard {
|
|
|
|
@ -886,11 +906,13 @@
|
|
|
|
.txt1{
|
|
|
|
.txt1{
|
|
|
|
font-size: 26rpx;
|
|
|
|
font-size: 26rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
|
|
|
margin-left: 4rpx;
|
|
|
|
width: 50rpx;
|
|
|
|
width: 50rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.txt{
|
|
|
|
.txt{
|
|
|
|
font-size: 26rpx;
|
|
|
|
font-size: 26rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
|
|
|
margin-left: 4rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tlinfo {
|
|
|
|
.tlinfo {
|
|
|
|
|