更新小程序页面
This commit is contained in:
parent
7d2a2850a5
commit
1b41c0bc22
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="oa_home" style="oaColor">
|
<view class="oa_home" style="oaColor">
|
||||||
<!-- <image class="header_bg" src="../../static/img/home/head-bg.png"></image> -->
|
<!-- <image class="header_bg" src="../../static/img/home/head-bg.png"></image> -->
|
||||||
<u-navbar v-if="uniMP" @leftClick="leftClick" bgColor="rgba(0,0,0,0)"
|
<!-- <u-navbar @leftClick="leftClick" bgColor="rgba(0,0,0,0)"
|
||||||
leftIconColor=" #fff" :autoBack="false">
|
leftIconColor=" #fff" :autoBack="false">
|
||||||
</u-navbar>
|
</u-navbar> -->
|
||||||
<view class="home_header" :class="!ApproveList.length > 0 ? 'home_header_no_data' : ''">
|
<view class="home_header" :class="!ApproveList.length > 0 ? 'home_header_no_data' : ''">
|
||||||
<view style="
|
<view style="
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -20,9 +20,12 @@
|
|||||||
" />
|
" />
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifdef APP-PLUS||H5 -->
|
<!-- #ifdef APP-PLUS||H5 -->
|
||||||
<view v-if="!uniMP" style="height: var(--status-bar-height)"></view>
|
<view style="height: var(--status-bar-height)"></view>
|
||||||
<view style="height: 30rpx"></view>
|
<view v-if="uniMP" style="height: 44px;">
|
||||||
<view v-if="uniMP" style="height: 44px"></view>
|
<u-icon name="arrow-left" color="#fff" size="20" @click="leftClick"></u-icon>
|
||||||
|
</view>
|
||||||
|
<!-- <view style="height: 30rpx"></view> -->
|
||||||
|
<!-- <view v-if="uniMP" style="height: 44px;"></view> -->
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<view class="my_info">
|
<view class="my_info">
|
||||||
<view v-if="!$store.state.app.token" @click="login" class="mesg_box">
|
<view v-if="!$store.state.app.token" @click="login" class="mesg_box">
|
||||||
|
@ -5,14 +5,17 @@
|
|||||||
<view style="position: absolute;bottom: 0;left: 0;overflow: hidden;border-radius: 0;">
|
<view style="position: absolute;bottom: 0;left: 0;overflow: hidden;border-radius: 0;">
|
||||||
<hx-lottie :options="options" ref="lottie" style="width: 100vw;height: 460rpx;transform: scale(1.2);background-color: #0122c7;"/>
|
<hx-lottie :options="options" ref="lottie" style="width: 100vw;height: 460rpx;transform: scale(1.2);background-color: #0122c7;"/>
|
||||||
</view>
|
</view>
|
||||||
<u-navbar v-if="uniMP" @leftClick="leftClick" bgColor="rgba(0,0,0,0)"
|
<!-- <u-navbar v-if="uniMP" @leftClick="leftClick" bgColor="rgba(0,0,0,0)"
|
||||||
leftIconColor=" #fff" :autoBack="false">
|
leftIconColor=" #fff" :autoBack="false">
|
||||||
</u-navbar>
|
</u-navbar> -->
|
||||||
<!-- #ifdef APP-PLUS||H5 -->
|
<!-- #ifdef APP-PLUS||H5 -->
|
||||||
<view v-if="!uniMP" style="height: var(--status-bar-height)"></view>
|
<view style="height: var(--status-bar-height)"></view>
|
||||||
<view style="height: 30rpx"></view>
|
<view v-if="uniMP" style="height: 44px;">
|
||||||
|
<u-icon name="arrow-left" color="#fff" size="20" @click="leftClick"></u-icon>
|
||||||
|
</view>
|
||||||
|
<!-- <view style="height: 30rpx"></view> -->
|
||||||
<!-- <view style="height: 100rpx"></view> -->
|
<!-- <view style="height: 100rpx"></view> -->
|
||||||
<view v-if="uniMP" style="height: 44px"></view>
|
<!-- <view v-if="uniMP" style="height: 44px"></view> -->
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<view class="personage">
|
<view class="personage">
|
||||||
<view class="my_msg flex_a_c_j_sb">
|
<view class="my_msg flex_a_c_j_sb">
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { HTTP_REQUEST_URL, HEADER, TOKENNAME, } from '@/config/app';
|
import { HTTP_REQUEST_URL, HEADER, TOKENNAME, } from '@/config/app';
|
||||||
// import { checkLogin } from '../libs/login';
|
// import { checkLogin } from '../libs/login';
|
||||||
import store from '../store';
|
import store from '../store';
|
||||||
|
import props from '../uni_modules/uview-ui/libs/config/props';
|
||||||
|
|
||||||
|
|
||||||
function toLogin() {
|
function toLogin() {
|
||||||
@ -19,6 +20,7 @@ function baseRequest(url, method, data, {
|
|||||||
noAuth = false,
|
noAuth = false,
|
||||||
noVerify = false
|
noVerify = false
|
||||||
}) {
|
}) {
|
||||||
|
console.log('当前环境', process.env.NODE_ENV);
|
||||||
let Url = HTTP_REQUEST_URL,
|
let Url = HTTP_REQUEST_URL,
|
||||||
header = HEADER;
|
header = HEADER;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user