合并代码
This commit is contained in:
parent
eb919fa47d
commit
851f85ea99
|
|
@ -437,7 +437,7 @@
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
const serverUrl = ref(uni.getStorageSync('imagebase'))
|
||||||
const opendata = ref(false);
|
const opendata = ref(false);
|
||||||
const bodystatus = ref(false);
|
const bodystatus = ref(false);
|
||||||
const bodystatustarget = ref(-1);
|
const bodystatustarget = ref(-1);
|
||||||
|
|
|
||||||
|
|
@ -592,7 +592,7 @@
|
||||||
|
|
||||||
.title-time-font-rel {
|
.title-time-font-rel {
|
||||||
|
|
||||||
margin-top: 10rpx;
|
margin-top: 9rpx;
|
||||||
font-size: 33rpx;
|
font-size: 33rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
/* margin-bottom: 5rpx; */
|
/* margin-bottom: 5rpx; */
|
||||||
|
|
@ -601,6 +601,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-time-font-tags {
|
.title-time-font-tags {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
@ -610,6 +611,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-time-items {
|
.title-time-items {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
|
@ -828,7 +830,7 @@
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
/* margin-left: 10rpx; */
|
/* margin-left: 20rpx; */
|
||||||
/* margin-top: 12rpx; */
|
/* margin-top: 12rpx; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1661,12 +1663,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags-img {
|
.tags-img-view {
|
||||||
width: 50rpx;
|
width: 50%;
|
||||||
height: 50rpx;
|
display: flex;
|
||||||
margin-bottom: 10rpx;
|
justify-content: center;
|
||||||
|
|
||||||
|
.tags-img {
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.specia-onshow {
|
.specia-onshow {
|
||||||
background-color: rgb(241, 245, 252);
|
background-color: rgb(241, 245, 252);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -2007,22 +2016,38 @@
|
||||||
height: 1278rpx;
|
height: 1278rpx;
|
||||||
width: 600rpx;
|
width: 600rpx;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
.right-tags{
|
|
||||||
|
.right-tags {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 220rpx;
|
height: 220rpx;
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.setting-open {
|
||||||
|
position: absolute;
|
||||||
|
top: 80rpx;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 830rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1rpx solid rgba(0, 137, 254, 0.29);
|
||||||
|
border-radius: 30rpx;
|
||||||
|
|
||||||
|
|
||||||
.right-tags-title{
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.right-tags-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
.right-setting{
|
|
||||||
|
.right-setting {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20rpx;
|
right: 23rpx;
|
||||||
top: 20rpx;
|
top: 20rpx;
|
||||||
width: 90rpx;
|
width: 90rpx;
|
||||||
height: 46rpx;
|
height: 46rpx;
|
||||||
|
|
@ -2036,18 +2061,55 @@
|
||||||
border: 1rpx solid #E5E5E5;
|
border: 1rpx solid #E5E5E5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right-contont {
|
||||||
|
width: 100%;
|
||||||
|
height: 140rpx;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.tags-leftmenu {
|
||||||
|
width: 48%;
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.leftmenu-shu {
|
||||||
|
position: absolute;
|
||||||
|
top: 30%;
|
||||||
|
right: 0;
|
||||||
|
transform: translateY(-30%);
|
||||||
|
width: 1rpx;
|
||||||
|
height: 70%;
|
||||||
|
background-color: #EEEEEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* background-color: red; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-rightmenu {
|
||||||
|
width: 52%;
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
/* background-color: red; */
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.blue-shu{
|
|
||||||
|
.blue-shu {
|
||||||
background-color: #0089FE;
|
background-color: #0089FE;
|
||||||
width: 9rpx;
|
width: 9rpx;
|
||||||
height: 26rpx;
|
height: 26rpx;
|
||||||
border-radius: 5rpx;
|
border-radius: 5rpx;
|
||||||
margin-right: 13rpx;
|
margin-right: 13rpx;
|
||||||
}
|
}
|
||||||
.blue-font{
|
|
||||||
|
.blue-font {
|
||||||
font-size: 33rpx;
|
font-size: 33rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-time-border-hisOk {
|
.title-time-border-hisOk {
|
||||||
border: 2rpx solid #D4E4FE;
|
border: 2rpx solid #D4E4FE;
|
||||||
width: calc(100% - 15rpx);
|
width: calc(100% - 15rpx);
|
||||||
|
|
@ -2058,6 +2120,7 @@
|
||||||
background-color: #F6F9FF;
|
background-color: #F6F9FF;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-time {
|
.title-time {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -2068,9 +2131,9 @@
|
||||||
|
|
||||||
.card-time {
|
.card-time {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 35rpx;
|
bottom: 30rpx;
|
||||||
left: 20rpx;
|
left: 30rpx;
|
||||||
font-size: 28rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-time-red {
|
.card-time-red {
|
||||||
|
|
@ -2111,6 +2174,16 @@
|
||||||
color: #1083f8;
|
color: #1083f8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.weight-time{
|
|
||||||
|
.weight-time {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.haven-img {
|
||||||
|
width: 130rpx;
|
||||||
|
height: 130rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 45%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-45%, -50%);
|
||||||
|
}
|
||||||
|
|
@ -124,7 +124,45 @@
|
||||||
设置
|
设置
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="right-contont">
|
||||||
|
<view class="tags-leftmenu">
|
||||||
|
<view class="leftmenu-shu"></view>
|
||||||
|
<!-- <view v-for="(item,index) in bodyTagListLook" :key="index" class="tags-img-view">
|
||||||
|
<image class="tags-img" :src="item" />
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
<image class="haven-img" src="/static/index/procurement/haven.png"
|
||||||
|
mode="aspectFill"></image>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="tags-rightmenu">
|
||||||
|
<image class="haven-img" style="left: 40%;"
|
||||||
|
src="/static/index/procurement/haven.png" mode="aspectFill"></image>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- <view v-for="(item,index) in emotionTagListLook" :key="index">
|
||||||
|
<image class="tags-img" style="width: 40rpx;height: 40rpx;margin: 0 10rpx;"
|
||||||
|
:src="item" />
|
||||||
|
</view> -->
|
||||||
|
<!-- <view style="display: flex;flex-wrap: wrap;">
|
||||||
|
<view v-for="(item,index) in bodyTagList" :key="index" @click="addbody(index)">
|
||||||
|
<view class="tags-father" :class="bodystatustarget===index?'secondtarget':''">
|
||||||
|
<image class="tags-img"
|
||||||
|
:src="item.izSelected==`Y`?item.netPicFocus: item.netPic" />
|
||||||
|
<view class="tags-font"
|
||||||
|
:style="item.izSelected==`Y`?{color:`rgb(54, 159, 239)`}:{}">
|
||||||
|
{{item.tagName}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="setting-open">
|
||||||
|
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -295,7 +333,7 @@
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
const serverUrl = ref(uni.getStorageSync('imagebase'))
|
||||||
const bodystatus = ref(false);
|
const bodystatus = ref(false);
|
||||||
const bodystatustarget = ref(-1);
|
const bodystatustarget = ref(-1);
|
||||||
const facestatus = ref(false);
|
const facestatus = ref(false);
|
||||||
|
|
@ -1389,9 +1427,12 @@
|
||||||
bodyTagList.value = res.result.bodyTagList
|
bodyTagList.value = res.result.bodyTagList
|
||||||
res.result.bodyTagList.forEach((res : any) => {
|
res.result.bodyTagList.forEach((res : any) => {
|
||||||
if (res.izSelected == 'Y') {
|
if (res.izSelected == 'Y') {
|
||||||
bodyTagListLook.value.push(res.netPic)
|
bodyTagListLook.value.push(res.pic)
|
||||||
|
console.log("我看看",serverUrl.value + res.pic)
|
||||||
|
console.log("我看看总的",res)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log("看看图标", bodyTagListLook.value)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,13 @@ export const getLoginCode = (time) => {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//获得图片base
|
||||||
|
export const getPublicMediaUrl = (time) => {
|
||||||
|
return request({
|
||||||
|
url: `/api/baseInfo/getPublicMediaUrl`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
//登录
|
//登录
|
||||||
export const loginApp = (params) => {
|
export const loginApp = (params) => {
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,7 @@
|
||||||
import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'
|
import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'
|
||||||
import oneseven from '@/pages/login/oneseven.vue'
|
import oneseven from '@/pages/login/oneseven.vue'
|
||||||
import twoseven from '@/pages/login/twoseven.vue'
|
import twoseven from '@/pages/login/twoseven.vue'
|
||||||
import { isRel, getLoginCode, loginApp } from './api.js'
|
import { isRel, getLoginCode, loginApp,getPublicMediaUrl } from './api.js'
|
||||||
import huakuai from '@/component/public/huakuai.vue'
|
import huakuai from '@/component/public/huakuai.vue'
|
||||||
import { initWs, connectWs } from '@/common/websocketManager.js';
|
import { initWs, connectWs } from '@/common/websocketManager.js';
|
||||||
|
|
||||||
|
|
@ -184,6 +184,7 @@
|
||||||
showPopup.value = false;
|
showPopup.value = false;
|
||||||
}
|
}
|
||||||
onMounted(()=>{
|
onMounted(()=>{
|
||||||
|
|
||||||
uni.setStorageSync("appWgtVersion", uni.getSystemInfoSync().appWgtVersion)
|
uni.setStorageSync("appWgtVersion", uni.getSystemInfoSync().appWgtVersion)
|
||||||
if (uni.getStorageSync('appWgtVersion') != uni.getSystemInfoSync().appWgtVersion) {
|
if (uni.getStorageSync('appWgtVersion') != uni.getSystemInfoSync().appWgtVersion) {
|
||||||
showPopup.value = true;
|
showPopup.value = true;
|
||||||
|
|
@ -404,6 +405,10 @@
|
||||||
});
|
});
|
||||||
connectWs(); // 主动连接 WebSocket
|
connectWs(); // 主动连接 WebSocket
|
||||||
}
|
}
|
||||||
|
// 获得图片前缀
|
||||||
|
getPublicMediaUrl().then((res:any)=>{
|
||||||
|
uni.setStorageSync("imagebase", res.result)
|
||||||
|
})
|
||||||
jumpTo(`/pages/login/newanimationpage`)
|
jumpTo(`/pages/login/newanimationpage`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view class="ceshi" v-if="ceshiopen" @click="ceshiopen=false">
|
<view class="ceshi" v-if="ceshiopen" @click="ceshiopen=false">
|
||||||
<image class="all-home" src="/static/ceshi.png" mode="aspectFit"></image>
|
<image class="all-home" src="/static/ceshi1.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="home">
|
<view class="home">
|
||||||
<image class="all-home" src="/static/index/warehouse/newindexhome/backdro.jpg" mode="scaleToFill"></image>
|
<image class="all-home" src="/static/index/warehouse/newindexhome/backdro.jpg" mode="scaleToFill"></image>
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
Loading…
Reference in New Issue