| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <template>
- <view class="login-content" @touchmove.stop.prevent>
- <view class="data">
- <view class="data-img">
- <image :style="{'margin-left':((windowWidth-124)/2)+'rpx'}" class="img" src="/static/img/common/logo.png" mode="aspectFill"></image>
- </view>
- <view class="data-text">
- <text class="text-content" :style="{'width':(windowWidth-156)+'rpx'}">
- ICOCO是为了人们摆脱自己单身的生活 而去结交 认识他人的过程一个网络交友平台
- </text>
- </view>
- <view class="data-but" @click="goToLogin" >
- <!-- 开始ICOCO-->
- <image class="but-img" src="/static/img/login/login-but.png" mode="aspectFill"></image>
- </view>
- <login-agreement></login-agreement>
- </view>
- </view>
- </template>
- <script>
- import LoginAgreement from "@/pages/login/model/loginAgreement";
- export default {
- name: "loginContent",
- components: {LoginAgreement},
- props: {},
- data() {
- return {
- windowWidth:750
- }
- },
- watch: {},
- onLoad(query) {
- },
- mounted() {
- // let width = uni.getSystemInfoSync().windowWidth;
- // this.windowWidth=width*2
- // tools.success('width:'+width)
- // console.log('width:'+width)
- },
- methods: {
- goToLogin(){
- uni.navigateTo({
- 'url':'/pages/login/localPhoneLogin'
- })
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .login-content{
- z-index: 100;
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- /*background-color: rgba(0, 0, 0, 0);*/
- /*background: #fff;*/
- }
- .login-content .data{
- position: absolute;
- /*width: 100vw;*/
- height: 528rpx;
- bottom: 0;
- left: 0;
- }
- .login-content .data .data-img{
- /*width: 100vw;*/
- height: 124rpx;
- }
- .login-content .data-img .img{
- /*margin-left: calc((100vw - 124rpx) / 2);*/
- height: 124rpx;
- width: 124rpx;
- border-radius: 24rpx;
- }
- .login-content .data .data-text{
- margin-top: 24rpx;
- padding: 0 78rpx;
- line-height: 44rpx;
- }
- .login-content .data .data-text .text-content{
- //width: calc( 100vw - 156rpx );
- font-size: 24rpx;
- color: #FFFFFF;
- display:inline-block;
- white-space: pre-wrap;
- word-wrap: break-word;
- height: auto;
- }
- .login-content .data .data-but{
- margin:64rpx 78rpx 0 78rpx ;
- border-radius: 200rpx;
- /*background:#FFFFFF ;*/
- /*height: 88rpx;*/
- /*line-height: 88rpx;*/
- /*color: #000000;*/
- /*font-size: 28rpx;*/
- /*font-weight: 600;*/
- /*text-align: center;*/
- /*mix-blend-mode: darken;*/
- /*-webkit-background-clip: text;*/
- /*-webkit-text-fill-color: transparent;*/
- }
- .data-but .but-img{
- height: 88rpx;
- border-radius: 200rpx;
- /*width: calc(100vw - 156rpx);*/
- margin-bottom: 40rpx;
- }
- </style>
|