连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chunwan/pages/users/help/index.vue

198 lines
4.6 KiB

<template>
<view class="help">
<view class="help-dl" :class="tabIndex == 1?'help-dl-on':''" @click="tabItem(1)">
<view class="dt">
<image class="icon" src="@/static/icon-help-01.png"></image>
<view class="info">
<view class="fl">账号问题<text>账号注册绑定密码修改等</text></view>
<view class="fr">
<image class="img2" src="@/static/icon-help-up.png"></image>
<image class="img1" src="@/static/icon-help-down.png"></image>
</view>
</view>
</view>
<view class="dd">
<view class="item">
绑定手机<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
绑定微信<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
注销账号<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
是否支持多设备登录<image src="@/static/icon-help-right.png"></image>
</view>
</view>
</view>
<view class="help-dl" :class="tabIndex == 2?'help-dl-on':''" @click="tabItem(2)">
<view class="dt">
<image class="icon" src="@/static/icon-help-02.png"></image>
<view class="info">
<view class="fl">购买问题<text>墨刀会员购买充值续费等</text></view>
<view class="fr">
<image class="img2" src="@/static/icon-help-up.png"></image>
<image class="img1" src="@/static/icon-help-down.png"></image>
</view>
</view>
</view>
<view class="dd">
<view class="item">
绑定手机<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
绑定微信<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
注销账号<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
是否支持多设备登录<image src="@/static/icon-help-right.png"></image>
</view>
</view>
</view>
<view class="help-dl" :class="tabIndex == 3?'help-dl-on':''" @click="tabItem(3)">
<view class="dt">
<image class="icon" src="@/static/icon-help-03.png"></image>
<view class="info">
<view class="fl">发票问题<text>发票信息开票进度等</text></view>
<view class="fr">
<image class="img2" src="@/static/icon-help-up.png"></image>
<image class="img1" src="@/static/icon-help-down.png"></image>
</view>
</view>
</view>
<view class="dd">
<view class="item">
绑定手机<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
绑定微信<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
注销账号<image src="@/static/icon-help-right.png"></image>
</view>
<view class="item">
是否支持多设备登录<image src="@/static/icon-help-right.png"></image>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
tabIndex: 1
};
},
methods: {
tabItem (index) {
this.tabIndex = index;
}
}
}
</script>
<style scoped lang="scss">
.help{
padding: 0 25rpx 25rpx;
overflow: hidden;
&-dl{
width: 100%;
min-height: 150rpx;
background: #FFFFFF;
border-radius: 20rpx;
padding: 25rpx;
box-sizing: border-box;
margin-top: 20rpx;
.dt{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
.icon{
width: 110rpx;
height: 110rpx;
margin-right: 20rpx;
}
.info{
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
.fl{
flex: 1;
font-weight: 500;
font-size: 30rpx;
color: #222222;
text{
display: block;
font-weight: 400;
font-size: 24rpx;
color: #999999;
margin-top: 15rpx;
}
}
.fr{
.img1{
width: 22rpx;
height: 13rpx;
display: block;
}
.img2{
width: 22rpx;
height: 13rpx;
display: none;
}
}
}
}
.dd{
margin-top: 10rpx;
overflow: hidden;
background: #F3F4F5;
border-radius: 20rpx;
padding: 0 20rpx;
box-sizing: border-box;
display: none;
.item{
padding: 30rpx 0;
font-weight: 400;
font-size: 28rpx;
color: #333333;
border-top: 1px solid #E3E5E6;
display: flex;
align-items: center;
justify-content: space-between;
&:first-child{
border-top-color: transparent;
}
image{
width: 13rpx;
height: 23rpx;
}
}
}
&-on{
.dt{
.info{
.fr{
.img2{
display: block;
}
.img1{
display: none;
}
}
}
}
.dd{
display: block;
}
}
}
}
</style>