feat: 调整首页及登录页布局等
This commit is contained in:
parent
ff8833bda2
commit
41955b8641
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<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>
|
||||
<view style="height: 8rpx;"></view>
|
||||
|
@ -338,20 +338,7 @@
|
|||
},
|
||||
bindXX() {
|
||||
let that = this;
|
||||
// #ifdef APP-PLUS
|
||||
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
|
||||
// #ifdef APP-PLUS || H5
|
||||
let userInfo = uni.getStorageSync("userInfo")
|
||||
let secret = that.ranStr(12)
|
||||
let mySecret = {
|
||||
|
@ -379,5 +366,7 @@
|
|||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
.uni-section-header {
|
||||
padding: 0px 0px !important;
|
||||
}
|
||||
</style>
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<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"
|
||||
@click="goUserInfo">
|
||||
<template v-slot:right>
|
||||
<span style="color:gray">{{currentDate}}</span>
|
||||
</template>
|
||||
</uni-section>
|
||||
<image src="/static/banner1.png" mode="widthFix" style="width:100%"></image>
|
||||
<view style="height: 12rpx;"></view>
|
||||
<uni-row :gutter="12">
|
||||
<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