|
@@ -2,16 +2,16 @@
|
|
<view class="pcLogins">
|
|
<view class="pcLogins">
|
|
<u-navbar :is-back="false" title="登录" :border-bottom="false" title-color="#333333" back-icon-color="#ffffff">
|
|
<u-navbar :is-back="false" title="登录" :border-bottom="false" title-color="#333333" back-icon-color="#ffffff">
|
|
<view class="slot-wrap">
|
|
<view class="slot-wrap">
|
|
- <image src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
|
|
|
|
|
|
+ <image src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<u-line color="#D6D6DB" />
|
|
<u-line color="#D6D6DB" />
|
|
<view class="contents">
|
|
<view class="contents">
|
|
<!-- 正文内容 -->
|
|
<!-- 正文内容 -->
|
|
|
|
+ <image class="logo" src="/static/me/logo.png" style="width: 360rpx;height: 72rpx;"></image>
|
|
<text>登录后您可在网页端继续浏览课程</text>
|
|
<text>登录后您可在网页端继续浏览课程</text>
|
|
<view class="login_bt" @click="pcLogin()">微信登录</view>
|
|
<view class="login_bt" @click="pcLogin()">微信登录</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -23,7 +23,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(query) {
|
|
onLoad(query) {
|
|
- console.log('扫描参数', query)
|
|
|
|
const q = decodeURIComponent(query.q)
|
|
const q = decodeURIComponent(query.q)
|
|
this.scanCode = q.substring(q.length - 6)
|
|
this.scanCode = q.substring(q.length - 6)
|
|
// const time = parseInt(query.scancode_time)
|
|
// const time = parseInt(query.scancode_time)
|
|
@@ -39,7 +38,6 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
pcLogin() {
|
|
pcLogin() {
|
|
- console.log('跳转')
|
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages4/login/login?scanCode=' + this.scanCode
|
|
url: '/pages4/login/login?scanCode=' + this.scanCode
|
|
});
|
|
});
|
|
@@ -53,12 +51,26 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .logo {
|
|
|
|
+ margin: 90rpx 0rpx 250rpx;
|
|
|
|
+ }
|
|
|
|
+ >text {
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
+ color: #666;
|
|
|
|
+ }
|
|
.login_bt {
|
|
.login_bt {
|
|
- width: 180rpx;
|
|
|
|
- height: 80rpx;
|
|
|
|
- line-height: 80rpx;
|
|
|
|
|
|
+ width: 400rpx;
|
|
|
|
+ height: 70rpx;
|
|
|
|
+ line-height: 70rpx;
|
|
text-align: center;
|
|
text-align: center;
|
|
- background: #ddd;
|
|
|
|
|
|
+ background: #09ba08;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
+ border-radius: 35rpx;
|
|
|
|
+ margin-top: 20rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|