flx: 提交首页修改
This commit is contained in:
parent
8500d60962
commit
e4028d9d36
4
main.js
4
main.js
@ -109,8 +109,8 @@ if (process.env.NODE_ENV === 'development') {
|
|||||||
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5
|
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5
|
||||||
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
|
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
|
||||||
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5
|
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5
|
||||||
Vue.prototype.url_config = 'http://gszhdz.crpower.com.cn:9809/' // 敦煌环境h5
|
// Vue.prototype.url_config = 'http://gszhdz.crpower.com.cn:9809/' // 敦煌环境h5
|
||||||
// Vue.prototype.url_config = 'https://gszhdz.crpower.com.cn:9807/' // 敦煌环境h5
|
Vue.prototype.url_config = 'https://gszhdz.crpower.com.cn:9807/' // 敦煌环境h5
|
||||||
// Vue.prototype.url_config = window.location.protocol + "//" + window.location.host + "/"
|
// Vue.prototype.url_config = window.location.protocol + "//" + window.location.host + "/"
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -3,12 +3,13 @@
|
|||||||
<scroll-view class="" :class="accountType == 5 || accountType == 6 || accountType == 10 ? 'smallHeight' : ''"
|
<scroll-view class="" :class="accountType == 5 || accountType == 6 || accountType == 10 ? 'smallHeight' : ''"
|
||||||
scroll-y>
|
scroll-y>
|
||||||
<headers :showBack="accountType == 5 || accountType == 6 || accountType == 10 ? false : true"
|
<headers :showBack="accountType == 5 || accountType == 6 || accountType == 10 ? false : true"
|
||||||
:themeType="'white'">
|
:themeType="true">
|
||||||
<view class="headerName" @click="toDept">
|
<view class="headerName" @click="toDept">
|
||||||
{{ projectDetail.projectName }}
|
{{ projectDetail.projectName }}
|
||||||
</view>
|
</view>
|
||||||
</headers>
|
</headers>
|
||||||
<image src="/static/projectIndexBG.png" class="projectIndexBG"
|
<view class="topBoxContent-box" :style="`background-image: url(${loginBackgroundImage})`"></view>
|
||||||
|
<!-- <image src="/static/projectIndexBG.png" class="projectIndexBG"
|
||||||
:style="{ height: systemInfo.statusBarHeight + 357 + 'px' }"></image>
|
:style="{ height: systemInfo.statusBarHeight + 357 + 'px' }"></image>
|
||||||
<view class="topBoxContent">
|
<view class="topBoxContent">
|
||||||
<view class="" style="height: 20px"></view>
|
<view class="" style="height: 20px"></view>
|
||||||
@ -35,7 +36,6 @@
|
|||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<!-- {{weatherInfo.reporttime.split(' ')[0]}} -->
|
|
||||||
{{ weatherInfo.winddirection }}风 {{ weatherInfo.windpower }}级
|
{{ weatherInfo.winddirection }}风 {{ weatherInfo.windpower }}级
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -60,16 +60,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class=""> 要求完成日期</view>
|
<view class=""> 要求完成日期</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="item">
|
|
||||||
<view class="">
|
|
||||||
—.—.—
|
|
||||||
</view>
|
|
||||||
<view class="">
|
|
||||||
预计完成日期
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="moudleContent">
|
<view class="moudleContent">
|
||||||
<view class="moudleTitle"> ·已有产品·</view>
|
<view class="moudleTitle"> ·已有产品·</view>
|
||||||
<view class="moudleBox">
|
<view class="moudleBox">
|
||||||
@ -144,7 +136,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import levitatedsphere from "@/components/levitatedsphere/levitatedsphere.vue"
|
import levitatedsphere from "@/components/levitatedsphere/levitatedsphere.vue"
|
||||||
import headers from '../../../components/headers/headers.vue'
|
import headers from '@/components/headers/headers.vue'
|
||||||
import footers from '../../../components/footers/footers.vue'
|
import footers from '../../../components/footers/footers.vue'
|
||||||
import checkVersion from '@/pages/lq-upgrade/checkVersion.js'
|
import checkVersion from '@/pages/lq-upgrade/checkVersion.js'
|
||||||
import {
|
import {
|
||||||
@ -158,7 +150,7 @@
|
|||||||
getBottomLevelData,
|
getBottomLevelData,
|
||||||
exitApp
|
exitApp
|
||||||
} from "@/utils/tool.js"
|
} from "@/utils/tool.js"
|
||||||
|
import dunhuangIndex from "@/static/dunhuang-index.png";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headers,
|
headers,
|
||||||
@ -174,6 +166,7 @@
|
|||||||
contractPeriodType: 1, //1是正常 2是已延期
|
contractPeriodType: 1, //1是正常 2是已延期
|
||||||
periodRatio: 0
|
periodRatio: 0
|
||||||
},
|
},
|
||||||
|
loginBackgroundImage: dunhuangIndex,
|
||||||
userInfo: {},
|
userInfo: {},
|
||||||
searchsn: '',
|
searchsn: '',
|
||||||
accountType: 1,
|
accountType: 1,
|
||||||
@ -478,7 +471,8 @@
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
success(res) {
|
success(res) {
|
||||||
console.log(res.result.iconType)
|
console.log(res.result.iconType)
|
||||||
that.iconType = res.result.iconType ? res.result.iconType : '1'
|
that.iconType = res.result.iconType ? res.result.iconType : '1';
|
||||||
|
that.loginBackgroundImage = res.result.loginBackgroundImage ? res.result.loginBackgroundImage : dunhuangIndex;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -989,6 +983,15 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.topBoxContent-box {
|
||||||
|
margin: 26rpx;
|
||||||
|
width: calc(100% - 52rpx);
|
||||||
|
height: 400rpx;
|
||||||
|
background-image: url('@/static/dunhuang-index.png');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
.qrcodeItem {
|
.qrcodeItem {
|
||||||
padding: 40rpx 30rpx;
|
padding: 40rpx 30rpx;
|
||||||
width: 480rpx;
|
width: 480rpx;
|
||||||
@ -1094,7 +1097,7 @@
|
|||||||
|
|
||||||
.projectIndexPage {
|
.projectIndexPage {
|
||||||
/deep/ .headerBox {
|
/deep/ .headerBox {
|
||||||
background-color: transparent;
|
// background-color: transparent;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
static/dunhuang-index.png
Normal file
BIN
static/dunhuang-index.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 739 KiB |
Loading…
x
Reference in New Issue
Block a user