| xqd
@@ -1,128 +1,10 @@
|
|
|
<template>
|
|
|
<view class="outerCon">
|
|
|
- <!-- <view class="pc" v-if="isPc">
|
|
|
- <view style="margin-top: 20px;padding-bottom: 50px;">
|
|
|
- <view class="topTxtAndImg1">
|
|
|
- <view class="swiper1">
|
|
|
- <swiper class="banner1" circular :autoplay="false">
|
|
|
- <swiper-item v-for="i in bannerList">
|
|
|
- <image :src="i.picture" mode=""></image>
|
|
|
- </swiper-item>
|
|
|
- </swiper>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="txtDes">
|
|
|
- <u-parse :content="companyDes"></u-parse>
|
|
|
- </view>
|
|
|
- <block>
|
|
|
- <view class="site_name">{{appInfo.site_name}}</view>
|
|
|
- <view class="detailed">
|
|
|
- <view class="">欢迎立即加入我们!</view>
|
|
|
- </view>
|
|
|
- <u-popup :show="showlogin" mode="bottom" :round="10" closeable @close="showlogin = false">
|
|
|
- <view class="container">
|
|
|
- <view class="textl_ogin">{{showlogon?'账号密码登录':'账号密码注册'}}</view>
|
|
|
- <view class="login">
|
|
|
- <view class="input u-flex align-center">
|
|
|
- <u-icon name="phone-fill" color="#26B3A0" size="24"></u-icon>
|
|
|
- <input class="vs-flex-item" v-model="accountLogin.mobile" :maxlength="11"
|
|
|
- placeholder="请输入手机号" />
|
|
|
- </view>
|
|
|
- <view v-if="!showlogon" class="input u-flex align-center">
|
|
|
- <u-icon name="account-fill" color="#26B3A0" size="24"></u-icon>
|
|
|
- <input class="vs-flex-item" v-model="accountLogin.code" :maxlength="11"
|
|
|
- placeholder="验证码" />
|
|
|
- <view class="" style="width: 250rpx;">
|
|
|
- <u-button style="width: 250rpx;" color='#26B3A0' class="custom-style"
|
|
|
- @tap="getCode">{{tips}}</u-button>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="input u-flex align-center">
|
|
|
- <u-icon name="lock-fill" color="#26B3A0" size="24"></u-icon>
|
|
|
- <input class="vs-flex-item" type="text" :password="password"
|
|
|
- v-model="accountLogin.password" placeholder="请输入密码"
|
|
|
- placeholder-class="input-placeholder" />
|
|
|
- <u-icon @click="password = !password" :name="password ? 'eye-off' : 'eye-fill'"
|
|
|
- color="#26B3A0" size="18"></u-icon>
|
|
|
- </view>
|
|
|
- <view class="forgetPwd" @click="forgetPwd" v-if="showlogon">
|
|
|
- 忘记密码
|
|
|
- </view>
|
|
|
- <view v-if="!showlogon" class="input u-flex align-center">
|
|
|
- <u-icon name="account-fill" color="#26B3A0" size="24"></u-icon>
|
|
|
- <input class="vs-flex-item" v-model="accountLogin.invite_code" :maxlength="11"
|
|
|
- placeholder="请输入邀请码" />
|
|
|
- </view>
|
|
|
- <view @tap="agree = !agree" class="flxe align-center justify-center"
|
|
|
- style="margin-top: 50rpx;">
|
|
|
- <u-icon name="checkmark-circle-fill" :color="agree?'#07C160':'#ededed'"
|
|
|
- size="16"></u-icon>
|
|
|
- <view class="clause">我已阅读并同意:<view @tap.stop="agreement('privacy')"
|
|
|
- style="color: #34c758;">
|
|
|
- 《隐私政策》
|
|
|
- </view>和<view @tap.stop="agreement('use')" style="color: #34c758;">《用户协议》</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view @click="getlogin()" hover-class="hoversubmit" class="signinnow">
|
|
|
- {{showlogon?'立即登录':'立即注册'}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="wrap">
|
|
|
- <u-toast ref="uToast"></u-toast>
|
|
|
- <u-code :seconds="seconds" @end="" @start="" ref="uCode" @change="codeChange"></u-code>
|
|
|
-
|
|
|
- </view>
|
|
|
- </u-popup>
|
|
|
- <block v-if="platform == 'wxOfficialAccount'&&showWX">
|
|
|
- <view class="wxBox">
|
|
|
- <view class="">
|
|
|
- <view class="grant wxBtn" @click="thirdLogin('wechat')"
|
|
|
- style="border: none;width: 280rpx;">
|
|
|
- <u-icon name="weixin-fill" color="#ffffff" size="26"></u-icon>
|
|
|
- <view class="">绑定微信</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="tyGpt" style="width: 280rpx;" @click="useGpt">体验CHATGPT</view>
|
|
|
- </view>
|
|
|
- <view @tap="agree = !agree" class="flxe align-center justify-center" style="margin-top: 50rpx;">
|
|
|
- <u-icon name="checkmark-circle-fill" :color="agree?'#07C160':'#ededed'" size="16"></u-icon>
|
|
|
- <view class="clause">我已阅读并同意:<view @tap.stop="agreement('privacy')" style="color: #34c758;">
|
|
|
- 《隐私政策》
|
|
|
- </view>和<view @tap.stop="agreement('use')" style="color: #34c758;">《用户协议》</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
-
|
|
|
- <block v-else>
|
|
|
- <view class="" v-if="!showWX"
|
|
|
- style="color: #34c758;font-weight: 600; margin-bottom: 100rpx;width: 100%;text-align: center;margin-top: 30rpx;">
|
|
|
- 微信绑定成功,请手机号注册后登录,如已注册请直接登录
|
|
|
- </view>
|
|
|
- <view class="main">
|
|
|
- <view class="defBtn1" style="" @click="showlogon = true,showlogin = true">
|
|
|
- <u-icon name="account-fill" color="#199063" size="26"></u-icon>
|
|
|
- <view class="">账号登录</view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="chatGpt1" @click="useGpt">
|
|
|
- 体验CHATGPT
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view style="color: #199063" @click="showlogon = false,showlogin = true" class="deftoregister">
|
|
|
- 未注册账号?点击去注册></view>
|
|
|
- </block>
|
|
|
- </block>
|
|
|
- <tnui-wx-user-info v-model="showAuthorizationModal" @updated="updatedUserInfoEvent"></tnui-wx-user-info>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
- <!-- <view class="mobile" v-else> -->
|
|
|
<view class="mobile">
|
|
|
<view style="padding: 30rpx; padding-top: 24rpx;padding-bottom: 200rpx;">
|
|
|
<view class="topTxtAndImg">
|
|
|
<view class="swiper">
|
|
|
- <swiper class="banner" circular :autoplay="false">
|
|
|
+ <swiper class="banner" circular :autoplay="false" :style="{height:isPc?'':'500rpx'}">
|
|
|
<swiper-item v-for="i in bannerList">
|
|
|
<image :src="i.picture" mode=""></image>
|
|
|
</swiper-item>
|