feat: 调整首页及登录页布局等
This commit is contained in:
parent
ff8833bda2
commit
41955b8641
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<image src="/static/banner.jpg" mode="widthFix" style="width:100%"></image>
|
<image src="/static/banner_c.png" mode="widthFix" style="width:100%"></image>
|
||||||
<uni-segmented-control :current="current" :values="items" styleType="button" @clickItem="onClickItem">
|
<uni-segmented-control :current="current" :values="items" styleType="button" @clickItem="onClickItem">
|
||||||
</uni-segmented-control>
|
</uni-segmented-control>
|
||||||
<view style="height: 8rpx;"></view>
|
<view style="height: 8rpx;"></view>
|
||||||
|
@ -338,20 +338,7 @@
|
||||||
},
|
},
|
||||||
bindXX() {
|
bindXX() {
|
||||||
let that = this;
|
let that = this;
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS || H5
|
||||||
let userInfo = uni.getStorageSync("userInfo")
|
|
||||||
let secret = that.ranStr(12)
|
|
||||||
let mySecret = {
|
|
||||||
'username': userInfo.username,
|
|
||||||
'secret': secret
|
|
||||||
}
|
|
||||||
this.$api.bindSecret({
|
|
||||||
secret: secret
|
|
||||||
}).then(res => {
|
|
||||||
uni.setStorageSync('mySecret', JSON.stringify(mySecret))
|
|
||||||
}).catch(e => {})
|
|
||||||
// #endif
|
|
||||||
// #ifdef H5
|
|
||||||
let userInfo = uni.getStorageSync("userInfo")
|
let userInfo = uni.getStorageSync("userInfo")
|
||||||
let secret = that.ranStr(12)
|
let secret = that.ranStr(12)
|
||||||
let mySecret = {
|
let mySecret = {
|
||||||
|
@ -379,5 +366,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.uni-section-header {
|
||||||
|
padding: 0px 0px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
|
<image src="/static/banner_c.png" mode="widthFix" style="width:100%"></image>
|
||||||
<uni-section :title="welTitle" type="circle" titleFontSize="15px" titleColor="#0000CD"
|
<uni-section :title="welTitle" type="circle" titleFontSize="15px" titleColor="#0000CD"
|
||||||
@click="goUserInfo">
|
@click="goUserInfo">
|
||||||
<template v-slot:right>
|
<template v-slot:right>
|
||||||
<span style="color:gray">{{currentDate}}</span>
|
<span style="color:gray">{{currentDate}}</span>
|
||||||
</template>
|
</template>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
<image src="/static/banner1.png" mode="widthFix" style="width:100%"></image>
|
|
||||||
<view style="height: 12rpx;"></view>
|
<view style="height: 12rpx;"></view>
|
||||||
<uni-row :gutter="12">
|
<uni-row :gutter="12">
|
||||||
<uni-col :span="12" style="border-radius: 20upx;">
|
<uni-col :span="12" style="border-radius: 20upx;">
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.0 MiB |
Binary file not shown.
After Width: | Height: | Size: 586 KiB |
Loading…
Reference in New Issue