经穴检索

This commit is contained in:
@fawn-nine
2023-11-07 17:13:44 +08:00
parent 454b2803c2
commit 84fca53ebe
27 changed files with 1990 additions and 37 deletions

View File

@@ -16,9 +16,26 @@
<view class="title" :class="{ active: type == 1000 }" @click="type = 1000">密码登录</view> -->
</view>
<view class="input_tit">手机号</view>
<view class="input_box triangle" :clasfs="[type == 1000 ? 'left_triangle': 'right_triangle']">
<!-- 带区号 -->
<!-- <view class="flexbox " style="margin:36rpx 0; justify-content: space-between;">
<view class="quhao">
<uni-data-select
placeholder="区号" model="quCode"
:localdata="quCodeList"
@change="quChange"
></uni-data-select>
</view>
<view class="triangle borderBottom phoneNumberInput" :clasfs="[type == 1000 ? 'left_triangle': 'right_triangle']">
<input type="number" v-model="phone" @input="onInput" placeholder="请输入您的手机号" placeholder-class="grey" />
</view>
</view> -->
<!-- 不带区号 -->
<view class="triangle borderBottom phoneNumberInput input_box"
:clasfs="[type == 1000 ? 'left_triangle': 'right_triangle']">
<input type="number" v-model="phone" @input="onInput" placeholder="请输入您的手机号" placeholder-class="grey" />
</view>
<view class="input_tit" v-if="type == 1000">密码</view>
<view class="input_box" v-if="type == 1000">
<input class="input_item" v-model="password" @input="onInput" :password="!isSee" placeholder="请输入密码"
@@ -46,7 +63,7 @@
<span class="highlight" @click="showXieyi('privacy')">隐私协议</span>
<!-- <text @click="onPageJump('/pages/user/protocol')">隐私协议</text>-->
</view>
</view>
<view class="btn_box">
<button @click="onSubmit" class="active" v-if="btnShow"> </button>
<button v-else> </button>
@@ -61,11 +78,11 @@
<image src="../../static/icon/ic_login_health.png" @click="onHealthLogin" mode="aspectFit"></image>
</view>
</view>
<view class="qie_huan" style="display: flex; justify-content: center;">
<view style="width: 30%;" @click="type = 1000" v-if="type == 2000">密码登录</view>
<view style="width:50%; display: flex; justify-content:space-between;" v-if="type == 1000">
<text @click="type = 2000">验证码登录</text>
<text @click="type = 2000">验证码登录</text>
<text v-if="type == 1000" @click="onPageJump('/pages/user/forget')">忘记密码</text>
<!-- <text @click="resetPassWord()">忘记密码</text> -->
</view>
@@ -102,9 +119,9 @@
<view @click="onSubmit_Health">确定</view>
</view>
</view>
</z-popup>
</z-popup>
<!-- #ifdef APP-PLUS -->
<!-- #ifdef APP-PLUS -->
<!-- <view class="third_party_login_box" v-if="isIos && system >= 13">6
<view class="third_party_title"><text>第三方登录</text></view>
<view class="third_party_content">
@@ -115,24 +132,24 @@
</view>
</view> -->
<!-- #endif -->
<u-popup :show="xieyiShow" :round="10" @close="xieyiShow=false">
<view class="tanchu">
<view class="dp_title">{{xieyi.title}}</view>
<view style="max-height: 1000rpx;overflow-y: scroll;">
<view class="dp_title">{{xieyi.title}}</view>
<view style="max-height: 1000rpx;overflow-y: scroll;">
<view v-html="xieyi.Content"></view>
</view>
</view>
</view>
</u-popup>
</view>
</view>
</template>
<script>
import $http from '@/config/requestConfig.js';
import md5 from '@/plugins/md5';
import localuserxieyi from '@/static/json/userAndyinsiP.json'
import localyinsixieyi from '@/static/json/yinsiP.json'
var clear;
@@ -167,11 +184,23 @@
health_phone: '',
health_password: '',
isSee_H: false,
xieyiShow : false,
xieyi:{
title:'',
Content:''
}
xieyiShow: false,
xieyi: {
title: '',
Content: ''
},
quShow: false,
quCodeList: [{
value: '1',
text: '江'
},
{
value: '2',
text: '湖'
}
],
quCode: null,
};
},
//第一次加载
@@ -192,23 +221,26 @@
methods: {
...mapMutations(['setUserInfo']),
...mapMutations(['setHealthMes']),
quChange(e) {
console.log(e, 'e')
},
// 修改密码
resetPassWord(){
resetPassWord() {
console.log('重置密码')
uni.navigateTo({
url: "/pages/home/shop/goodsDetail"
})
},
// 显示协议
showXieyi(str){
if(str == 'user'){
showXieyi(str) {
if (str == 'user') {
this.xieyi = localuserxieyi
}else{
} else {
this.xieyi = localyinsixieyi
}
//console.log(localuserxieyi)
this.xieyiShow = true
},
onPageJump(url) {
uni.navigateTo({
@@ -603,12 +635,39 @@
</script>
<style lang="scss" scoped>
@import '@/style/mixin.scss';
.highlight{color: $themeColor;}
.tanchu {
.phoneNumberInput {
width: calc(100% - 130rpx);
width: 100%;
height: 67rpx;
input {
font-size: 28rpx;
margin: 20rpx 0;
}
}
.borderBottom {
border-bottom: 1px solid #efeef4;
}
.flexbox {
display: flex;
}
.quhao {
width: 120rpx;
}
.highlight {
color: $themeColor;
}
.tanchu {
padding: 40rpx 30rpx 40rpx 30rpx;
position: relative;
.dp_title {
font-size: 32rpx;
margin-bottom: 50rpx;
@@ -616,10 +675,11 @@
text-align: center;
font-weight: bold;
}
}
.logo_bg {
background-image: url('@/static/icon/login_bg.png');
// background-position: center center;
@@ -771,6 +831,7 @@
.btn_box {
margin-top: 40rpx;
button {
font-size: 32rpx;
background-color: #e5e5e5;
@@ -921,10 +982,10 @@
}
}
}
.qie_huan{
.qie_huan {
font-size: 26rpx;
margin: 20rpx 0 0 0;
text-align: center;
}
</style>
</style>