未央先锋

This commit is contained in:
liuye
2024-07-18 16:59:35 +08:00
parent 45da9df43c
commit 7dec8870b9
4 changed files with 26 additions and 29 deletions

View File

@@ -1,12 +1,12 @@
<template>
<div class="page">
<div class="header-content">
<u-navbar :is-back="false" title="数智巫溪" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar"></u-navbar>
<u-navbar :is-back="false" title="未央先锋" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar"></u-navbar>
<div class="header-bg">
<div class="weather-info" v-if="weatherInfo.wea">
<!-- <div class="weather-info" v-if="weatherInfo.wea">
<img :src="weatherInfo.icon" alt="" />
<p>今天{{weatherInfo.wea}}{{weatherInfo.tem2}}~{{weatherInfo.tem1}},{{weatherInfo.air_tips}}</p>
</div>
</div> -->
<div class="swiper-content">
<u-swiper :list="swiperList" mode="none" height="364" bg-color="none" @click="handleBannerClick"/>
</div>
@@ -80,7 +80,7 @@ export default {
data() {
return {
cdn: "https://cdn.cunwuyun.cn/wxmp",
swiperList: ['https://cdn.cunwuyun.cn/wechat/wuxi/home-swiper1.png'],
swiperList: ['https://cdn.cunwuyun.cn/wechat/biaopin/home/home-swiper1.png'],
index: 0,
grids: [],
activeList: [],
@@ -109,9 +109,6 @@ export default {
return notices?.length > 0 ? notices?.map(e => e.title) || ['暂无公告'] : ['暂无公告']
}
},
onReady() {
// uni.setNavigationBarTitle({title: "数智巫溪"})
},
onLoad() {
this.autoLogin().then(() => {
this.getSwiperList();
@@ -246,7 +243,7 @@ export default {
}
},
getAppList() {
this.$instance.get("/wuxi_home.json", null, { withoutToken: true }).then(res => {
this.$instance.get("/biaopin_home.json", null, { withoutToken: true }).then(res => {
if (res.length) {
this.appList = res
}
@@ -278,7 +275,7 @@ export default {
onShareAppMessage() {
return {
title: '欢迎使用数智未央~',
title: '欢迎使用基层治理~',
path: `/pages/AppHome/AppHome`
}
},
@@ -291,7 +288,7 @@ export default {
.page {
width: 100%;
min-height: 100%;
background-color: #fff;
background-color: #F4F5FA;
position: relative;
.header-content {
@@ -319,7 +316,7 @@ export default {
.swiper-content {
width: 686px;
height: 364px;
margin: 20px auto 24px;
margin: 0 auto 24px;
}
::v-deep .notice {
width: 686px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 965 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1000 B

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -84,30 +84,30 @@ export default {
// path: "/mods/AppHometown/AppHometown",
// type: 'token'
// },
// {
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-wdjt.png",
// label: "我的家庭",
// path: "./myFamily",
// type: 'token'
// },
{
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-wdjt.png",
label: "我的家庭",
path: "./myFamily",
type: 'token'
},
{
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-wdjf.png",
label: "我的积分",
path: "./myIntegral",
type: 'token'
},
// {
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-wdewm.png",
// label: "我的二维码",
// path: "./myHarvestQR",
// type: 'token'
// },
// {
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
// label: "扫一扫",
// path: "./myHarvestQR",
// type: 'scan'
// },
{
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-wdewm.png",
label: "我的二维码",
path: "./myHarvestQR",
type: 'token'
},
{
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
label: "扫一扫",
path: "./myHarvestQR",
type: 'scan'
},
{
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-fxxcx.png",
label: "分享小程序",