Commit fa035a45 by yanglang123

提交

parent b58b1adc
......@@ -11,7 +11,7 @@
"style": {
"navigationBarTitleText": "智慧党建",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": false,
"bounce": "none",
......@@ -23,6 +23,12 @@
}
},
{
"path": "pages/home/search/search",
"style": {
"navigationBarTitleText": "搜索"
}
},
{
"path": "pages/contact/contact",
"style": {
"navigationBarTitleText": "联系"
......@@ -35,47 +41,105 @@
}
},
{
"path": "pages/mine/development/development",
"path": "pages/mine/message/message",
"style": {
"navigationBarTitleText": "发展情况"
"navigationBarTitleText": "我要留言"
}
},
{
"path": "pages/mine/consultation/consultation",
"path": "pages/mine/about/about",
"style": {
"navigationBarTitleText": "在线咨询"
"navigationBarTitleText": "关于智慧党建"
}
},
{
"path": "pages/mine/message/message",
"path": "pages/eventServices/eventServices",
"style": {
"navigationBarTitleText": "我要留言"
"navigationBarTitleText": "活动服务"
}
},
{
"path": "pages/mine/tellPhone/tellPhone",
"path": "pages/cleanHonestStyle/cleanHonestStyle",
"style": {
"navigationBarTitleText": "服务电话"
"navigationBarTitleText": "廉洁作风"
}
},
{
"path": "pages/mine/about/about",
"path": "pages/tvWindow/tvWindow",
"style": {
"navigationBarTitleText": "关于智慧党建"
"navigationBarTitleText": "机电视窗"
}
},
{
"path": "pages/partyBranchStyle/partyBranchStyle",
"style": {
"navigationBarTitleText": "支部风采"
}
},
{
"path": "pages/annualColumn/annualColumn",
"style": {
"navigationBarTitleText": "年度专栏"
}
},
{
"path": "pages/youthLeagueNews/youthLeagueNews",
"style": {
"navigationBarTitleText": "工团快讯"
}
},
{
"path": "pages/learningSection/learningSection",
"style": {
"navigationBarTitleText": "学习栏目"
}
},
{
"path": "pages/trainingTest/trainingTest",
"style": {
"navigationBarTitleText": "培训测试"
}
},
{
"path": "pages/questionnaire/questionnaire",
"style": {
"navigationBarTitleText": "问卷调查"
}
},
{
"path": "pages/contribute/contribute",
"style": {
"navigationBarTitleText": "我要投稿"
}
},
{
"path": "pages/directPartyAffairs/directPartyAffairs",
"style": {
"navigationBarTitleText": "党务直通"
}
}
],
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#E35B45",
"borderStyle": "black",
"backgroundColor": "#F8F8F8",
"list": [{
"pagePath": "pages/home/home",
"iconPath": "static/home.png",
"selectedIconPath": "static/home-active.png",
"text": "首页"
},
{
"pagePath": "pages/contact/contact",
"text": "联系"
"iconPath": "static/activity.png",
"selectedIconPath": "static/activity-active.png",
"text": "活动"
},
{
"pagePath": "pages/mine/mine",
"iconPath": "static/mine.png",
"selectedIconPath": "static/mine-active.png",
"text": "我的"
}
]
......
<!-- 年度专栏 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
......
<!-- 廉洁作风 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
......
<!-- 我要投稿 -->
<template>
<view class="">
ddd
</view>
</template>
<script>
......
<!-- 党务直通 -->
<template>
<view class="">
222
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<!-- 活动服务 -->
<template>
<view class="">
dddd
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<template>
<view class="content">
<view class="navbar" :style="{ height: navHeight + 'px' }">
<view class="topInfo" :style="{
marginTop: customTop + 'px',
......@@ -10,8 +11,8 @@
</view>
<view class="searchCoceral">
<uni-icons class="input-uni-icon" style="margin-right: 3px;" type="search" size="18" color="#fff" />
<input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词" placeholder-class="title_input"
@confirm="confirm" />
<input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词"
placeholder-class="title_input" @confirm="confirm" @click="toSearch" />
</view>
</view>
</view>
......@@ -30,10 +31,12 @@
</view>
<view class="nav-list">
<view class="nav-out" v-for="(item,index) in navLists" :key="index" :id="item">
<navigator :url="item.path" open-type="navigate">
<view class="nav-item">
<image :src="item.imgsrc" mode="" class="imgi"></image>
<text>{{item.name}}</text>
</view>
</navigator>
</view>
</view>
<uni-section title="精选资讯" more="true" moreUrl="/pages/mine/development/development" type="line">
......@@ -67,57 +70,68 @@
background: ['color1', 'color2', 'color3'],
navLists: [{
id: 1,
imgsrc: '../../static/c1.png',
imgsrc: '../../static/home/trainingTest.png',
path: '/pages/eventServices/eventServices',
name: '活动服务'
},
{
id: 2,
imgsrc: '../../static/c2.png',
imgsrc: '../../static/home/trainingTest.png',
path: '/pages/trainingTest/trainingTest',
name: '培训测试'
},
{
id: 3,
imgsrc: '../../static/c3.png',
imgsrc: '../../static/home/questionnaire.png',
path: '/pages/questionnaire/questionnaire',
name: '问卷调查'
},
{
id: 4,
imgsrc: '../../static/c4.png',
imgsrc: '../../static/home/contribute.png',
path: '/pages/contribute/contribute',
name: '我要投稿'
},
{
id: 5,
imgsrc: '../../static/c5.png',
imgsrc: '../../static/home/directPartyAffairs.png',
path: '/pages/directPartyAffairs/directPartyAffairs',
name: '党务直通'
},
{
id: 6,
imgsrc: '../../static/c6.png',
imgsrc: '../../static/home/cleanHonestStyle.png',
path: '/pages/cleanHonestStyle/cleanHonestStyle',
name: '廉洁作风'
},
{
id: 7,
imgsrc: '../../static/c7.png',
imgsrc: '../../static/home/tvWindow.png',
path: '/pages/tvWindow/tvWindow',
name: '机电视窗'
},
{
id: 8,
imgsrc: '../../static/c1.png',
imgsrc: '../../static/home/partyBranchStyle.png',
path: '/pages/partyBranchStyle/partyBranchStyle',
name: '支部风采'
},
{
id: 9,
imgsrc: '../../static/c1.png',
imgsrc: '../../static/home/annualColumn.png',
path: '/pages/annualColumn/annualColumn',
name: '年度专栏'
},
{
id: 10,
imgsrc: '../../static/c1.png',
imgsrc: '../../static/home/youthLeagueNews.png',
path: '/pages/youthLeagueNews/youthLeagueNews',
name: '工团快讯'
},
{
id: 11,
imgsrc: '../../static/c1.png',
imgsrc: '../../static/home/learningSection.png',
path: '/pages/learningSection/learningSection',
name: '学习栏目'
},
],
......@@ -142,6 +156,7 @@
]
}
},
onLoad() {
let custom = uni.getMenuButtonBoundingClientRect(); // 小程序右上角胶囊信息
let system = uni.getSystemSetting(); // 获取设备信息
......@@ -149,12 +164,18 @@
this.customTop = custom.top; // 胶囊按钮与顶部的距离
this.customHeight = custom.height; // 胶囊按钮与右侧的距离
},
methods: {
confirm() {
uni.showToast({
title: '搜索'
})
}
},
toSearch() {
uni.navigateTo({
url: '/pages/home/search/search'
})
},
}
}
</script>
......@@ -165,10 +186,16 @@
display: flex;
align-items: center;
background-color: #C02B1E;
.title_input{
position: fixed;
top: 0px;
left: 0;
z-index: 10001;
.title_input {
color: #fff;
}
.joinCocelal {
font-size: 14px;
color: #fff;
......@@ -198,6 +225,7 @@
.uni-margin-wrap {
width: 690rpx;
width: 100%;
margin-top: 150rpx;
}
.swiper {
......@@ -235,8 +263,8 @@
}
.imgi {
width: 32px;
height: 32px;
width: 28px;
height: 28px;
}
.news-out {
......
<template>
<view class="out">
<view class="mid-out">
<view class="mid-top">
<view class="mid-input">
<uni-icons class="input-uni-icon" style="margin-left: 15px;margin-right: 8px;" type="search"
size="18" color="#ccc" />
<input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词"
placeholder-class="title_input" />
</view>
<view class="mid-font">
取消
</view>
</view>
<view class="mid-con">
<view class="mid-con-t">
<text class="t-font">历史搜索</text>
<uni-icons class="input-uni-icon" style="margin-left: 15px;margin-right: 8px;" type="clear"
size="18" color="#ccc" />
</view>
<view class="con-items">
<view v-for="(item,index) in list1" :key="index">
<navigator :url="item.path" class="item">{{item.name}}</navigator>
</view>
</view>
</view>
<view class="mid-con">
<view class="mid-con-t">
<text class="t-font">大家都在搜</text>
</view>
<view class="con-items">
<view v-for="(item,index) in list" :key="index">
<navigator :url="item.path" class="item">{{item.name}}</navigator>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list1: [{
name: '党课',
path: '/pages/mine/development/development'
}
],
list: [{
name: '党课',
path: '/pages/mine/development/development'
},
{
name: '支部风采',
path: '/pages/mine/development/development'
},
{
name: '测试',
path: '/pages/mine/development/development'
},
{
name: '我要投稿',
path: '/pages/mine/development/development'
},
{
name: '我要投稿1',
path: '/pages/mine/development/development'
},
{
name: '我要投稿2',
path: '/pages/mine/development/development'
},
{
name: '我要投稿3',
path: '/pages/mine/development/development'
},
{
name: '我要投稿4',
path: '/pages/mine/development/development'
},
]
}
}
}
</script>
<style lang="less">
.out {
width: 95%;
margin: 0 auto;
.mid-out {
.mid-top {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
.mid-input {
width: 88%;
display: flex;
align-items: center;
border: 1px solid #ccc;
border-radius: 16px;
}
}
.mid-con {
.mid-con-t {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
margin-bottom: 15px;
.t-font {
font-size: 14px;
font-weight: 600;
}
}
}
.con-items{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.item{
min-width: 100rpx;
border: 1px solid #ccc;
padding: 5px 10px;
text-align: center;
margin-bottom: 15px;
}
}
}
}
</style>
\ No newline at end of file
<!-- 学习栏目 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<template>
<view>
<view class="top-out">
<view class="top-user">
<image src="./../../static/shuijiao.jpg" mode="" class="user-img"></image>
<view class="user-name">
<view class="name-item">
<text style="font-size: 16px;">赵小猫</text>
<view class="">
<image src="./../../static/mine/jinb-icon.png" mode="" class="jinb"></image>
</view>
</view>
<view class="">
<text>手机号:19837927442</text>
</view>
</view>
</view>
<view class="collect">
<view class="item item1">
<image src="./../../static/mine/collect-icon.png" mode="" class="item-img"></image>
<text>我的收藏</text>
</view>
<view class="item">
<image src="./../../static/mine/history-icon.png" mode="" class="item-img"></image>
<text>浏览历史</text>
</view>
</view>
</view>
<view class="mid-out">
<view class="nav-list">
<view class="nav-out" v-for="(item,index) in navLists" :key="index" :id="item">
<navigator :url="item.path" open-type="navigate">
<view class="nav-item">
<image :src="item.imgsrc" mode="" class="imgi"></image>
<text>{{item.name}}</text>
</view>
</navigator>
</view>
</view>
</view>
<view class="list-out">
<view class="list-panel" v-for="item in lists" :key="item.url">
......@@ -14,6 +46,9 @@
</view>
</view>
</view>
<view class="btn" @click="goBack">
退出登录
</view>
</view>
</template>
......@@ -22,21 +57,51 @@
data() {
return {
lists: [{
name: "发展情况",
url: "development"
}, {
name: "在线咨询",
url: "consultation"
}, {
name: "我要留言",
url: "message"
}, {
name: "服务电话",
url: "tellPhone"
}, {
},
{
name: "关于智慧党建",
url: "about"
}, ]
}
],
navLists: [{
id: 1,
imgsrc: '../../static/mine/my-activity.png',
path: '/pages/eventServices/eventServices',
name: '我创建的活动'
},
{
id: 2,
imgsrc: '../../static/mine/my-training.png',
path: '/pages/trainingTest/trainingTest',
name: '我的培训'
},
{
id: 3,
imgsrc: '../../static/mine/my-examination.png',
path: '/pages/questionnaire/questionnaire',
name: '我的考试'
},
{
id: 4,
imgsrc: '../../static/mine/my-comment.png',
path: '/pages/contribute/contribute',
name: '我的评论'
},
{
id: 5,
imgsrc: '../../static/mine/my-submit.png',
path: '/pages/directPartyAffairs/directPartyAffairs',
name: '我的投稿'
},
{
id: 6,
imgsrc: '../../static/mine/my-questionnaire.png',
path: '/pages/cleanHonestStyle/cleanHonestStyle',
name: '我参与的问卷'
}
],
}
},
onLoad() {
......@@ -48,30 +113,151 @@
uni.navigateTo({
url: url
})
},
goBack(){
uni.reLaunch({
url:'/pages/login/login'
});
}
}
}
</script>
<style>
.list-out{
width: 95%;
<style lang="less">
.top-out {
width: 100%;
height: 160px;
background-image: url(./../../static/mine/mine-bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
padding-top: 10%;
.top-user {
display: flex;
align-items: center;
margin-left: 7%;
margin-bottom: 15px;
.user-img {
width: 60px;
height: 60px;
border-radius: 50%;
margin-right: 15px;
}
.user-name {
color: #fff;
.name-item {
display: flex;
margin-bottom: 10px;
.jinb {
width: 20px;
height: 20px;
margin-left: 8px;
}
}
}
}
.collect {
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
.item {
width: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
.item-img {
width: 16px;
height: 16px;
margin-right: 5px;
}
}
.item1 {
border-right: 1px solid #fff;
}
}
}
.mid-out {
background-color: #FFFFFF;
border-radius: 5px;
width: 90%;
margin: 0 auto;
padding-bottom: 20px;
transform: translateY(-55px);
.nav-list {
display: flex;
flex-wrap: wrap;
.nav-out {
width: 33%;
margin-top: 15px;
.nav-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.imgi {
width: 28px;
height: 28px;
}
}
}
}
}
.list-out {
width: 90%;
margin: 0 auto;
background-color: #FFFFFF;
border-radius: 4px;
}
.list-panel{
}
.list-panel-h{
border-radius: 5px;
transform: translateY(-40px);
.list-panel {
.list-panel-h {
height: 30px;
padding: 10rpx 20rpx;
border-bottom: 1px solid #F4F4F4;
display: flex;
justify-content: space-between;
align-items: center;
}
.list-panel-icon{
.list-panel-icon {
font-family: uniicons;
font-weight: normal;
}
}
}
}
}
.btn {
width: 90%;
height: 32px;
line-height: 32px;
text-align: center;
margin: 0 auto;
background-color: #FFFFFF;
border-radius: 5px;
color: #9F9F9F;
transform: translateY(-25px);
font-size: 14px;
}
</style>
\ No newline at end of file
<!-- 支部风采 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<!-- 问卷调查 -->
<template>
<view class="">
ddd
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<!-- 培训测试 -->
<template>
<view class="">
1111111
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<!-- 机电视窗 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
<!-- 工团快讯 -->
<template>
<view class="">
111111111
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file

577 Bytes | W: | H:

816 Bytes | W: | H:

static/home-active.png
static/home-active.png
static/home-active.png
static/home-active.png
  • 2-up
  • Swipe
  • Onion skin

554 Bytes | W: | H:

628 Bytes | W: | H:

static/home.png
static/home.png
static/home.png
static/home.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -4,13 +4,22 @@ const common_vendor = require("./common/vendor.js");
if (!Math) {
"./pages/login/login.js";
"./pages/home/home.js";
"./pages/home/search/search.js";
"./pages/contact/contact.js";
"./pages/mine/mine.js";
"./pages/mine/development/development.js";
"./pages/mine/consultation/consultation.js";
"./pages/mine/message/message.js";
"./pages/mine/tellPhone/tellPhone.js";
"./pages/mine/about/about.js";
"./pages/eventServices/eventServices.js";
"./pages/cleanHonestStyle/cleanHonestStyle.js";
"./pages/tvWindow/tvWindow.js";
"./pages/partyBranchStyle/partyBranchStyle.js";
"./pages/annualColumn/annualColumn.js";
"./pages/youthLeagueNews/youthLeagueNews.js";
"./pages/learningSection/learningSection.js";
"./pages/trainingTest/trainingTest.js";
"./pages/questionnaire/questionnaire.js";
"./pages/contribute/contribute.js";
"./pages/directPartyAffairs/directPartyAffairs.js";
}
const _sfc_main = {
onLaunch: function() {
......
......@@ -2,13 +2,22 @@
"pages": [
"pages/login/login",
"pages/home/home",
"pages/home/search/search",
"pages/contact/contact",
"pages/mine/mine",
"pages/mine/development/development",
"pages/mine/consultation/consultation",
"pages/mine/message/message",
"pages/mine/tellPhone/tellPhone",
"pages/mine/about/about"
"pages/mine/about/about",
"pages/eventServices/eventServices",
"pages/cleanHonestStyle/cleanHonestStyle",
"pages/tvWindow/tvWindow",
"pages/partyBranchStyle/partyBranchStyle",
"pages/annualColumn/annualColumn",
"pages/youthLeagueNews/youthLeagueNews",
"pages/learningSection/learningSection",
"pages/trainingTest/trainingTest",
"pages/questionnaire/questionnaire",
"pages/contribute/contribute",
"pages/directPartyAffairs/directPartyAffairs"
],
"window": {
"navigationBarTextStyle": "white",
......@@ -18,17 +27,27 @@
"enablePullDownRefresh": true
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#E35B45",
"borderStyle": "black",
"backgroundColor": "#F8F8F8",
"list": [
{
"pagePath": "pages/home/home",
"iconPath": "static/home.png",
"selectedIconPath": "static/home-active.png",
"text": "首页"
},
{
"pagePath": "pages/contact/contact",
"text": "联系"
"iconPath": "static/activity.png",
"selectedIconPath": "static/activity-active.png",
"text": "活动"
},
{
"pagePath": "pages/mine/mine",
"iconPath": "static/mine.png",
"selectedIconPath": "static/mine-active.png",
"text": "我的"
}
]
......
"use strict";
const _imports_0 = "/static/shuijiao.jpg";
const _imports_1 = "/static/mine/jinb-icon.png";
const _imports_2 = "/static/mine/collect-icon.png";
const _imports_3 = "/static/mine/history-icon.png";
exports._imports_0 = _imports_0;
exports._imports_1 = _imports_1;
exports._imports_2 = _imports_2;
exports._imports_3 = _imports_3;
......@@ -1267,8 +1267,8 @@ function populateParameters(fromRes, toRes) {
appVersion: "1.0.0",
appVersionCode: "100",
appLanguage: getAppLanguage(hostLanguage),
uniCompileVersion: "4.28",
uniRuntimeVersion: "4.28",
uniCompileVersion: "4.29",
uniRuntimeVersion: "4.29",
uniPlatform: "mp-weixin",
deviceBrand,
deviceModel: model,
......
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
......
{
"navigationBarTitleText": "在线咨询",
"navigationBarTitleText": "年度专栏",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> 111111111 </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
......
{
"navigationBarTitleText": "发展情况",
"navigationBarTitleText": "廉洁作风",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> 111111111 </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
......
{
"navigationBarTitleText": "服务电话",
"navigationBarTitleText": "我要投稿",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> ddd </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "党务直通",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> 222 </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "活动服务",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> dddd </view>
\ No newline at end of file
......@@ -11,57 +11,68 @@ const _sfc_main = {
navLists: [
{
id: 1,
imgsrc: "../../static/c1.png",
imgsrc: "../../static/home/trainingTest.png",
path: "/pages/eventServices/eventServices",
name: "活动服务"
},
{
id: 2,
imgsrc: "../../static/c2.png",
imgsrc: "../../static/home/trainingTest.png",
path: "/pages/trainingTest/trainingTest",
name: "培训测试"
},
{
id: 3,
imgsrc: "../../static/c3.png",
imgsrc: "../../static/home/questionnaire.png",
path: "/pages/questionnaire/questionnaire",
name: "问卷调查"
},
{
id: 4,
imgsrc: "../../static/c4.png",
imgsrc: "../../static/home/contribute.png",
path: "/pages/contribute/contribute",
name: "我要投稿"
},
{
id: 5,
imgsrc: "../../static/c5.png",
imgsrc: "../../static/home/directPartyAffairs.png",
path: "/pages/directPartyAffairs/directPartyAffairs",
name: "党务直通"
},
{
id: 6,
imgsrc: "../../static/c6.png",
imgsrc: "../../static/home/cleanHonestStyle.png",
path: "/pages/cleanHonestStyle/cleanHonestStyle",
name: "廉洁作风"
},
{
id: 7,
imgsrc: "../../static/c7.png",
imgsrc: "../../static/home/tvWindow.png",
path: "/pages/tvWindow/tvWindow",
name: "机电视窗"
},
{
id: 8,
imgsrc: "../../static/c1.png",
imgsrc: "../../static/home/partyBranchStyle.png",
path: "/pages/partyBranchStyle/partyBranchStyle",
name: "支部风采"
},
{
id: 9,
imgsrc: "../../static/c1.png",
imgsrc: "../../static/home/annualColumn.png",
path: "/pages/annualColumn/annualColumn",
name: "年度专栏"
},
{
id: 10,
imgsrc: "../../static/c1.png",
imgsrc: "../../static/home/youthLeagueNews.png",
path: "/pages/youthLeagueNews/youthLeagueNews",
name: "工团快讯"
},
{
id: 11,
imgsrc: "../../static/c1.png",
imgsrc: "../../static/home/learningSection.png",
path: "/pages/learningSection/learningSection",
name: "学习栏目"
}
],
......@@ -99,6 +110,11 @@ const _sfc_main = {
common_vendor.index.showToast({
title: "搜索"
});
},
toSearch() {
common_vendor.index.navigateTo({
url: "/pages/home/search/search"
});
}
}
};
......@@ -120,18 +136,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
color: "#fff"
}),
b: common_vendor.o((...args) => $options.confirm && $options.confirm(...args)),
c: $data.customTop + "px",
d: $data.customHeight + "px",
e: $data.navHeight + "px",
f: common_vendor.f($data.navLists, (item, index, i0) => {
c: common_vendor.o((...args) => $options.toSearch && $options.toSearch(...args)),
d: $data.customTop + "px",
e: $data.customHeight + "px",
f: $data.navHeight + "px",
g: common_vendor.f($data.navLists, (item, index, i0) => {
return {
a: item.imgsrc,
b: common_vendor.t(item.name),
c: index,
d: item
c: item.path,
d: index,
e: item
};
}),
g: common_vendor.f($data.newsList, (item, index, i0) => {
h: common_vendor.f($data.newsList, (item, index, i0) => {
return {
a: item.imgsrc,
b: common_vendor.t(item.news),
......@@ -141,7 +159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: item
};
}),
h: common_vendor.p({
i: common_vendor.p({
title: "精选资讯",
more: "true",
moreUrl: "/pages/mine/development/development",
......
{
"navigationBarTitleText": "智慧党建",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"uni-section": "../../uni_modules/uni-section/components/uni-section/uni-section"
......
<view class="content"><view class="navbar" style="{{'height:' + e}}"><view class="topInfo" style="{{'margin-top:' + c + ';' + ('height:' + d)}}"><view class="joinCocelal"><text>智慧党建</text></view><view class="searchCoceral"><uni-icons wx:if="{{a}}" class="input-uni-icon" style="margin-right:3px" u-i="6a7ebde3-0" bind:__l="__l" u-p="{{a}}"/><input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词" placeholder-class="title_input" bindconfirm="{{b}}"/></view></view></view><view class="uni-margin-wrap"><swiper class="swiper" circular indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}"><swiper-item><view class="swiper-item uni-bg-red">A</view></swiper-item><swiper-item><view class="swiper-item uni-bg-green">B</view></swiper-item><swiper-item><view class="swiper-item uni-bg-blue">C</view></swiper-item></swiper></view><view class="nav-list"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="nav-out" id="{{item.d}}"><view class="nav-item"><image src="{{item.a}}" mode="" class="imgi"></image><text>{{item.b}}</text></view></view></view><uni-section wx:if="{{h}}" u-s="{{['d']}}" u-i="6a7ebde3-1" bind:__l="__l" u-p="{{h}}"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="news-out" id="{{item.f}}"><view class="news-item"><image src="{{item.a}}" mode="" class="news-img"></image></view><view class="news-time-out"><view class=""><text>{{item.b}}</text></view><view class="news-time"><text class="news-auth">{{item.c}}</text><text>{{item.d}}</text></view></view></view></uni-section></view>
\ No newline at end of file
<view class="content"><view class="navbar" style="{{'height:' + f}}"><view class="topInfo" style="{{'margin-top:' + d + ';' + ('height:' + e)}}"><view class="joinCocelal"><text>智慧党建</text></view><view class="searchCoceral"><uni-icons wx:if="{{a}}" class="input-uni-icon" style="margin-right:3px" u-i="6a7ebde3-0" bind:__l="__l" u-p="{{a}}"/><input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词" placeholder-class="title_input" bindconfirm="{{b}}" bindtap="{{c}}"/></view></view></view><view class="uni-margin-wrap"><swiper class="swiper" circular indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}"><swiper-item><view class="swiper-item uni-bg-red">A</view></swiper-item><swiper-item><view class="swiper-item uni-bg-green">B</view></swiper-item><swiper-item><view class="swiper-item uni-bg-blue">C</view></swiper-item></swiper></view><view class="nav-list"><view wx:for="{{g}}" wx:for-item="item" wx:key="d" class="nav-out" id="{{item.e}}"><navigator url="{{item.c}}" open-type="navigate"><view class="nav-item"><image src="{{item.a}}" mode="" class="imgi"></image><text>{{item.b}}</text></view></navigator></view></view><uni-section wx:if="{{i}}" u-s="{{['d']}}" u-i="6a7ebde3-1" bind:__l="__l" u-p="{{i}}"><view wx:for="{{h}}" wx:for-item="item" wx:key="e" class="news-out" id="{{item.f}}"><view class="news-item"><image src="{{item.a}}" mode="" class="news-img"></image></view><view class="news-time-out"><view class=""><text>{{item.b}}</text></view><view class="news-time"><text class="news-auth">{{item.c}}</text><text>{{item.d}}</text></view></view></view></uni-section></view>
\ No newline at end of file
......@@ -3,6 +3,10 @@
display: flex;
align-items: center;
background-color: #C02B1E;
position: fixed;
top: 0px;
left: 0;
z-index: 10001;
}
.navbar .title_input {
color: #fff;
......@@ -29,6 +33,7 @@
.uni-margin-wrap {
width: 690rpx;
width: 100%;
margin-top: 150rpx;
}
.swiper {
height: 400rpx;
......@@ -58,8 +63,8 @@
align-items: center;
}
.imgi {
width: 32px;
height: 32px;
width: 28px;
height: 28px;
}
.news-out {
width: 98%;
......
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
list1: [
{
name: "党课",
path: "/pages/mine/development/development"
}
],
list: [
{
name: "党课",
path: "/pages/mine/development/development"
},
{
name: "支部风采",
path: "/pages/mine/development/development"
},
{
name: "测试",
path: "/pages/mine/development/development"
},
{
name: "我要投稿",
path: "/pages/mine/development/development"
},
{
name: "我要投稿1",
path: "/pages/mine/development/development"
},
{
name: "我要投稿2",
path: "/pages/mine/development/development"
},
{
name: "我要投稿3",
path: "/pages/mine/development/development"
},
{
name: "我要投稿4",
path: "/pages/mine/development/development"
}
]
};
}
};
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.p({
type: "search",
size: "18",
color: "#ccc"
}),
b: common_vendor.p({
type: "clear",
size: "18",
color: "#ccc"
}),
c: common_vendor.f($data.list1, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: item.path,
c: index
};
}),
d: common_vendor.f($data.list, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: item.path,
c: index
};
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "搜索",
"usingComponents": {
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}
\ No newline at end of file
<view class="out"><view class="mid-out"><view class="mid-top"><view class="mid-input"><uni-icons wx:if="{{a}}" class="input-uni-icon" style="margin-left:15px;margin-right:8px" u-i="1413baca-0" bind:__l="__l" u-p="{{a}}"/><input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索关键词" placeholder-class="title_input"/></view><view class="mid-font"> 取消 </view></view><view class="mid-con"><view class="mid-con-t"><text class="t-font">历史搜索</text><uni-icons wx:if="{{b}}" class="input-uni-icon" style="margin-left:15px;margin-right:8px" u-i="1413baca-1" bind:__l="__l" u-p="{{b}}"/></view><view class="con-items"><view wx:for="{{c}}" wx:for-item="item" wx:key="c"><navigator url="{{item.b}}" class="item">{{item.a}}</navigator></view></view></view><view class="mid-con"><view class="mid-con-t"><text class="t-font">大家都在搜</text></view><view class="con-items"><view wx:for="{{d}}" wx:for-item="item" wx:key="c"><navigator url="{{item.b}}" class="item">{{item.a}}</navigator></view></view></view></view></view>
\ No newline at end of file
.out {
width: 95%;
margin: 0 auto;
}
.out .mid-out .mid-top {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.out .mid-out .mid-top .mid-input {
width: 88%;
display: flex;
align-items: center;
border: 1px solid #ccc;
border-radius: 16px;
}
.out .mid-out .mid-con .mid-con-t {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
margin-bottom: 15px;
}
.out .mid-out .mid-con .mid-con-t .t-font {
font-size: 14px;
font-weight: 600;
}
.out .mid-out .con-items {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.out .mid-out .con-items .item {
min-width: 100rpx;
border: 1px solid #ccc;
padding: 5px 10px;
text-align: center;
margin-bottom: 15px;
}
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "学习栏目",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> 111111111 </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
return {
lists: [{
name: "发展情况",
url: "development"
}, {
name: "在线咨询",
url: "consultation"
}, {
lists: [
{
name: "我要留言",
url: "message"
}, {
name: "服务电话",
url: "tellPhone"
}, {
},
{
name: "关于智慧党建",
url: "about"
}]
}
],
navLists: [
{
id: 1,
imgsrc: "../../static/mine/my-activity.png",
path: "/pages/eventServices/eventServices",
name: "我创建的活动"
},
{
id: 2,
imgsrc: "../../static/mine/my-training.png",
path: "/pages/trainingTest/trainingTest",
name: "我的培训"
},
{
id: 3,
imgsrc: "../../static/mine/my-examination.png",
path: "/pages/questionnaire/questionnaire",
name: "我的考试"
},
{
id: 4,
imgsrc: "../../static/mine/my-comment.png",
path: "/pages/contribute/contribute",
name: "我的评论"
},
{
id: 5,
imgsrc: "../../static/mine/my-submit.png",
path: "/pages/directPartyAffairs/directPartyAffairs",
name: "我的投稿"
},
{
id: 6,
imgsrc: "../../static/mine/my-questionnaire.png",
path: "/pages/cleanHonestStyle/cleanHonestStyle",
name: "我参与的问卷"
}
]
};
},
onLoad() {
......@@ -29,18 +62,37 @@ const _sfc_main = {
common_vendor.index.navigateTo({
url
});
},
goBack() {
common_vendor.index.reLaunch({
url: "/pages/login/login"
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.lists, (item, k0, i0) => {
a: common_assets._imports_0,
b: common_assets._imports_1,
c: common_assets._imports_2,
d: common_assets._imports_3,
e: common_vendor.f($data.navLists, (item, index, i0) => {
return {
a: item.imgsrc,
b: common_vendor.t(item.name),
c: item.path,
d: index,
e: item
};
}),
f: common_vendor.f($data.lists, (item, k0, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.o(($event) => $options.goDetailPage(item.url), item.url),
c: item.url
};
})
}),
g: common_vendor.o((...args) => $options.goBack && $options.goBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
......
<view><view class="top-out"></view><view class="mid-out"></view><view class="list-out"><view wx:for="{{a}}" wx:for-item="item" wx:key="c" class="list-panel"><view class="list-panel-h" bindtap="{{item.b}}"><text class="list-panel-text">{{item.a}}</text><text class="list-panel-icon"></text></view></view></view></view>
\ No newline at end of file
<view><view class="top-out"><view class="top-user"><image src="{{a}}" mode="" class="user-img"></image><view class="user-name"><view class="name-item"><text style="font-size:16px">赵小猫</text><view class=""><image src="{{b}}" mode="" class="jinb"></image></view></view><view class=""><text>手机号:19837927442</text></view></view></view><view class="collect"><view class="item item1"><image src="{{c}}" mode="" class="item-img"></image><text>我的收藏</text></view><view class="item"><image src="{{d}}" mode="" class="item-img"></image><text>浏览历史</text></view></view></view><view class="mid-out"><view class="nav-list"><view wx:for="{{e}}" wx:for-item="item" wx:key="d" class="nav-out" id="{{item.e}}"><navigator url="{{item.c}}" open-type="navigate"><view class="nav-item"><image src="{{item.a}}" mode="" class="imgi"></image><text>{{item.b}}</text></view></navigator></view></view></view><view class="list-out"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="list-panel"><view class="list-panel-h" bindtap="{{item.b}}"><text class="list-panel-text">{{item.a}}</text><text class="list-panel-icon"></text></view></view></view><view class="btn" bindtap="{{g}}"> 退出登录 </view></view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "支部风采",
"usingComponents": {}
}
\ No newline at end of file
<view class=""> 111111111 </view>
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment