页面制作

main
123456 5 months ago
parent 223e7b2ee9
commit 48a71aee49
  1. 77
      pages.json
  2. 81
      pages/users/chengshi/index.vue
  3. 76
      pages/users/dashan/index.vue
  4. 53
      pages/users/help/detail.vue
  5. 189
      pages/users/help/index.vue
  6. 19
      pages/users/meiyan/index.vue
  7. 52
      pages/users/notice/index.vue
  8. 98
      pages/users/qingshaonian/detail.vue
  9. 101
      pages/users/qingshaonian/index.vue
  10. 21
      pages/users/site/index.vue
  11. 123
      pages/users/team/index.vue
  12. 19
      pages/users/xieyi/index.vue
  13. 45
      pages/users/yinsi/index.vue
  14. 105
      pages/users/zhuxiao/index.vue
  15. BIN
      static/icon-help-01.png
  16. BIN
      static/icon-help-02.png
  17. BIN
      static/icon-help-03.png
  18. BIN
      static/icon-help-down.png
  19. BIN
      static/icon-help-right.png
  20. BIN
      static/icon-help-up.png
  21. BIN
      static/icon-select-on.png
  22. BIN
      static/qingshaonian-lock.png
  23. BIN
      static/qingshaonian-san.png
  24. BIN
      static/qingshaonian-yuan.png

@ -317,6 +317,83 @@
{
"navigationBarTitleText" : "帮助中心"
}
},
{
"path" : "pages/users/help/detail",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "pages/users/team/index",
"style" :
{
"navigationBarTitleText" : "我的团队"
}
},
{
"path" : "pages/users/meiyan/index",
"style" :
{
"navigationBarTitleText" : "美颜设置"
}
},
{
"path" : "pages/users/zhuxiao/index",
"style" :
{
"navigationBarTitleText" : "注销账号"
}
},
{
"path" : "pages/users/xieyi/index",
"style" :
{
"navigationBarTitleText" : "协议规则"
}
},
{
"path" : "pages/users/yinsi/index",
"style" :
{
"navigationBarTitleText" : "隐私设置"
}
},
{
"path" : "pages/users/notice/index",
"style" :
{
"navigationBarTitleText" : "新消息通知"
}
},
{
"path" : "pages/users/qingshaonian/index",
"style" :
{
"navigationBarTitleText" : "青少年模式"
}
},
{
"path" : "pages/users/qingshaonian/detail",
"style" :
{
"navigationBarTitleText" : "设置密码"
}
},
{
"path" : "pages/users/dashan/index",
"style" :
{
"navigationBarTitleText" : "搭讪语"
}
},
{
"path" : "pages/users/chengshi/index",
"style" :
{
"navigationBarTitleText" : "城市合作"
}
}
],
"globalStyle": {

@ -0,0 +1,81 @@
<template>
<view class="qingshaonian">
<view class="bd">
</view>
<view class="fd">
<view class="btn">申请合作</view>
</view>
<u-popup v-model="show" mode="center" border-radius="20" :mask-close-able="true">
<view class="hezuo">
<view class="title">合作信息<image src="@/static/cha.png"></image></view>
</view>
</u-popup>
</view>
</template>
<script>
export default {
data() {
return {
show: true
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
page{
background-color: #fff;
}
.qingshaonian{
padding: 0 25rpx;
overflow: hidden;
.hezuo{
width: 670rpx;
height: 901rpx;
background: #FFFFFF;
border-radius: 20rpx;
.title{
text-align: center;
padding: 30rpx;
font-weight: 500;
font-size: 36rpx;
color: #222222;
border-bottom: 1px solid #EAEAEA;
image{
width: 50rpx;
height: 50rpx;
float: right;
}
}
}
.fd{
width: 100%;
position: fixed;
left: 0;
bottom: 0;
padding: 25rpx;
overflow: hidden;
z-index: 22;
box-sizing: border-box;
.btn{
width: 100%;
line-height: 98rpx;
background: linear-gradient(0deg, #000000, #3D3B38);
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
border-radius: 98rpx;
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
text-align: center;
}
}
.bd{
}
}
</style>

@ -0,0 +1,76 @@
<template>
<view class="qingshaonian">
<view class="title">设置搭讪语后无需选择直接发送</view>
<view class="bd">
<view class="item" v-for="i in 10" :key="i" @click="tabItem(i)">
<view class="txt">哈喽很高兴认识你一起嗨皮吧~</view>
<view class="btn" :class="tabIndex == i?'btn-on':''">{{tabIndex == i?'默认':'设为默认'}}</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
tabIndex: 1,
}
},
methods: {
tabItem(i){
this.tabIndex = i;
}
}
}
</script>
<style scoped lang="scss">
.qingshaonian{
padding: 0 25rpx;
overflow: hidden;
.title{
font-weight: 500;
font-size: 30rpx;
color: #222222;
margin-top: 30rpx;
}
.bd{
.item{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
font-weight: 500;
font-size: 26rpx;
color: #222222;
border-radius: 20rpx;
padding: 30rpx 20rpx;
background: #FFFFFF;
margin-top: 20rpx;
.txt{
max-width: 500rpx;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.btn{
width: 130rpx;
line-height: 50rpx;
text-align: center;
border-radius: 50rpx;
font-weight: 500;
font-size: 26rpx;
&-on{
font-size: 24rpx;
color: #FFFFFF;
background: linear-gradient(0deg, #000000, #3D3B38);
}
}
}
}
}
</style>

@ -0,0 +1,53 @@
<template>
<view class="help">
<view class="content">
<view class="title">如何联系人工客服</view>
<view class="jie">解答</view>
<view class="desc">这里展示说明说明这里展示说明说明这里展示说明说明这里展示说明说明这里展示说明说明这里展示说明说明这里展示说明说明这里展示说明</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style scoped lang="scss">
.help{
padding: 0 25rpx 0;
overflow: hidden;
.content{
width: 100%;
background: #FFFFFF;
border-radius: 20rpx;
padding: 0 20rpx 20rpx;
box-sizing: border-box;
margin-top: 20rpx;
.title{
font-weight: 500;
font-size: 30rpx;
color: #222222;
padding: 40rpx 0;
text-align: center;
}
.jie{
font-weight: 500;
font-size: 30rpx;
color: #222222;
}
.desc{
margin-top: 20rpx;
font-weight: 500;
font-size: 24rpx;
color: #666666;
line-height: 40rpx;
}
}
}
</style>

@ -1,6 +1,83 @@
<template>
<view>
<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>
@ -8,12 +85,114 @@
export default {
data() {
return {
tabIndex: 1
};
},
methods: {
tabItem (index) {
this.tabIndex = index;
}
}
}
</script>
<style lang="scss">
<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>

@ -0,0 +1,19 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,52 @@
<template>
<view class="yinsi">
<view class="content">
<view class="item">
<view class="a">新消息提示音</view>
<u-switch active-color="#000000" v-model="checked"></u-switch>
</view>
<view class="item">
<view class="a">新消息震动</view>
<u-switch active-color="#000000" v-model="checked"></u-switch>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
checked: true
};
}
}
</script>
<style scoped lang="scss">
.yinsi{
padding: 0 25rpx;
overflow: hidden;
.content{
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 20rpx;
padding: 0 20rpx;
.item{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
height: 100rpx;
border-top: 1px solid #EAEAEA;
font-weight: 500;
font-size: 30rpx;
color: #222222;
&:first-child{
border-top-color: #FFFFFF;
}
}
}
}
</style>

@ -0,0 +1,98 @@
<template>
<view class="qingshaonian">
<view class="title">设置接触青少年模式的密码</view>
<view class="bd">
<view class="item">
<image src="@/static/qingshaonian-lock.png"></image>
<input type="password" placeholder="输入密码" />
</view>
<view class="item">
<image src="@/static/qingshaonian-lock.png"></image>
<input type="password" placeholder="输入密码" />
</view>
</view>
<view class="fd">
<view class="btn">确定开启</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
.qingshaonian{
padding: 0 25rpx;
overflow: hidden;
.fd{
width: 100%;
position: fixed;
left: 0;
bottom: 0;
padding: 25rpx;
overflow: hidden;
z-index: 22;
box-sizing: border-box;
.btn{
width: 100%;
line-height: 98rpx;
background: linear-gradient(0deg, #000000, #3D3B38);
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
border-radius: 98rpx;
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
text-align: center;
}
}
.title{
font-weight: 500;
font-size: 30rpx;
color: #222222;
margin-top: 30rpx;
}
.bd{
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 30rpx;
padding: 0 20rpx;
.item{
display: flex;
align-items: center;
box-sizing: border-box;
width: 100%;
border-top: 1px solid #EAEAEA;
font-weight: 500;
font-size: 30rpx;
color: #222222;
padding: 30rpx 0;
&:first-child{
border-top-color: #FFFFFF;
}
input{
font-weight: 400;
font-size: 30rpx;
color: #212121;
height: 60rpx;
line-height: 60rpx;
}
image{
width: 27rpx;
height: 27rpx;
margin-right: 20rpx;
}
}
}
}
</style>

@ -0,0 +1,101 @@
<template>
<view class="qingshaonian">
<view class="bd">
<image src="@/static/qingshaonian-san.png"></image>
<!-- <view class="title">青少年模式已开启</view> -->
<view class="title">青少年模式未开启</view>
<!-- <view class="desc">关闭后所有行为将不受限制</view> -->
<view class="desc">开启时以下行为会收到限制</view>
<view class="item">
<image src="@/static/qingshaonian-yuan.png"></image>无法进行充值
</view>
<view class="item">
<image src="@/static/qingshaonian-yuan.png"></image>部分功能无法使用
</view>
</view>
<view class="fd">
<!-- <view class="btn">关闭</view> -->
<view class="btn">开启青少年模式</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
page{
background-color: #fff;
}
.qingshaonian{
padding: 0 25rpx;
overflow: hidden;
.fd{
width: 100%;
position: fixed;
left: 0;
bottom: 0;
padding: 25rpx;
overflow: hidden;
z-index: 22;
box-sizing: border-box;
.btn{
width: 100%;
line-height: 98rpx;
background: linear-gradient(0deg, #000000, #3D3B38);
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
border-radius: 98rpx;
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
text-align: center;
}
}
.bd{
text-align: center;
margin-top: 130rpx;
image{
width: 170rpx;
height: 170rpx;
}
.title{
font-weight: 500;
font-size: 36rpx;
color: #222222;
margin-top: 43rpx;
}
.desc{
margin-top: 100rpx;
font-weight: 500;
font-size: 30rpx;
color: #222222;
margin-bottom: 20rpx;
}
.item{
display: flex;
align-items: center;
width: 300rpx;
font-weight: 500;
font-size: 30rpx;
color: #666666;
margin: 0 auto;
margin-top: 20rpx;
image{
width: 27rpx;
height: 27rpx;
margin-right: 10rpx;
}
}
}
}
</style>

@ -67,7 +67,7 @@
</view>
</view>
<view class="site-fd">
<view class="btn">退出登录</view>
<view class="btn" @click="openPage(1)">退出登录</view>
</view>
<u-popup v-model="isPopup" mode="center" border-radius="20" :mask-close-able="false">
<view class="qingshaonian">
@ -91,8 +91,25 @@
export default {
data() {
return {
isPopup: true
isPopup: false
};
},
methods: {
openPage(index) {
if(index == 1){
uni.showModal({
title: "温馨提示",
content: "是否确认推出登录?",
success(res){
if(res.confirm){
uni.navigateBack({
delta: 1
})
}
}
})
}
}
}
}
</script>

@ -0,0 +1,123 @@
<template>
<view class="dashan">
<view class="hd">
<view class="a"><text>10</text></view>
<view class="a">我的团队人数</view>
</view>
<view class="list">
<view class="item" v-for="i in 5" :key="i">
<view class="pic">
<!-- 只有会员才可以看到 -->
<image src="@/static/avatar.png"></image>
</view>
<view class="content">
<view class="info">
<view class="name">李同学</view>
<view class="desc">ID1568935688</view>
</view>
<view class="btns">2023-09-23</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
openSheet() {
uni.showActionSheet({
itemList: ["删除会话"],
success: function (res) {
console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
},
})
}
}
}
</script>
<style scoped lang="scss">
page{
background-color: #fff;
}
.dashan{
padding: 0 25rpx;
overflow: hidden;
.hd{
width: 702rpx;
height: 190rpx;
background: linear-gradient(90deg, #17150E, #373632);
border-radius: 20rpx;
margin-bottom: 20rpx;
padding-top: 30rpx;
box-sizing: border-box;
.a{
font-weight: 500;
font-size: 30rpx;
color: #E7D4B8;
text-align: center;
padding-top: 10rpx;
text{
font-weight: bold;
font-size: 48rpx;
}
}
}
.item{
display: flex;
align-items: center;
.pic{
width: 90rpx;
height: 90rpx;
margin-right: 20rpx;
position: relative;
image{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.content{
padding: 30rpx 0;
flex: 1;
border-bottom: 1px solid #EAEAEA;
display: flex;
align-items: end;
justify-content: space-between;
.info{
.name{
font-weight: 400;
font-size: 30rpx;
color: #222222;
image{
width: 95rpx;
height: 30rpx;
display: block;
}
}
.desc{
font-weight: 400;
font-size: 24rpx;
color: #AAAAAA;
margin-top: 15rpx;
max-width: 400rpx;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
.btns{
font-weight: 500;
font-size: 24rpx;
color: #AAAAAA;
}
}
}
}
</style>

@ -0,0 +1,19 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,45 @@
<template>
<view class="yinsi">
<view class="content">
<view class="item">
<view class="a">隐藏我的城市</view>
<u-switch active-color="#000000" v-model="checked"></u-switch>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
checked: true
};
}
}
</script>
<style scoped lang="scss">
.yinsi{
padding: 0 25rpx;
overflow: hidden;
.content{
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 20rpx;
.item{
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20rpx;
box-sizing: border-box;
width: 100%;
height: 100rpx;
box-sizing: border-box;
font-weight: 500;
font-size: 30rpx;
color: #222222;
}
}
}
</style>

@ -0,0 +1,105 @@
<template>
<view class="zhuxiao">
<view class="title">注销后你账号将</view>
<view class="content">
<text>
1账号相关信息将被移除你的好友无法再与你取得联系(包括好友关注粉丝等);\n2账户剩余金币积分魅力值财富值VIP等收益相关数据在注销成功后将清空如产生利益损失由账号注销发起者承担;\n3绑定手机好或第三方账号将会解绑解绑后可再次注册账号;\n4你的实名信息会解绑解绑后可以再次绑定其他账号;\n5账号将会被系统收回并对平台其他用户开放申请;\n提示:一旦注销将无法撤销账号将自动清除15天后方可从新注册请慎重!!!
</text>
</view>
<view class="fd">
<view class="xieyi" @click="toToggle()">
<image v-if="isCheck" src="@/static/icon-select.png"></image>
<image v-else src="@/static/icon-select-on.png"></image>我已认真阅读且同意注销账号需要注意的内容
</view>
<view class="btns">
<view class="cancle">取消</view>
<view class="sure">确定</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
isCheck: false
};
}
}
</script>
<style scoped lang="scss">
page{
background-color: #fff;
}
.zhuxiao{
padding: 30rpx;
overflow: hidden;
.title{
font-weight: 500;
font-size: 36rpx;
color: #222222;
line-height: 40rpx;
margin-top: 20rpx;
}
.content{
font-weight: 500;
font-size: 26rpx;
color: #666666;
line-height: 40rpx;
text-align: left;
margin-top: 40rpx;
}
.fd{
width: 100%;
font-weight: 500;
font-size: 24rpx;
color: #222222;
position: fixed;
left: 0;
bottom: 100rpx;
z-index: 22;
padding: 0 30rpx;
box-sizing: border-box;
.xieyi{
display: flex;
align-items: center;
justify-content: flex-start;
image{
width: 35rpx;
height: 35rpx;
margin-right: 10rpx;
}
}
.btns{
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 50rpx;
text-align: center;
.cancle{
width: 300rpx;
height: 90rpx;
line-height: 90rpx;
background: #EDEDED;
border-radius: 90rpx;
font-weight: 500;
font-size: 30rpx;
color: #222222;
}
.sure{
width: 300rpx;
height: 90rpx;
line-height: 90rpx;
background: linear-gradient(0deg, #000000, #3D3B38);
border-radius: 90rpx;
font-weight: 500;
font-size: 30rpx;
color: #fff;
}
}
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Loading…
Cancel
Save