2020-12-19
This commit is contained in:
parent
71b2c15d94
commit
09a75696f3
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "HSLink",
|
||||
"appid" : "__UNI__7C9492E",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.7",
|
||||
"versionCode" : 107,
|
||||
"description" : "“家校通”是一种现代信息化管理系统,具有良好的可扩展性,能够适应幼儿园、小学、初中、高中,大学等不同类型的学校,同时,也能够适应不同结构的学校,为了家、校能够及时方便地传递信息",
|
||||
"versionName" : "1.0.9",
|
||||
"versionCode" : 109,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"usingComponents" : true,
|
||||
@ -86,8 +86,7 @@
|
||||
"quickapp" : {},
|
||||
/* 快应用特有相关 */
|
||||
"mp-weixin" : {
|
||||
/* 小程序特有相关 */
|
||||
"appid" : "",
|
||||
"appid" : "wxe81cc6c613901bf9",
|
||||
"setting" : {
|
||||
"urlCheck" : true
|
||||
},
|
||||
|
@ -74,21 +74,7 @@
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "我",//顶部名称
|
||||
"navigationBarBackgroundColor": "#333",//顶部背景色
|
||||
"navigationBarTextStyle": "white" ,//文字颜色,目前只支持white和black这两种颜色(小程序)
|
||||
"app-plus": {
|
||||
"bounce": "none", //关闭窗口回弹效果
|
||||
"titleNView": {
|
||||
"buttons": [ //原生标题栏按钮配置,
|
||||
{
|
||||
"type":"none",
|
||||
"text":"通知 ",
|
||||
"fontSize":"16px",
|
||||
"float":"right",
|
||||
"redDot" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
"navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
|
||||
}
|
||||
}
|
||||
,{
|
||||
@ -305,6 +291,32 @@
|
||||
"navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
|
||||
}
|
||||
}
|
||||
,{
|
||||
"path" : "pages/tabbar/my/mass-hair/select-people",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "群发消息",//顶部名称
|
||||
"navigationBarBackgroundColor": "#333",//顶部背景色
|
||||
"navigationBarTextStyle": "white" ,//文字颜色,目前只支持white和black这两种颜色(小程序)
|
||||
"app-plus": {
|
||||
"bounce": "none", //关闭窗口回弹效果
|
||||
"titleNView": {
|
||||
"buttons": [ //原生标题栏按钮配置,
|
||||
{
|
||||
"type":"none",
|
||||
"text":"下一步 ",
|
||||
"float":"right",
|
||||
"fontSize":"16px"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
,{
|
||||
"path" : "pages/tabbar/my/mass-hair/mass-hair",
|
||||
"style" : {}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
|
@ -99,6 +99,22 @@
|
||||
* 保存
|
||||
*/
|
||||
preservation() {
|
||||
if (this.noticeInfo.title === '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入文章标题'
|
||||
})
|
||||
} else if (this.noticeInfo.label.length !== 4) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '文章标签只能4个字符哦'
|
||||
})
|
||||
} else if (this.noticeInfo.content === '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入文章内容'
|
||||
})
|
||||
} else {
|
||||
request.post('/hs/updateOneContent',{
|
||||
id: this.noticeInfo.id,
|
||||
label: this.noticeInfo.label,
|
||||
@ -123,6 +139,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<noData :custom="true"><view class="title" @tap="update()">暂无数据,点击重新加载</view></noData>
|
||||
</view>
|
||||
<view class="list cu-card article dynamic" v-else-if="noData === false">
|
||||
<view class="cu-item" style="padding:0" v-for="(item,index) in noticeList" :key="index">
|
||||
<view class="cu-item" style="padding:0" v-for="(item,index) in noticeList" :key="index" v-if="item.is_pass === '1'">
|
||||
<view class="cu-list menu solid-bottom" @click="goToDetails(item)">
|
||||
<view class="cu-item arrow" style="min-height: 90rpx;padding-top: 10rpx;">
|
||||
<view class="action">
|
||||
|
@ -37,7 +37,7 @@
|
||||
@tap="collection(noticeInfo.isCollection)"></uni-fav>
|
||||
</view>
|
||||
</view>
|
||||
<view class="no-message" v-if="noMessage === true" @tap="addMessage">
|
||||
<view class="no-message" v-if="isMessage === true && noMessage === true" @tap="addMessage">
|
||||
写留言
|
||||
</view>
|
||||
<view class="leave-message" v-if="noMessage === false">
|
||||
@ -117,10 +117,13 @@
|
||||
messageDialog: false,
|
||||
//留言内容
|
||||
messageContent: '',
|
||||
//是否有留言功能
|
||||
isMessage: true
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.noticeId = option.noticeId;
|
||||
this.isMessage = option.isMessage || true;
|
||||
},
|
||||
onReady() {
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<view class="pages">
|
||||
<view class="cu-chat" id="chart-page" :style="[{'margin-bottom': 50+InputBottom+'px'}]">
|
||||
<view class="cu-item" :class="isMy(item,'self')" v-for="(item,index) in letterList" :key="index">
|
||||
<view class="cu-item" :class="[isMy(item,'self')]" v-for="(item,index) in letterList" :key="index">
|
||||
<view class="cu-avatar radius" v-if="item.send_id !== userInfo.user_id" @tap="goToOther(item)">
|
||||
<avatar :userName="otherInfo.real_name" size="45"></avatar>
|
||||
</view>
|
||||
<view class="main">
|
||||
<view class="content shadow" :class="isMy(item,'bg-green')">
|
||||
<view class="content shadow" :class="[isMy(item,'bg-green')]">
|
||||
<text>{{item.content}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -38,6 +38,7 @@
|
||||
import request from '@/util/request.js';
|
||||
import avatar from "@/pages/components/avatar/avatar.vue";
|
||||
import noData from '@/components/noData/noData.vue';
|
||||
import { sortBy } from '@/static/js/public.js';
|
||||
export default {
|
||||
components: {
|
||||
avatar,
|
||||
@ -119,12 +120,14 @@
|
||||
}
|
||||
});
|
||||
item.unreadNumber = unreadNumber;
|
||||
item.lastTime = item.letterList.length === 0 ? '' : item.letterList[item.letterList.length-1].letter_create_time
|
||||
});
|
||||
this.message.forEach((item,index) => {
|
||||
if (item.userInfo.user_id === uni.getStorageSync("userInfo").user_id) {
|
||||
this.message.splice(index,1);
|
||||
}
|
||||
});
|
||||
this.message = this.message.sort(sortBy("lastTime",false))
|
||||
console.log("私信",res);
|
||||
},err=>{
|
||||
console.log("err",err);
|
||||
|
@ -153,7 +153,7 @@ export default {
|
||||
*/
|
||||
goToDetails(item) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/tabbar/homepage/data-details?noticeId='+item.articleId
|
||||
url: `/pages/tabbar/homepage/data-details?noticeId=${item.articleId}&isMessage=false`
|
||||
})
|
||||
},
|
||||
/**
|
||||
|
22
HSLink-app/pages/tabbar/my/mass-hair/mass-hair.vue
Normal file
22
HSLink-app/pages/tabbar/my/mass-hair/mass-hair.vue
Normal file
@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
242
HSLink-app/pages/tabbar/my/mass-hair/select-people.vue
Normal file
242
HSLink-app/pages/tabbar/my/mass-hair/select-people.vue
Normal file
@ -0,0 +1,242 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<m-search
|
||||
:show="false"
|
||||
placeholder="搜索"
|
||||
button="none"
|
||||
backgroundColor="#efecec"
|
||||
v-model="searchStr"
|
||||
></m-search>
|
||||
<view class="all-select" @tap="allSelect(isAllSelect)">
|
||||
{{isAllSelect ? '全选' : '不选'}}
|
||||
</view>
|
||||
<view class="noData" v-if="noData === true">
|
||||
<noData :custom="true"><view class="title">暂无数据,点击重新加载</view></noData>
|
||||
</view>
|
||||
<view class="list cu-card article dynamic" v-else-if="noData === false">
|
||||
<view class="cu-item one" style="padding:0" v-for="(item,index) in peopleListQuery" :key="index" @tap="checkboxChange(item)">
|
||||
<view class="one-left-two">
|
||||
<view class="checkbox">
|
||||
<icon type="success" size="26" v-if="item.checked"/>
|
||||
<view class="not-selected" v-if="!item.checked"></view>
|
||||
</view>
|
||||
<avatar :userName="item.real_name" size="40"></avatar>
|
||||
<view class="one-right">
|
||||
<view class="name">
|
||||
{{item.real_name}}
|
||||
<text class="name-right">
|
||||
({{item.user_type}})
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import request from '@/util/request.js';
|
||||
import mSearch from '@/components/mehaotian-search/mehaotian-search.vue';
|
||||
import noData from '@/components/noData/noData.vue';
|
||||
import { sortBy } from '@/static/js/public.js';
|
||||
import avatar from "@/pages/components/avatar/avatar.vue";
|
||||
export default {
|
||||
components: {
|
||||
mSearch,
|
||||
noData,
|
||||
avatar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
//无数据
|
||||
noData: false,
|
||||
//搜索关键字
|
||||
searchStr: '',
|
||||
//关注列表
|
||||
followList: [],
|
||||
flag: true,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 模糊查询
|
||||
peopleListQuery(){
|
||||
return this.followList.filter(people => {
|
||||
return people.real_name.indexOf(this.searchStr) != -1;
|
||||
})
|
||||
},
|
||||
//是否全选
|
||||
isAllSelect() {
|
||||
let result = false;
|
||||
this.followList.forEach(item => {
|
||||
if (item.checked === false) {
|
||||
result = true;
|
||||
}
|
||||
})
|
||||
return result;
|
||||
}
|
||||
|
||||
},
|
||||
onNavigationBarButtonTap() {
|
||||
let peopleList = [];
|
||||
this.followList.forEach(item => {
|
||||
if (item.checked === true) {
|
||||
peopleList.push(item.user_id)
|
||||
}
|
||||
})
|
||||
console.log(peopleList)
|
||||
},
|
||||
onPullDownRefresh () {
|
||||
this.getFollowPeopleList();
|
||||
},
|
||||
onShow() {
|
||||
this.getFollowPeopleList();
|
||||
},
|
||||
mounted() {
|
||||
this.getFollowPeopleList();
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 全选
|
||||
*/
|
||||
allSelect(isAllSelect) {
|
||||
if (isAllSelect) {
|
||||
this.followList.forEach(item => {
|
||||
item.checked = true;
|
||||
})
|
||||
} else {
|
||||
this.followList.forEach(item => {
|
||||
item.checked = false;
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 多选框选择
|
||||
* @param {Object} e
|
||||
*/
|
||||
checkboxChange(item) {
|
||||
if (item.checked === true) {
|
||||
this.$set(item,'checked',false);
|
||||
} else {
|
||||
this.$set(item,'checked',true);
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取人员管理列表
|
||||
*/
|
||||
getFollowPeopleList() {
|
||||
request.post("/admin/getPersonnelManagement",{
|
||||
userId: uni.getStorageSync("userInfo").user_id
|
||||
}).then(res => {
|
||||
console.log("人员管理列表",res);
|
||||
uni.startPullDownRefresh();
|
||||
this.followList = res.data;
|
||||
this.noData = this.followList.length === 0 ? true : false;
|
||||
if (this.followList.length > 0) {
|
||||
this.followList.forEach(item => {
|
||||
this.$set(item,"checked",false);
|
||||
})
|
||||
}
|
||||
},err => {
|
||||
console.log("err",err)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.all-select{
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 20px;
|
||||
color: #0081FF;
|
||||
}
|
||||
.not-selected{
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
border: 1rpx solid #0081FF;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.checkbox{
|
||||
padding: 20rpx 20rpx 20rpx 40rpx;
|
||||
}
|
||||
.name-right{
|
||||
font-weight: normal;
|
||||
font-size: 30rpx;
|
||||
color: #999;
|
||||
}
|
||||
.other-info-middle{
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
.other-info{
|
||||
display: flex;
|
||||
color: #9a9a9a;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.one-right{
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.one-left-two{
|
||||
display: flex;
|
||||
flex-flow: nowrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.follow-flag{
|
||||
border-radius: 10rpx;
|
||||
background-color: #afafaf;
|
||||
color: #FFFFFF;
|
||||
font-size: 30rpx;
|
||||
padding: 6rpx 14rpx;
|
||||
}
|
||||
.ed{
|
||||
background-color: #269FDE;
|
||||
color: #FFFFFF;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.one-right .grade{
|
||||
font-size: 34rpx;
|
||||
color: #909090;
|
||||
}
|
||||
.one-right .name{
|
||||
padding-bottom: 12rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.one-right .grade-right{
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
.one-left{
|
||||
font-size: 80rpx;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
color: #1296DB;
|
||||
border: 5rpx solid #1296DB;
|
||||
border-radius: 50%;
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
text-align: center;
|
||||
line-height: 140rpx;
|
||||
margin: 20rpx;
|
||||
}
|
||||
.one{
|
||||
padding-right: 24rpx!important;
|
||||
}
|
||||
.one, .grade{
|
||||
display: flex!important;
|
||||
flex-flow: nowrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.grade .r, .grade .l{
|
||||
font-size: 14rpx;
|
||||
padding: 5rpx;
|
||||
border-radius: 5rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.grade .l{
|
||||
background-color: #9DC75F;
|
||||
}
|
||||
.grade .r{
|
||||
background-color: #2D5315;
|
||||
}
|
||||
</style>
|
@ -118,7 +118,7 @@ export default {
|
||||
*/
|
||||
goToDetails(item) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/tabbar/homepage/data-details?noticeId='+item.id
|
||||
url: `/pages/tabbar/homepage/data-details?noticeId=${item.id}&isMessage=false`
|
||||
})
|
||||
},
|
||||
/**
|
||||
|
@ -76,6 +76,14 @@
|
||||
badge: 0,
|
||||
code: 'myArticle'
|
||||
},
|
||||
{
|
||||
cuIcon: 'notice',
|
||||
color: 'green',
|
||||
name: '通知',
|
||||
admin: 0,
|
||||
badge: 0,
|
||||
code: 'notice'
|
||||
},
|
||||
{
|
||||
cuIcon: 'edit',
|
||||
color: 'red',
|
||||
@ -102,7 +110,7 @@
|
||||
},
|
||||
{
|
||||
cuIcon: 'friendadd',
|
||||
color: 'green',
|
||||
color: 'mauve',
|
||||
name: '注册管理',
|
||||
admin: uni.getStorageSync("userInfo").user_type === "管理员" ? 0 : 1,
|
||||
badge: 0,
|
||||
@ -116,6 +124,14 @@
|
||||
badge: 0,
|
||||
code: 'helpAnswer'
|
||||
},
|
||||
{
|
||||
cuIcon: 'subscription',
|
||||
color: 'black',
|
||||
name: '群发消息',
|
||||
admin: uni.getStorageSync("userInfo").user_type === "管理员" ? 0 : 1,
|
||||
badge: 0,
|
||||
code: 'massHair'
|
||||
},
|
||||
{
|
||||
cuIcon: 'settings',
|
||||
color: 'purple',
|
||||
@ -178,10 +194,12 @@
|
||||
* 获取通知
|
||||
*/
|
||||
getNoticeData() {
|
||||
let _this = this;
|
||||
request.post('/hs/getNoticeData',{
|
||||
authorId: uni.getStorageSync("userInfo").user_id
|
||||
}).then(res => {
|
||||
this.noticeNumber = res.data.messageNoticeList.length + res.data.verifyNoticeList.length;
|
||||
_this.cuIconList[2].badge = this.noticeNumber;
|
||||
if(this.noticeNumber == 0) {
|
||||
//隐藏
|
||||
// #ifdef APP-PLUS
|
||||
@ -216,9 +234,9 @@
|
||||
request.post("/admin/getMyPageNumber",{
|
||||
}).then(res => {
|
||||
console.log("获取文章管理/帮助答复的未操作数字",res);
|
||||
_this.cuIconList[3].badge = res.data.articleManagementNumber;
|
||||
_this.cuIconList[5].badge = res.data.registerManagementNumner;
|
||||
_this.cuIconList[6].badge = res.data.helpAnswerNumber;
|
||||
_this.cuIconList[4].badge = res.data.articleManagementNumber;
|
||||
_this.cuIconList[6].badge = res.data.registerManagementNumner;
|
||||
_this.cuIconList[7].badge = res.data.helpAnswerNumber;
|
||||
},err => {
|
||||
console.log("err",err)
|
||||
})
|
||||
@ -265,7 +283,9 @@
|
||||
"articleManagement": "/pages/tabbar/my/article-management/article-management",
|
||||
"peopleManagement": "/pages/tabbar/my/people-management/people-management",
|
||||
"helpAnswer": "/pages/tabbar/my/help-answer/help-answer",
|
||||
"registerManagement": "/pages/tabbar/my/register-management/register-management"
|
||||
"registerManagement": "/pages/tabbar/my/register-management/register-management",
|
||||
"notice": "/pages/tabbar/my/notice/notice",
|
||||
"massHair": "/pages/tabbar/my/mass-hair/mass-hair"
|
||||
};
|
||||
uni.navigateTo({
|
||||
url: `${FUNCTION_CODE[item.code]}`
|
||||
|
@ -5,12 +5,12 @@
|
||||
<view class="content">
|
||||
<text class="text-grey">{{item.key}}</text>
|
||||
</view>
|
||||
<view class="action" v-if="typeof item.value !== 'object'">
|
||||
<!-- <view class="action" v-if="[typeof item.value !== 'object']">
|
||||
<text class="text-grey text-sm">{{item.value}}</text>
|
||||
</view>
|
||||
<view class="action" v-if="typeof item.value === 'object'">
|
||||
<view class="text-grey text-sm" v-for="(value,key,index) in item.value" :key="index">{{ATTRIBUTE_CODE[key]+":"+value}}</view>
|
||||
</view>
|
||||
<view class="action" v-if="[typeof item.value === 'object']">
|
||||
<view class="text-grey text-sm" v-for="(value,key,index) in item.value" :key="index">{{ATTRIBUTE_CODE[key]+value}}</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -91,6 +91,22 @@
|
||||
"家长": "家长建议",
|
||||
"教师": "校园通知"
|
||||
}
|
||||
if (this.noticeInfo.title === '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入文章标题'
|
||||
})
|
||||
} else if (this.noticeInfo.label.length !== 4) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '文章标签只能4个字符哦'
|
||||
})
|
||||
} else if (this.noticeInfo.content === '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入文章内容'
|
||||
})
|
||||
} else {
|
||||
request.post('/hs/addArticle',{
|
||||
id: this.noticeInfo.id,
|
||||
label: this.noticeInfo.label,
|
||||
@ -117,6 +133,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
0
HSLink-app/unpackage/dist/build/.automator/mp-weixin/.automator.json
vendored
Normal file
0
HSLink-app/unpackage/dist/build/.automator/mp-weixin/.automator.json
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C9492E","name":"HSLink","version":{"name":"1.0.7","code":107},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#333","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"2.8.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#333","color":"#FFFFFF","selectedColor":"#f33e54","list":[{"pagePath":"pages/tabbar/homepage/homepage","iconPath":"static/img/tabbar/home.png","selectedIconPath":"static/img/tabbar/homeactive.png","text":"首页"},{"pagePath":"pages/tabbar/follow/follow","iconPath":"static/img/tabbar/guanzhu.png","selectedIconPath":"static/img/tabbar/guanzhuactive.png","text":"关注"},{"pagePath":"pages/tabbar/release/release","iconPath":"static/img/tabbar/add.png","selectedIconPath":"static/img/tabbar/addactive.png"},{"pagePath":"pages/tabbar/message/message","iconPath":"static/img/tabbar/news.png","selectedIconPath":"static/img/tabbar/newsactive.png","text":"消息"},{"pagePath":"pages/tabbar/my/my","iconPath":"static/img/tabbar/me.png","selectedIconPath":"static/img/tabbar/meactive.png","text":"我"}],"height":"50px"},"launch_path":"__uniappview.html"}}
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C9492E","name":"HSLink","version":{"name":"1.0.9","code":109},"description":"“家校通”是一种现代信息化管理系统,具有良好的可扩展性,能够适应幼儿园、小学、初中、高中,大学等不同类型的学校,同时,也能够适应不同结构的学校,为了家、校能够及时方便地传递信息","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#333","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"2.8.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#333","color":"#FFFFFF","selectedColor":"#f33e54","list":[{"pagePath":"pages/tabbar/homepage/homepage","iconPath":"static/img/tabbar/home.png","selectedIconPath":"static/img/tabbar/homeactive.png","text":"首页"},{"pagePath":"pages/tabbar/follow/follow","iconPath":"static/img/tabbar/guanzhu.png","selectedIconPath":"static/img/tabbar/guanzhuactive.png","text":"关注"},{"pagePath":"pages/tabbar/release/release","iconPath":"static/img/tabbar/add.png","selectedIconPath":"static/img/tabbar/addactive.png"},{"pagePath":"pages/tabbar/message/message","iconPath":"static/img/tabbar/news.png","selectedIconPath":"static/img/tabbar/newsactive.png","text":"消息"},{"pagePath":"pages/tabbar/my/my","iconPath":"static/img/tabbar/me.png","selectedIconPath":"static/img/tabbar/meactive.png","text":"我"}],"height":"50px"},"launch_path":"__uniappview.html"}}
|
4
HSLink-app/unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
78
HSLink-app/unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
78
HSLink-app/unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/login/login",
|
||||
"pages/tabbar/homepage/homepage",
|
||||
"pages/tabbar/homepage/data-details",
|
||||
"pages/tabbar/follow/follow",
|
||||
"pages/tabbar/release/release",
|
||||
"pages/tabbar/message/message",
|
||||
"pages/tabbar/my/my",
|
||||
"pages/tabbar/my/my-article/my-article",
|
||||
"pages/notice-edit/notice-edit",
|
||||
"pages/tabbar/message/chat-page",
|
||||
"pages/person-info-page/person-info-page",
|
||||
"pages/tabbar/follow/follow-list",
|
||||
"pages/tabbar/follow/fans-list",
|
||||
"pages/tabbar/my/settings/settings",
|
||||
"pages/tabbar/my/settings/account-security/account-security",
|
||||
"pages/tabbar/my/settings/agreement/agreement",
|
||||
"pages/tabbar/my/settings/system-information/system-information",
|
||||
"pages/tabbar/my/help/help",
|
||||
"pages/tabbar/my/edit-info/edit-info",
|
||||
"pages/components/avatar/avatar",
|
||||
"pages/tabbar/my/collection/collection",
|
||||
"pages/tabbar/my/article-management/article-management",
|
||||
"pages/tabbar/my/people-management/people-management",
|
||||
"pages/tabbar/my/help-answer/help-answer",
|
||||
"pages/login/register",
|
||||
"pages/tabbar/my/register-management/register-management",
|
||||
"pages/tabbar/my/notice/notice"
|
||||
],
|
||||
"subPackages": [],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#333",
|
||||
"color": "#FFFFFF",
|
||||
"selectedColor": "#f33e54",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/tabbar/homepage/homepage",
|
||||
"iconPath": "static/img/tabbar/home.png",
|
||||
"selectedIconPath": "static/img/tabbar/homeactive.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/tabbar/follow/follow",
|
||||
"iconPath": "static/img/tabbar/guanzhu.png",
|
||||
"selectedIconPath": "static/img/tabbar/guanzhuactive.png",
|
||||
"text": "关注"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/tabbar/release/release",
|
||||
"iconPath": "static/img/tabbar/add.png",
|
||||
"selectedIconPath": "static/img/tabbar/addactive.png",
|
||||
"text": "发布"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/tabbar/message/message",
|
||||
"iconPath": "static/img/tabbar/news.png",
|
||||
"selectedIconPath": "static/img/tabbar/newsactive.png",
|
||||
"text": "消息"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/tabbar/my/my",
|
||||
"iconPath": "static/img/tabbar/me.png",
|
||||
"selectedIconPath": "static/img/tabbar/meactive.png",
|
||||
"text": "我"
|
||||
}
|
||||
]
|
||||
},
|
||||
"usingComponents": {},
|
||||
"sitemapLocation": "sitemap.json"
|
||||
}
|
3
HSLink-app/unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
3
HSLink-app/unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/common/main.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/common/main.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"151f":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("1da1"));function o(e){return e&&e.__esModule?e:{default:e}}var u={data:function(){return{unreadNumber:""}},onLaunch:function(){console.log("App Launch"),this.getTabBarNumber()},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},methods:{getTabBarNumber:function(){r.default.post("/hs/getTabBarNumber",{userId:e.getStorageSync("userInfo").user_id}).then((function(t){console.log("获取tabBar数字",t),t.data.unreadNumber>0?e.setTabBarBadge({index:3,text:t.data.unreadNumber.toString()}):e.removeTabBarBadge({index:3})}),(function(e){console.log("err",e)}))}}};t.default=u}).call(this,n("543d")["default"])},"1f3d":function(e,t,n){"use strict";n.r(t);var r=n("83bc");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("2a5d");var u,a,c,f,i=n("f0c5"),l=Object(i["a"])(r["default"],u,a,!1,null,null,null,!1,c,f);t["default"]=l.exports},"2a5d":function(e,t,n){"use strict";var r=n("3f5f"),o=n.n(r);o.a},"3f5f":function(e,t,n){},"6b70":function(e,t,n){"use strict";(function(e){n("481f");var t=u(n("66fd")),r=u(n("1f3d"));n("592c"),n("7960"),n("deef");var o=u(n("5333"));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default.config.productionTip=!1,t.default.prototype.$store=o.default,r.default.mpType="app";var i=new t.default(c({store:o.default},r.default));e(i).$mount()}).call(this,n("543d")["createApp"])},"83bc":function(e,t,n){"use strict";n.r(t);var r=n("151f"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a}},[["6b70","common/runtime","common/vendor"]]]);
|
230
HSLink-app/unpackage/dist/build/mp-weixin/common/main.wxss
vendored
Normal file
230
HSLink-app/unpackage/dist/build/mp-weixin/common/main.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
4
HSLink-app/unpackage/dist/build/mp-weixin/common/runtime.js
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/common/runtime.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
|
||||
(function(e){function n(n){for(var o,r,c=n[0],u=n[1],s=n[2],l=0,p=[];l<c.length;l++)r=c[l],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&p.push(a[r][0]),a[r]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);m&&m(n);while(p.length)p.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],o=!0,r=1;r<t.length;r++){var c=t[r];0!==a[c]&&(o=!1)}o&&(i.splice(n--,1),e=u(u.s=t[0]))}return e}var o={},r={"common/runtime":0},a={"common/runtime":0},i=[];function c(e){return u.p+""+e+".js"}function u(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"components/noData/noData":1,"components/mehaotian-search/mehaotian-search":1,"components/uni-fav/uni-fav":1,"components/uni-collapse-item/uni-collapse-item":1,"components/uni-collapse/uni-collapse":1,"components/uni-icons/uni-icons":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var o=({"components/noData/noData":"components/noData/noData","components/mehaotian-search/mehaotian-search":"components/mehaotian-search/mehaotian-search","components/uni-fav/uni-fav":"components/uni-fav/uni-fav","components/uni-collapse-item/uni-collapse-item":"components/uni-collapse-item/uni-collapse-item","components/uni-collapse/uni-collapse":"components/uni-collapse/uni-collapse","components/uni-icons/uni-icons":"components/uni-icons/uni-icons"}[e]||e)+".wxss",a=u.p+o,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=i[c],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===o||l===a))return n()}var p=document.getElementsByTagName("style");for(c=0;c<p.length;c++){s=p[c],l=s.getAttribute("data-href");if(l===o||l===a)return n()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=n,m.onerror=function(n){var o=n&&n.target&&n.target.src||a,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],m.parentNode.removeChild(m),t(i)},m.href=a;var f=document.getElementsByTagName("head")[0];f.appendChild(m)})).then((function(){r[e]=0})));var o=a[e];if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(n,t){o=a[e]=[n,t]}));n.push(o[2]=i);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=c(e);var p=new Error;s=function(n){l.onerror=l.onload=null,clearTimeout(m);var t=a[e];if(0!==t){if(t){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;p.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",p.name="ChunkLoadError",p.type=o,p.request=r,t[1](p)}a[e]=void 0}};var m=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(n)},u.m=e,u.c=o,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)u.d(t,o,function(n){return e[n]}.bind(null,o));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var s=global["webpackJsonp"]=global["webpackJsonp"]||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var p=0;p<s.length;p++)n(s[p]);var m=l;t()})([]);
|
||||
|
37
HSLink-app/unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
37
HSLink-app/unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mehaotian-search/mehaotian-search"],{"358d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{value:{type:String},mode:{type:Number,default:1},button:{type:String,default:"outside"},show:{type:Boolean,default:!0},radius:{type:String,default:"60"},placeholder:{type:String,default:"请输入搜索内容"},backgroundColor:{type:String,default:"#fff"},border:{type:String,default:"1px #f5f5f5 solid"}},data:function(){return{active:!1,inputVal:this.value,searchName:"取消",isDelShow:!1,isFocus:!1}},methods:{focus:function(){this.active=!0},blur:function(){this.isFocus=!1,this.inputVal||(this.active=!1)},clear:function(){this.inputVal="",this.active=!1,this.$emit("search","")},getFocus:function(){this.isFocus=!0},search:function(){this.inputVal&&(console.log(this.inputVal),this.$emit("search",this.inputVal))}},watch:{value:function(t){this.inputVal=t},inputVal:function(t){this.$emit("input",t),t?(this.searchName="搜索",this.isDelShow=!0):(this.searchName="取消",this.isDelShow=!1)}}};e.default=n},3807:function(t,e,i){"use strict";var n=i("7b88"),a=i.n(n);a.a},7332:function(t,e,i){"use strict";i.r(e);var n=i("358d"),a=i.n(n);for(var u in n)"default"!==u&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=a.a},"7b88":function(t,e,i){},"7cee":function(t,e,i){"use strict";i.r(e);var n=i("aada"),a=i("7332");for(var u in a)"default"!==u&&function(t){i.d(e,t,(function(){return a[t]}))}(u);i("3807");var s,o=i("f0c5"),c=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"5e524b80",null,!1,n["a"],s);e["default"]=c.exports},aada:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},u=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/mehaotian-search/mehaotian-search-create-component',
|
||||
{
|
||||
'components/mehaotian-search/mehaotian-search-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("7cee"))
|
||||
})
|
||||
},
|
||||
[['components/mehaotian-search/mehaotian-search-create-component']]
|
||||
]);
|
4
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.json
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="search data-v-5e524b80"><view class="content data-v-5e524b80" style="{{'border-radius:'+(radius+'px')+';'+('border:'+(border)+';')+('background-color:'+(backgroundColor)+';')}}"><view class="{{['content-box data-v-5e524b80',(mode===2)?'center':'']}}"><text class="icon icon-search data-v-5e524b80"></text><input class="{{['input data-v-5e524b80',(!active&&mode===2)?'center':'']}}" focus="{{isFocus}}" placeholder="{{placeholder}}" data-event-opts="{{[['focus',[['focus',['$event']]]],['blur',[['blur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><block wx:if="{{isDelShow}}"><text data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="icon icon-del data-v-5e524b80" bindtap="__e"></text></block></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" hidden="{{!(active&&show&&button==='inside'||isDelShow&&button==='inside')}}" class="searchBtn data-v-5e524b80" bindtap="__e">搜索</view></view><block wx:if="{{button==='outside'}}"><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="{{['button data-v-5e524b80',(show||active)?'active':'']}}" bindtap="__e"><view class="button-item data-v-5e524b80">{{!show?searchName:'搜索'}}</view></view></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/mehaotian-search/mehaotian-search.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.search.data-v-5e524b80{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;border-bottom:1px #f5f5f5 solid;box-sizing:border-box;padding:15rpx;font-size:28rpx;background:#fff}.search .content.data-v-5e524b80{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;height:60rpx;border:1px #ccc solid;background:#fff;overflow:hidden;-webkit-transition:all .2s linear;transition:all .2s linear;border-radius:30px;padding-top:0;padding-bottom:0}.search .content .content-box.data-v-5e524b80{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.search .content .content-box.center.data-v-5e524b80{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.search .content .content-box .icon.data-v-5e524b80{padding:0 15rpx}.search .content .content-box .icon.icon-del.data-v-5e524b80{font-size:38rpx}.search .content .content-box .input.data-v-5e524b80{width:100%;max-width:100%;line-height:60rpx;height:60rpx;-webkit-transition:all .2s linear;transition:all .2s linear}.search .content .content-box .input.center.data-v-5e524b80{width:200rpx}.search .content .content-box .input.sub.data-v-5e524b80{width:auto;color:grey}.search .content .searchBtn.data-v-5e524b80{height:100%;-webkit-flex-shrink:0;flex-shrink:0;padding:0 30rpx;background:#4cd964;line-height:60rpx;color:#fff;border-left:1px #ccc solid;-webkit-transition:all .3s;transition:all .3s}.search .button.data-v-5e524b80{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;-webkit-flex-shrink:0;flex-shrink:0;width:0;-webkit-transition:all .2s linear;transition:all .2s linear;white-space:nowrap;overflow:hidden}.search .button.active.data-v-5e524b80{padding-left:15rpx;width:100rpx}@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_989023_efq0mtli526.ttf) format("truetype")}.icon.data-v-5e524b80{font-family:iconfont;font-size:32rpx;font-style:normal;color:#999}
|
10
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/noData/noData"],{"3fab":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]},7456:function(t,e,n){"use strict";n.r(e);var r=n("91a6"),o=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=o.a},"91a6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2f62"),o=a(n("2e65"));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i={props:{isShow:{type:Boolean,default:!1},bgColor:{type:String,default:"#ffffff"},mainColor:{type:String,default:"#373a40"},viceColor:{type:String,default:"#8b8b8b"},custom:{type:!1,default:!1}},computed:f({},(0,r.mapGetters)(["netWorkStatus"])),data:function(){return{type:"",netType:this.networkType,mainText:"网络居然崩溃了",viceText:"别紧张,去检测一下网络设置",netWorkImg:"/static/images/noNetWork.png",noDataImg:"/static/images/notFound.png"}},methods:{setting:function(t){t?this.$emit("handle",t):o.default.open(o.default.SETTINGS)}}};e.default=i},b2f8:function(t,e,n){},c48a:function(t,e,n){"use strict";n.r(e);var r=n("3fab"),o=n("7456");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("f581");var u,f=n("f0c5"),c=Object(f["a"])(o["default"],r["b"],r["c"],!1,null,"123e1b1e",null,!1,r["a"],u);e["default"]=c.exports},f581:function(t,e,n){"use strict";var r=n("b2f8"),o=n.n(r);o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/noData/noData-create-component',
|
||||
{
|
||||
'components/noData/noData-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("c48a"))
|
||||
})
|
||||
},
|
||||
[['components/noData/noData-create-component']]
|
||||
]);
|
4
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.json
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="noData hideToShow data-v-123e1b1e" style="{{'background-color:'+(bgColor)+';'}}"><view class="image data-v-123e1b1e"><image src="/static/img/noData.png" class="data-v-123e1b1e"></image></view><block wx:if="{{netType=='none'&&custom==false}}"><view class="content data-v-123e1b1e"><text class="title data-v-123e1b1e" style="{{'color:'+(mainColor)+';'}}">{{mainText}}</text><text class="desc data-v-123e1b1e" style="{{'color:'+(viceColor)+';'}}">{{viceText}}</text><button class="btn data-v-123e1b1e" type="default" data-event-opts="{{[['tap',[['setting',[true]]]]]}}" bindtap="__e">刷新试试</button></view></block><slot></slot></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/noData/noData.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.noData.data-v-123e1b1e{padding:100rpx;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.noData .image.data-v-123e1b1e{width:187rpx;height:120rpx}.noData .image image.data-v-123e1b1e{width:100%;height:100%}.noData .title.data-v-123e1b1e{color:#bfbfbf!important}.noData .content.data-v-123e1b1e{color:#bfbfbf!important;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;letter-spacing:1rpx}.noData .content .title.data-v-123e1b1e{font-size:36rpx}.noData .content .desc.data-v-123e1b1e{font-size:28rpx;margin-top:6rpx}.noData .content .btn.data-v-123e1b1e{width:160rpx;height:65rpx;color:#868d91;font-size:24rpx;margin-top:34rpx;border-radius:36rpx;border:1rpx solid #d4d4d4}.noData .content .btn.data-v-123e1b1e::after{border:none}
|
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse-item/uni-collapse-item.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse-item/uni-collapse-item.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-collapse-item/uni-collapse-item"],{2607:function(n,e,t){},3830:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(){Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(function(){return resolve(t("7f43"))}.bind(null,t)).catch(t.oe)},o={name:"UniCollapseItem",components:{uniIcons:i},props:{title:{type:String,default:""},name:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},showAnimation:{type:Boolean,default:!1},open:{type:Boolean,default:!1},thumb:{type:String,default:""}},data:function(){return{isOpen:!1}},watch:{open:function(n){this.isOpen=n}},inject:["collapse"],created:function(){if(this.isOpen=this.open,this.nameSync=this.name?this.name:this.collapse.childrens.length,this.collapse.childrens.push(this),"true"===String(this.collapse.accordion)&&this.isOpen){var n=this.collapse.childrens[this.collapse.childrens.length-2];n&&(this.collapse.childrens[this.collapse.childrens.length-2].isOpen=!1)}},methods:{onClick:function(){var n=this;this.disabled||("true"===String(this.collapse.accordion)&&this.collapse.childrens.forEach((function(e){e!==n&&(e.isOpen=!1)})),this.isOpen=!this.isOpen,this.collapse.onChange&&this.collapse.onChange(),this.$forceUpdate())}}};e.default=o},"6fa2":function(n,e,t){"use strict";var i=t("2607"),o=t.n(i);o.a},"98fa":function(n,e,t){"use strict";t.r(e);var i=t("3830"),o=t.n(i);for(var s in i)"default"!==s&&function(n){t.d(e,n,(function(){return i[n]}))}(s);e["default"]=o.a},a51f:function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return s})),t.d(e,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(t.bind(null,"7f43"))}},o=function(){var n=this,e=n.$createElement;n._self._c},s=[]},fc2c:function(n,e,t){"use strict";t.r(e);var i=t("a51f"),o=t("98fa");for(var s in o)"default"!==s&&function(n){t.d(e,n,(function(){return o[n]}))}(s);t("6fa2");var c,l=t("f0c5"),a=Object(l["a"])(o["default"],i["b"],i["c"],!1,null,"31b0535f",null,!1,i["a"],c);e["default"]=a.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/uni-collapse-item/uni-collapse-item-create-component',
|
||||
{
|
||||
'components/uni-collapse-item/uni-collapse-item-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("fc2c"))
|
||||
})
|
||||
},
|
||||
[['components/uni-collapse-item/uni-collapse-item-create-component']]
|
||||
]);
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
<view class="{{['uni-collapse-cell data-v-31b0535f',(disabled)?'uni-collapse-cell--disabled':'',(!disabled)?'uni-collapse-cell--notdisabled':'',(isOpen)?'uni-collapse-cell--open':'',(!isOpen)?'uni-collapse-cell--hide':'']}}"><view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="uni-collapse-cell__title data-v-31b0535f" bindtap="__e"><block wx:if="{{thumb}}"><image class="uni-collapse-cell__title-img data-v-31b0535f" src="{{thumb}}"></image></block><text class="uni-collapse-cell__title-text data-v-31b0535f">{{title}}</text><uni-icons class="{{['uni-collapse-cell__title-arrow data-v-31b0535f',(isOpen)?'uni-collapse-cell__title-arrow-active':'',(showAnimation===true)?'uni-collapse-cell--animation':'']}}" vue-id="532eca54-1" color="#bbb" size="20" type="arrowdown" bind:__l="__l"></uni-icons></view><view class="{{['uni-collapse-cell__content data-v-31b0535f',(!isOpen)?'uni-collapse-cell__content--hide':'']}}"><view class="{{['uni-collapse-cell__wrapper data-v-31b0535f',(showAnimation===true)?'uni-collapse-cell--animation':'']}}" style="{{'transform:'+(isOpen?'translateY(0)':'translateY(-50%)')+';'+('-webkit-transform:'+(isOpen?'translateY(0)':'translateY(-50%)')+';')}}"><slot></slot></view></view></view>
|
@ -0,0 +1 @@
|
||||
.uni-collapse-cell.data-v-31b0535f{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;border-color:#c8c7cc;border-bottom-width:1px;border-bottom-style:solid}.uni-collapse-cell--hover.data-v-31b0535f{background-color:#f1f1f1}.uni-collapse-cell--open.data-v-31b0535f{background-color:#f1f1f1}.uni-collapse-cell--disabled.data-v-31b0535f{background-color:#f1f1f1}.uni-collapse-cell--hide.data-v-31b0535f{height:48px}.uni-collapse-cell--animation.data-v-31b0535f{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.uni-collapse-cell__title.data-v-31b0535f{padding:12px 12px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;width:100%;box-sizing:border-box;height:48px;line-height:24px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.uni-collapse-cell__title.data-v-31b0535f:active{background-color:#f1f1f1}.uni-collapse-cell__title-img.data-v-31b0535f{height:52rpx;width:52rpx;margin-right:10px}.uni-collapse-cell__title-arrow.data-v-31b0535f{width:20px;height:20px;-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:center center;transform-origin:center center}.uni-collapse-cell__title-arrow-active.data-v-31b0535f{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.uni-collapse-cell__title-text.data-v-31b0535f{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:28rpx;white-space:nowrap;color:inherit;overflow:hidden;text-overflow:ellipsis}.uni-collapse-cell__content.data-v-31b0535f{overflow:hidden}.uni-collapse-cell__wrapper.data-v-31b0535f{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.uni-collapse-cell__content--hide.data-v-31b0535f{height:0;line-height:0}
|
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-collapse/uni-collapse"],{"1cbb":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"UniCollapse",props:{accordion:{type:[Boolean,String],default:!1}},data:function(){return{}},provide:function(){return{collapse:this}},created:function(){this.childrens=[]},methods:{onChange:function(){var n=[];this.childrens.forEach((function(t,e){t.isOpen&&n.push(t.nameSync)})),this.$emit("change",n)}}};t.default=a},"2b7f":function(n,t,e){"use strict";e.r(t);var a=e("6726"),c=e("f909");for(var u in c)"default"!==u&&function(n){e.d(t,n,(function(){return c[n]}))}(u);e("f8ca");var r,o=e("f0c5"),i=Object(o["a"])(c["default"],a["b"],a["c"],!1,null,"238857a0",null,!1,a["a"],r);t["default"]=i.exports},6726:function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return a}));var c=function(){var n=this,t=n.$createElement;n._self._c},u=[]},a7d0:function(n,t,e){},f8ca:function(n,t,e){"use strict";var a=e("a7d0"),c=e.n(a);c.a},f909:function(n,t,e){"use strict";e.r(t);var a=e("1cbb"),c=e.n(a);for(var u in a)"default"!==u&&function(n){e.d(t,n,(function(){return a[n]}))}(u);t["default"]=c.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/uni-collapse/uni-collapse-create-component',
|
||||
{
|
||||
'components/uni-collapse/uni-collapse-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("2b7f"))
|
||||
})
|
||||
},
|
||||
[['components/uni-collapse/uni-collapse-create-component']]
|
||||
]);
|
4
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.json
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="uni-collapse data-v-238857a0"><slot></slot></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-collapse/uni-collapse.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.uni-collapse.data-v-238857a0{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff}
|
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-fav/uni-fav"],{"0e4b":function(n,e,t){},"2db4":function(n,e,t){"use strict";var o=t("0e4b"),c=t.n(o);c.a},"5bab":function(n,e,t){"use strict";t.r(e);var o=t("c836"),c=t("d316");for(var u in c)"default"!==u&&function(n){t.d(e,n,(function(){return c[n]}))}(u);t("2db4");var r,i=t("f0c5"),a=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,"717096ce",null,!1,o["a"],r);e["default"]=a.exports},a529:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(function(){return resolve(t("7f43"))}.bind(null,t)).catch(t.oe)},c={name:"UniFav",components:{uniIcons:o},props:{star:{type:[Boolean,String],default:!0},bgColor:{type:String,default:"#eeeeee"},fgColor:{type:String,default:"#666666"},bgColorChecked:{type:String,default:"#007aff"},fgColorChecked:{type:String,default:"#FFFFFF"},circle:{type:[Boolean,String],default:!1},checked:{type:Boolean,default:!1},contentText:{type:Object,default:function(){return{contentDefault:"收藏",contentFav:"已收藏"}}}},watch:{checked:function(){n.report&&(this.checked?n.report("收藏","收藏"):n.report("取消收藏","取消收藏"))}},methods:{onClick:function(){this.$emit("click")}}};e.default=c}).call(this,t("543d")["default"])},c836:function(n,e,t){"use strict";t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(t.bind(null,"7f43"))}},c=function(){var n=this,e=n.$createElement;n._self._c},u=[]},d316:function(n,e,t){"use strict";t.r(e);var o=t("a529"),c=t.n(o);for(var u in o)"default"!==u&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=c.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/uni-fav/uni-fav-create-component',
|
||||
{
|
||||
'components/uni-fav/uni-fav-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("5bab"))
|
||||
})
|
||||
},
|
||||
[['components/uni-fav/uni-fav-create-component']]
|
||||
]);
|
6
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.json
vendored
Normal file
6
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="{{['uni-fav data-v-717096ce',circle===true||circle==='true'?'uni-fav--circle':'']}}" style="{{'background-color:'+(checked?bgColorChecked:bgColor)+';'}}" bindtap="__e"><block wx:if="{{!checked&&(star===true||star==='true')}}"><uni-icons class="uni-fav-star data-v-717096ce" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}" vue-id="040bd878-1" color="{{fgColor}}" size="14" type="star-filled" bind:__l="__l"></uni-icons></block><text class="uni-fav-text data-v-717096ce" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}">{{checked?contentText.contentFav:contentText.contentDefault}}</text></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-fav/uni-fav.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.uni-fav.data-v-717096ce{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:60px;height:25px;line-height:25px;text-align:center;border-radius:3px}.uni-fav--circle.data-v-717096ce{border-radius:30px}.uni-fav-star.data-v-717096ce{display:-webkit-box;display:-webkit-flex;display:flex;height:25px;line-height:24px;margin-right:3px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-fav-text.data-v-717096ce{display:-webkit-box;display:-webkit-flex;display:flex;height:25px;line-height:25px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:28rpx}
|
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.js
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-icons/uni-icons"],{"22cd":function(n,t,e){"use strict";e.r(t);var u=e("bb92"),r=e.n(u);for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);t["default"]=r.a},"2ed3":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement;n._self._c},c=[]},"639e":function(n,t,e){},"7f43":function(n,t,e){"use strict";e.r(t);var u=e("2ed3"),r=e("22cd");for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);e("b213");var i,o=e("f0c5"),a=Object(o["a"])(r["default"],u["b"],u["c"],!1,null,"69e26e9c",null,!1,u["a"],i);t["default"]=a.exports},b213:function(n,t,e){"use strict";var u=e("639e"),r=e.n(u);r.a},bb92:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(e("9a49"));function r(n){return n&&n.__esModule?n:{default:n}}var c={name:"UniIcons",props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16}},data:function(){return{icons:u.default}},methods:{_onClick:function(){this.$emit("click")}}};t.default=c}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/uni-icons/uni-icons-create-component',
|
||||
{
|
||||
'components/uni-icons/uni-icons-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("7f43"))
|
||||
})
|
||||
},
|
||||
[['components/uni-icons/uni-icons-create-component']]
|
||||
]);
|
4
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.json
vendored
Normal file
4
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<text data-event-opts="{{[['tap',[['_onClick',['$event']]]]]}}" class="uni-icons data-v-69e26e9c" style="{{'color:'+(color)+';'+('font-size:'+(size+'px')+';')}}" bindtap="__e">{{icons[type]}}</text>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/components/uni-icons/uni-icons.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/avatar/avatar"],{"0412":function(t,e,n){"use strict";var r=n("3e47"),u=n.n(r);u.a},"0c0f":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r}));var u=function(){var t=this,e=t.$createElement,n=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:n}})},a=[]},"21b3":function(t,e,n){"use strict";n.r(e);var r=n("0c0f"),u=n("9d02");for(var a in u)"default"!==a&&function(t){n.d(e,t,(function(){return u[t]}))}(a);n("0412");var c,i=n("f0c5"),o=Object(i["a"])(u["default"],r["b"],r["c"],!1,null,"79e5d186",null,!1,r["a"],c);e["default"]=o.exports},"3e47":function(t,e,n){},"9d02":function(t,e,n){"use strict";n.r(e);var r=n("d9f9"),u=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=u.a},d9f9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};e.default=r},ec52:function(t,e,n){"use strict";(function(t){n("481f");r(n("66fd"));var e=r(n("21b3"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["ec52","common/runtime","common/vendor"]]]);
|
3
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.json
vendored
Normal file
3
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-79e5d186"><view class="header-photo data-v-79e5d186" style="{{(photoStyle)}}">{{''+$root.g0+''}}</view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/components/avatar/avatar.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{3082:function(e,t,o){"use strict";var n;o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return s})),o.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement;e._self._c},s=[]},"3ab9":function(e,t,o){"use strict";(function(e){o("481f");n(o("66fd"));var t=n(o("5c7f"));function n(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,o("543d")["createPage"])},"44e0":function(e,t,o){"use strict";o.r(t);var n=o("8cf7"),a=o.n(n);for(var s in n)"default"!==s&&function(e){o.d(t,e,(function(){return n[e]}))}(s);t["default"]=a.a},"5c7f":function(e,t,o){"use strict";o.r(t);var n=o("3082"),a=o("44e0");for(var s in a)"default"!==s&&function(e){o.d(t,e,(function(){return a[e]}))}(s);o("c471");var r,i=o("f0c5"),u=Object(i["a"])(a["default"],n["b"],n["c"],!1,null,"f12f93a6",null,!1,n["a"],r);t["default"]=u.exports},6522:function(e,t,o){},"8cf7":function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(o("1da1"));function a(e){return e&&e.__esModule?e:{default:e}}var s={data:function(){return{roleList:[],roleIndex:-1,role:"",username:"",password:""}},onLoad:function(){console.log(e.getStorageSync("userInfo")),null!==e.getStorageSync("userInfo").data&&""!==e.getStorageSync("userInfo")&&e.switchTab({url:"/pages/tabbar/homepage/homepage"}),this.role=e.getStorageSync("loginInfo").user_type,this.username=e.getStorageSync("loginInfo").real_name,this.password=e.getStorageSync("loginInfo").pass_word},onShow:function(){this.getUserType()},methods:{register:function(){e.navigateTo({url:"/pages/login/register"})},forgetPassword:function(){e.showToast({icon:"none",title:"请联系管理员重置密码"})},getUserType:function(){var e=this;n.default.post("/hs/getDictionariesData",{code:"UserType"}).then((function(t){console.log("用户类型",t),e.roleList=[],t.data.forEach((function(t){e.roleList.push(t.dd_detail)}))}),(function(e){console.log("err",e)}))},doLogin:function(){var t=this;""===this.role||void 0===this.role?e.showToast({icon:"none",title:"请选择角色"}):""===this.username||void 0===this.username?e.showToast({icon:"none",title:"请输入账号"}):""===this.password||void 0===this.password?e.showToast({icon:"none",title:"请输入密码"}):n.default.post("/hs/login",{role:this.role,username:this.username,password:this.password}).then((function(o){console.log("登录信息",o),null===o.data?e.showToast({icon:"none",title:"账号或密码错误"}):"1"===o.data.frozen_state?e.showToast({icon:"none",title:"该账号已冻结"}):o.data.user_type!==t.role?e.showToast({icon:"none",title:"角色不匹配"}):"0"===o.data.take_effect?e.showToast({icon:"none",title:"该账号注册流程正在审核"}):(e.setStorageSync("userInfo",o.data),e.setStorageSync("loginInfo",o.data),e.switchTab({url:"/pages/tabbar/homepage/homepage"}))}),(function(e){}))},rolePickerChange:function(e){this.roleIndex=e.detail.value,-1===this.roleIndex&&(this.roleIndex=0),this.role=this.roleList[this.roleIndex]}}};t.default=s}).call(this,o("543d")["default"])},c471:function(e,t,o){"use strict";var n=o("6522"),a=o.n(n);a.a}},[["3ab9","common/runtime","common/vendor"]]]);
|
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="login data-v-f12f93a6"><view class="login-main data-v-f12f93a6"><view class="login-logo data-v-f12f93a6"><image src="/static/img/logo.png" mode class="data-v-f12f93a6"></image></view><view class="login-list flex border-all data-v-f12f93a6"><view class="iconfont icon-shoujihao flex data-v-f12f93a6"></view><picker value="{{roleIndex}}" range="{{roleList}}" data-event-opts="{{[['change',[['rolePickerChange',['$event']]]]]}}" bindchange="__e" class="data-v-f12f93a6"><view class="picker data-v-f12f93a6">{{''+(roleIndex>-1?roleList[roleIndex]:this.role===''||this.role===undefined?'请选择角色':this.role)+''}}</view></picker></view><view class="login-list flex border-all data-v-f12f93a6"><view class="iconfont icon-shoujihao flex data-v-f12f93a6"></view><view class="login-input data-v-f12f93a6"><input class="is-input1 data-v-f12f93a6" placeholder="请输入账号" data-event-opts="{{[['input',[['__set_model',['','username','$event',[]]]]]]}}" value="{{username}}" bindinput="__e"/></view></view><view class="login-list flex border-all data-v-f12f93a6"><view class="iconfont icon-yanzhengma flex data-v-f12f93a6"></view><view class="login-input data-v-f12f93a6"><input class="is-input1 data-v-f12f93a6" type="password" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view><button data-event-opts="{{[['tap',[['doLogin',['$event']]]]]}}" class="cu-btn login-btn data-v-f12f93a6" bindtap="__e">登 录</button><view class="bottom data-v-f12f93a6"><view data-event-opts="{{[['tap',[['forgetPassword',['$event']]]]]}}" class="forget data-v-f12f93a6" bindtap="__e">忘记密码</view><view data-event-opts="{{[['tap',[['register',['$event']]]]]}}" class="register data-v-f12f93a6" bindtap="__e">用户注册</view></view></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.bottom.data-v-f12f93a6{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:30rpx 0;color:#968f99}page.data-v-f12f93a6{background-color:#fff}.picker.data-v-f12f93a6{font-size:29rpx;color:#6d6d6d;padding-left:20rpx}.flex.data-v-f12f93a6{display:-webkit-box;display:-webkit-flex;display:flex}.login.data-v-f12f93a6{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.login-main.data-v-f12f93a6{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 70rpx}.login-main .login-logo.data-v-f12f93a6{width:400rpx;height:200rpx;padding-bottom:50rpx;margin:200rpx auto 0 auto}.login-main .login-logo image.data-v-f12f93a6{width:100%;height:100%}.login-main .logo-tip.data-v-f12f93a6{text-align:center;padding-top:25rpx;font-size:32rpx;font-weight:200;color:#333;padding-bottom:50rpx}.login-main .login-list.data-v-f12f93a6{margin-top:35rpx;height:100rpx;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 30rpx}.login-main .login-list.border-all.data-v-f12f93a6:after{border:1px solid #d0d0d0;border-radius:100rpx}.login-main .login-list .iconfont.data-v-f12f93a6{width:65rpx;font-size:44rpx;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.login-main .login-list .iconfont.data-v-f12f93a6:after{margin-left:20rpx;content:"";width:2rpx;height:35rpx;background:#d0d0d0;display:block}.login-main .login-list .login-input.data-v-f12f93a6{-webkit-box-flex:1;-webkit-flex:1;flex:1}.login-main .login-list .login-input input.data-v-f12f93a6{font-size:28rpx;color:#333;padding-left:20rpx}.login-main .login-list .code-sx.data-v-f12f93a6{content:"";width:2rpx;height:25rpx;background:#d0d0d0;margin-right:25rpx}.login-main .login-list .codeimg.data-v-f12f93a6{font-size:24rpx;color:#999}.login-main .login-btn.data-v-f12f93a6{margin-top:50rpx;height:96rpx;width:100%;background:#797979;font-size:34rpx;color:#fff}.login-main .login-tip.data-v-f12f93a6{padding-top:26rpx;font-size:22rpx;color:#666;text-align:center}.login-main .login-tip navigator.data-v-f12f93a6{margin-left:10rpx;display:inline-block;color:#5055a8}.login-footer.data-v-f12f93a6{padding:0 70rpx}.login-footer .footer-tip.data-v-f12f93a6{-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:24rpx;color:#999;text-align:center}.login-footer .footer-tip.data-v-f12f93a6:before{-webkit-box-flex:1;-webkit-flex:1;flex:1;content:"";height:2rpx;background:#d0d0d0;margin-right:30rpx}.login-footer .footer-tip.data-v-f12f93a6:after{margin-left:30rpx;-webkit-box-flex:1;-webkit-flex:1;flex:1;content:"";height:2rpx;background:#d0d0d0}.login-footer .footer-other.data-v-f12f93a6{padding:40rpx 0 100rpx 0;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.login-footer .footer-other .other-list.data-v-f12f93a6{width:80rpx;height:80rpx;margin:0 75rpx}.login-footer .footer-other .other-list image.data-v-f12f93a6{width:100%;height:100%}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/register"],{1489:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n("1da1"));function s(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{roleList:[],roleIndex:-1,role:"",mobile:"",username:"",password:"",againPassword:""}},onLoad:function(){this.getUserType()},methods:{register:function(){var t=this;""===this.role?e.showToast({icon:"none",title:"请选择角色"}):11!==this.mobile.length?e.showToast({icon:"none",title:"请输入正确的手机号"}):""===this.username?e.showToast({icon:"none",title:"请输入您的姓名"}):""===this.password?e.showToast({icon:"none",title:"请输入密码"}):""===this.againPassword?e.showToast({icon:"none",title:"请确认密码"}):this.againPassword!==this.password?e.showToast({icon:"none",title:"两次密码不一致"}):o.default.post("/hs/register",{type:this.role,mobile:this.mobile,realname:this.username,password:this.password}).then((function(n){n.data>0?(e.showToast({icon:"loading",title:"注册成功"}),e.setStorageSync("loginInfo",{user_type:t.role,real_name:t.username,pass_word:t.password}),setTimeout((function(){e.reLaunch({url:"/pages/login/login"})}),1e3)):e.showToast({icon:"none",title:"该手机号或姓名已被注册"}),console.log("注册",n)}),(function(e){console.log("err",e)}))},rolePickerChange:function(e){this.roleIndex=e.detail.value,-1===this.roleIndex&&(this.roleIndex=0),this.role=this.roleList[this.roleIndex]},getUserType:function(){var e=this;o.default.post("/hs/getDictionariesData",{code:"UserType"}).then((function(t){console.log("用户类型",t),e.roleList=[],t.data.forEach((function(t){"管理员"!==t.dd_detail&&e.roleList.push(t.dd_detail)}))}),(function(e){console.log("err",e)}))}}};t.default=i}).call(this,n("543d")["default"])},"2eb3":function(e,t,n){"use strict";var o=n("8652"),s=n.n(o);s.a},"625c":function(e,t,n){"use strict";(function(e){n("481f");o(n("66fd"));var t=o(n("d6ca"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"848d":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var s=function(){var e=this,t=e.$createElement;e._self._c},i=[]},8652:function(e,t,n){},d6ca:function(e,t,n){"use strict";n.r(t);var o=n("848d"),s=n("dd4f");for(var i in s)"default"!==i&&function(e){n.d(t,e,(function(){return s[e]}))}(i);n("2eb3");var a,r=n("f0c5"),l=Object(r["a"])(s["default"],o["b"],o["c"],!1,null,"29597c75",null,!1,o["a"],a);t["default"]=l.exports},dd4f:function(e,t,n){"use strict";n.r(t);var o=n("1489"),s=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=s.a}},[["625c","common/runtime","common/vendor"]]]);
|
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.json
vendored
Normal file
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "用户注册",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="page data-v-29597c75"><view class="content data-v-29597c75"><view class="role one data-v-29597c75"><view class="left data-v-29597c75">角色:</view><view class="right data-v-29597c75"><view class="login-list flex border-all data-v-29597c75"><view class="iconfont icon-shoujihao flex data-v-29597c75"></view><picker value="{{roleIndex}}" range="{{roleList}}" data-event-opts="{{[['change',[['rolePickerChange',['$event']]]]]}}" bindchange="__e" class="data-v-29597c75"><view class="picker data-v-29597c75">{{''+(roleIndex>-1?roleList[roleIndex]:this.role===''||this.role===undefined?'请选择角色':this.role)+''}}</view></picker></view></view></view><view class="mobile one data-v-29597c75"><view class="left data-v-29597c75">手机号:</view><view class="right data-v-29597c75"><input type="text" placeholder="请输入手机号" data-event-opts="{{[['input',[['__set_model',['','mobile','$event',[]]]]]]}}" value="{{mobile}}" bindinput="__e" class="data-v-29597c75"/></view></view><view class="username one data-v-29597c75"><view class="left data-v-29597c75">姓名:</view><view class="right data-v-29597c75"><input type="text" placeholder="请输入真实姓名" data-event-opts="{{[['input',[['__set_model',['','username','$event',[]]]]]]}}" value="{{username}}" bindinput="__e" class="data-v-29597c75"/></view></view><view class="password one data-v-29597c75"><view class="left data-v-29597c75">密码:</view><view class="right data-v-29597c75"><input type="password" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e" class="data-v-29597c75"/></view></view><view class="again-password one data-v-29597c75"><view class="left data-v-29597c75">确认密码:</view><view class="right data-v-29597c75"><input type="password" placeholder="请确认密码" data-event-opts="{{[['input',[['__set_model',['','againPassword','$event',[]]]]]]}}" value="{{againPassword}}" bindinput="__e" class="data-v-29597c75"/></view></view><view class="button data-v-29597c75"><button data-event-opts="{{[['tap',[['register',['$event']]]]]}}" class="login-btn data-v-29597c75" bindtap="__e">注 册</button></view></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/login/register.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.button.data-v-29597c75{padding:0 20rpx}.login-btn.data-v-29597c75{background:#797979;color:#fff}.one .left.data-v-29597c75{width:200rpx;color:#8f8f8f}.one .right.data-v-29597c75{color:#a7a7a7}.one.data-v-29597c75{display:-webkit-box;display:-webkit-flex;display:flex;padding:20rpx;background-color:#fff;margin:20rpx;border-radius:10rpx}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/notice-edit/notice-edit"],{4219:function(t,n,e){"use strict";(function(t){e("481f");o(e("66fd"));var n=o(e("e5a3"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},b4e6:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},c=[]},cbde:function(t,n,e){},e5a3:function(t,n,e){"use strict";e.r(n);var o=e("b4e6"),i=e("f492");for(var c in i)"default"!==c&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("f753");var a,u=e("f0c5"),f=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"7aba4ed8",null,!1,o["a"],a);n["default"]=f.exports},f492:function(t,n,e){"use strict";e.r(n);var o=e("f65e"),i=e.n(o);for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=i.a},f65e:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("1da1"));function i(t){return t&&t.__esModule?t:{default:t}}var c={components:{},data:function(){var n=t.getStorageSync("notice");return n.fabulous=!0,n.messageFabulous=!0,{noticeInfo:n}},onLoad:function(){},onNavigationBarButtonTap:function(n){var e=this;t.showModal({title:"删除",content:"确认删除这篇文章?",success:function(n){n.confirm?o.default.post("/hs/deleteOne",{id:e.noticeInfo.id}).then((function(n){console.log("删除这篇文章",n),1===n.data&&(t.showToast({icon:"loading",title:"删除成功"}),setTimeout((function(){t.navigateBack({delta:1})}),1e3))}),(function(t){console.log("err",t)})):n.cancel&&console.log("用户点击取消")}})},mounted:function(){},methods:{preservation:function(){""===this.noticeInfo.title?t.showToast({icon:"none",title:"请输入文章标题"}):4!==this.noticeInfo.label.length?t.showToast({icon:"none",title:"文章标签只能4个字符哦"}):""===this.noticeInfo.content?t.showToast({icon:"none",title:"请输入文章内容"}):o.default.post("/hs/updateOneContent",{id:this.noticeInfo.id,label:this.noticeInfo.label,title:this.noticeInfo.title,content:this.noticeInfo.content}).then((function(n){console.log("保存文章",n),1===n.data&&(t.showToast({icon:"loading",title:"保存成功"}),setTimeout((function(){t.navigateBack({delta:1})}),1e3))}),(function(t){console.log("err",t)}))}}};n.default=c}).call(this,e("543d")["default"])},f753:function(t,n,e){"use strict";var o=e("cbde"),i=e.n(o);i.a}},[["4219","common/runtime","common/vendor"]]]);
|
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.json
vendored
Normal file
7
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "编辑文章",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="page data-v-7aba4ed8"><view class="cu-item height data-v-7aba4ed8"><view class="action data-v-7aba4ed8"><text class="text-black data-v-7aba4ed8">文章名称:</text></view></view><view class="cu-item title data-v-7aba4ed8"><textarea placeholder="请输入文章名称" maxlength="50" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['noticeInfo']]]]]}}" value="{{noticeInfo.title}}" bindinput="__e" class="data-v-7aba4ed8"></textarea></view><view class="cu-item height data-v-7aba4ed8"><view class="action data-v-7aba4ed8"><text class="text-black data-v-7aba4ed8">文章标签:</text></view></view><view class="cu-item label data-v-7aba4ed8"><textarea placeholder="请输入文章标签" maxlength="4" data-event-opts="{{[['input',[['__set_model',['$0','label','$event',[]],['noticeInfo']]]]]}}" value="{{noticeInfo.label}}" bindinput="__e" class="data-v-7aba4ed8"></textarea></view><view class="cu-item data-v-7aba4ed8"><view class="action data-v-7aba4ed8"><text class="text-black data-v-7aba4ed8">文章内容:</text></view></view><view class="cu-item content data-v-7aba4ed8"><textarea placeholder="请输入文章内容" auto-height="true" maxlength="2000" data-event-opts="{{[['input',[['__set_model',['$0','content','$event',[]],['noticeInfo']]]]]}}" value="{{noticeInfo.content}}" bindinput="__e" class="data-v-7aba4ed8"></textarea></view><view class="button data-v-7aba4ed8"><button type="default" data-event-opts="{{[['tap',[['preservation',['$event']]]]]}}" bindtap="__e" class="data-v-7aba4ed8">保存</button></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/notice-edit/notice-edit.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.button.data-v-7aba4ed8{padding:40rpx 100rpx}.cu-item.data-v-7aba4ed8{padding:20rpx}.title.data-v-7aba4ed8{padding-top:0}.title.data-v-7aba4ed8, .label.data-v-7aba4ed8, .content.data-v-7aba4ed8{background-color:#f1f1f1;border-radius:10rpx;padding:20rpx;margin:20rpx}.title textarea.data-v-7aba4ed8, .label textarea.data-v-7aba4ed8, .content textarea.data-v-7aba4ed8{width:100%}.title textarea.data-v-7aba4ed8{height:128rpx;font-weight:700}.label textarea.data-v-7aba4ed8{height:80rpx}.page.data-v-7aba4ed8{background-color:#fff}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/person-info-page/person-info-page"],{"0412":function(t,e,n){"use strict";var o=n("3e47"),a=n.n(o);a.a},"0c0f":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:n}})},r=[]},"21b3":function(t,e,n){"use strict";n.r(e);var o=n("0c0f"),a=n("9d02");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("0412");var u,i=n("f0c5"),s=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,"79e5d186",null,!1,o["a"],u);e["default"]=s.exports},"3e47":function(t,e,n){},"44a0":function(t,e,n){},"5be0":function(t,e,n){"use strict";var o=n("44a0"),a=n.n(o);a.a},"721b":function(t,e,n){"use strict";(function(t){n("481f");o(n("66fd"));var e=o(n("d753"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"9d02":function(t,e,n){"use strict";n.r(e);var o=n("d9f9"),a=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},a522:function(t,e,n){"use strict";n.r(e);var o=n("f2e7"),a=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},bbce:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var o={noData:function(){return Promise.all([n.e("common/vendor"),n.e("components/noData/noData")]).then(n.bind(null,"c48a"))}},a=function(){var t=this,e=t.$createElement;t._self._c},r=[]},d753:function(t,e,n){"use strict";n.r(e);var o=n("bbce"),a=n("a522");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("5be0");var u,i=n("f0c5"),s=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,"6e77a188",null,!1,o["a"],u);e["default"]=s.exports},d9f9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};e.default=o},f2e7:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("1da1")),a=(n("7960"),r(n("21b3")));function r(t){return t&&t.__esModule?t:{default:t}}var u=function(){Promise.all([n.e("common/vendor"),n.e("components/noData/noData")]).then(function(){return resolve(n("c48a"))}.bind(null,n)).catch(n.oe)},i={components:{noData:u,avatar:a.default},data:function(){return{userId:"",userInfo:{},noData:!1,noticeList:[]}},onLoad:function(t){this.userId=t.userId},mounted:function(){this.getUserInfo()},onPullDownRefresh:function(){this.getUserInfo()},onNavigationBarButtonTap:function(){t.setStorageSync("otherInfo",this.userInfo),t.navigateTo({url:"/pages/tabbar/message/chat-page"})},methods:{addFollow:function(e){var n=this;o.default.post("/hs/addFollow",{userId:t.getStorageSync("userInfo").user_id,followId:e.user_id}).then((function(t){n.getUserInfo(),console.log("加关注",t)}),(function(t){console.log("err",t)}))},cancelFollow:function(e){var n=this;t.showModal({title:"取消关注",content:"确认取消关注?",success:function(a){a.confirm&&o.default.post("/hs/cancelFollow",{userId:t.getStorageSync("userInfo").user_id,followId:e.user_id}).then((function(t){n.getUserInfo(),console.log("取消关注",t)}),(function(t){console.log("err",t)}))}})},goToDetails:function(e){t.navigateTo({url:"/pages/tabbar/homepage/data-details?noticeId="+e.id})},getUserInfo:function(){var e=this;o.default.post("/hs/getPersonalInfo",{userId:t.getStorageSync("userInfo").user_id,releaseId:this.userId}).then((function(n){t.startPullDownRefresh(),console.log("个人信息",n),e.userInfo=n.data.personalInfo,e.userInfo.headerPhoto=e.userInfo.real_name.slice(0,1),e.noticeList=n.data.personalList,e.noData=0===n.data.personalList.length,t.setNavigationBarTitle({title:e.userInfo.real_name})}),(function(t){console.log("err",t)}))}}};e.default=i}).call(this,n("543d")["default"])}},[["721b","common/runtime","common/vendor"]]]);
|
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.json
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "个人主页",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="page data-v-6e77a188"><view class="top data-v-6e77a188"><view class="left data-v-6e77a188"><avatar vue-id="21082980-1" userName="{{userInfo.real_name}}" size="90" class="data-v-6e77a188" bind:__l="__l"></avatar></view><view class="user-info data-v-6e77a188"><view class="other-info data-v-6e77a188"><view class="follow data-v-6e77a188"><view class="one-top data-v-6e77a188">{{userInfo.followNumber}}</view><view class="one-bottom data-v-6e77a188">关注</view></view><view class="fans data-v-6e77a188"><view class="one-top data-v-6e77a188">{{userInfo.fansNumber}}</view><view class="one-bottom data-v-6e77a188">粉丝</view></view><view class="score data-v-6e77a188"><view class="one-top data-v-6e77a188">{{userInfo.integral}}</view><view class="one-bottom data-v-6e77a188">积分</view></view></view><view class="info-bottom data-v-6e77a188"><block wx:if="{{userInfo.isFollow===0}}"><view data-event-opts="{{[['tap',[['addFollow',['$0'],['userInfo']]]]]}}" class="follow-button data-v-6e77a188" bindtap="__e">关注</view></block><block wx:if="{{userInfo.isFollow===1}}"><view data-event-opts="{{[['tap',[['cancelFollow',['$0'],['userInfo']]]]]}}" class="follow-button-ed data-v-6e77a188" bindtap="__e">已关注</view></block></view></view></view><view class="middle data-v-6e77a188"><view class="cu-item content data-v-6e77a188"><textarea auto-height="true" maxlength="2000" disabled="false" data-event-opts="{{[['input',[['__set_model',['$0','signature','$event',[]],['userInfo']]]]]}}" value="{{userInfo.signature}}" bindinput="__e" class="data-v-6e77a188"></textarea></view></view><view class="bottom data-v-6e77a188"><block wx:if="{{noData===true}}"><view class="noData data-v-6e77a188"><no-data vue-id="21082980-2" custom="{{true}}" class="data-v-6e77a188" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-6e77a188" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-6e77a188"><block wx:for="{{noticeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.is_pass==='1'}}"><view class="cu-item data-v-6e77a188" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeList','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-6e77a188" bindtap="__e"><view class="cu-item arrow data-v-6e77a188" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-6e77a188"><view class="action data-v-6e77a188"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-6e77a188">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-6e77a188">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-6e77a188">{{item.type}}</view></block><text class="text-black text-lg data-v-6e77a188">{{item.title}}</text></view></view></view></view><view class="text-content data-v-6e77a188" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-6e77a188">文章标签:</text><text class="data-v-6e77a188">{{item.label}}</text></view><view class="text-content data-v-6e77a188" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-6e77a188">发表时间:</text><text class="data-v-6e77a188">{{item.release_time}}</text></view></view></block></block></view></block></block></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/person-info-page/person-info-page.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/follow/fans-list"],{"0412":function(t,n,e){"use strict";var o=e("3e47"),a=e.n(o);a.a},"0c0f":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},"169a":function(t,n,e){},"21b3":function(t,n,e){"use strict";e.r(n);var o=e("0c0f"),a=e("9d02");for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("0412");var c,u=e("f0c5"),i=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"79e5d186",null,!1,o["a"],c);n["default"]=i.exports},"32e8":function(t,n,e){"use strict";var o=e("169a"),a=e.n(o);a.a},"3e47":function(t,n,e){},"4eac":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("1da1")),a=(e("7960"),r(e("21b3")));function r(t){return t&&t.__esModule?t:{default:t}}var c=function(){e.e("components/mehaotian-search/mehaotian-search").then(function(){return resolve(e("7cee"))}.bind(null,e)).catch(e.oe)},u=function(){Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(function(){return resolve(e("c48a"))}.bind(null,e)).catch(e.oe)},i={components:{mSearch:c,noData:u,avatar:a.default},data:function(){return{noData:!1,searchStr:"",followList:[],flag:!0}},onPullDownRefresh:function(){this.getFollowPeopleList()},onShow:function(){this.getAllData()},mounted:function(){this.getFollowPeopleList()},methods:{goToUserInfo:function(n){t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(n.user_id)})},cancelFollow:function(n){var e=this;t.showModal({title:"取消关注",content:"确认取消关注?",success:function(a){a.confirm&&o.default.post("/hs/cancelFollow",{userId:t.getStorageSync("userInfo").user_id,followId:n.user_id}).then((function(t){e.getFollowPeopleList(),console.log("取消关注",t)}),(function(t){console.log("err",t)}))}})},getFollowPeopleList:function(){var n=this;o.default.post("/hs/getFansPeopleList",{userId:t.getStorageSync("userInfo").user_id}).then((function(e){console.log("粉丝列表",e),t.startPullDownRefresh(),n.followList=e.data,0===n.followList.length?n.noData=!0:(n.noData=!1,n.followList.forEach((function(t){t.headerPhoto=t.real_name.slice(0,1)})))}),(function(t){console.log("err",t)}))}}};n.default=i}).call(this,e("543d")["default"])},"8d95":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var o={noData:function(){return Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(e.bind(null,"c48a"))}},a=function(){var t=this,n=t.$createElement;t._self._c},r=[]},9431:function(t,n,e){"use strict";e.r(n);var o=e("4eac"),a=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=a.a},"9d02":function(t,n,e){"use strict";e.r(n);var o=e("d9f9"),a=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=a.a},c1f6:function(t,n,e){"use strict";e.r(n);var o=e("8d95"),a=e("9431");for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("32e8");var c,u=e("f0c5"),i=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"6c347c30",null,!1,o["a"],c);n["default"]=i.exports},d61b:function(t,n,e){"use strict";(function(t){e("481f");o(e("66fd"));var n=o(e("c1f6"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},d9f9:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};n.default=o}},[["d61b","common/runtime","common/vendor"]]]);
|
11
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.json
vendored
Normal file
11
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.json
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "粉丝列表",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"m-search": "/components/mehaotian-search/mehaotian-search",
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="content data-v-6c347c30"><m-search bind:input="__e" vue-id="3ea4f5d1-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-6c347c30" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-6c347c30"><no-data vue-id="3ea4f5d1-2" custom="{{true}}" class="data-v-6c347c30" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-6c347c30" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-6c347c30"><block wx:for="{{followList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['followList','',index]]]]]]]}}" class="cu-item one data-v-6c347c30" style="padding:0;" bindtap="__e"><view class="one-left-two data-v-6c347c30"><avatar vue-id="{{'3ea4f5d1-3-'+index}}" userName="{{item.real_name}}" size="50" class="data-v-6c347c30" bind:__l="__l"></avatar><view class="one-right data-v-6c347c30"><view class="name data-v-6c347c30">{{''+item.real_name+''}}</view><view class="other-info data-v-6c347c30"><view class="other-info-left data-v-6c347c30">{{'关注:'+item.followNumber+''}}</view><view class="other-info-middle data-v-6c347c30">{{'粉丝:'+item.fansNumber+''}}</view><view class="other-info-right data-v-6c347c30">{{'积分:'+item.integral+''}}</view></view></view></view></view></block></view></block></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/fans-list.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/follow/follow-list"],{"0412":function(t,n,e){"use strict";var o=e("3e47"),a=e.n(o);a.a},"0c0f":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},"21b3":function(t,n,e){"use strict";e.r(n);var o=e("0c0f"),a=e("9d02");for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("0412");var u,c=e("f0c5"),i=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,"79e5d186",null,!1,o["a"],u);n["default"]=i.exports},"325e":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("1da1")),a=(e("7960"),r(e("21b3")));function r(t){return t&&t.__esModule?t:{default:t}}var u=function(){e.e("components/mehaotian-search/mehaotian-search").then(function(){return resolve(e("7cee"))}.bind(null,e)).catch(e.oe)},c=function(){Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(function(){return resolve(e("c48a"))}.bind(null,e)).catch(e.oe)},i={components:{mSearch:u,noData:c,avatar:a.default},data:function(){return{noData:!1,searchStr:"",followList:[],flag:!0}},onPullDownRefresh:function(){this.getFollowPeopleList()},onShow:function(){this.getAllData()},mounted:function(){this.getFollowPeopleList()},methods:{goToUserInfo:function(n){t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(n.user_id)})},cancelFollow:function(n){var e=this;t.showModal({title:"取消关注",content:"确认取消关注?",success:function(a){a.confirm&&o.default.post("/hs/cancelFollow",{userId:t.getStorageSync("userInfo").user_id,followId:n.user_id}).then((function(t){e.getFollowPeopleList(),console.log("取消关注",t)}),(function(t){console.log("err",t)}))}})},getFollowPeopleList:function(){var n=this;o.default.post("/hs/getFollowPeopleList",{userId:t.getStorageSync("userInfo").user_id}).then((function(e){console.log("关注列表",e),t.startPullDownRefresh(),n.followList=e.data,0===n.followList.length?n.noData=!0:(n.noData=!1,n.followList.forEach((function(t){t.headerPhoto=t.real_name.slice(0,1)})))}),(function(t){console.log("err",t)}))}}};n.default=i}).call(this,e("543d")["default"])},"37c6":function(t,n,e){"use strict";e.r(n);var o=e("a1af"),a=e("d6a0");for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("9d8c");var u,c=e("f0c5"),i=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,"349de021",null,!1,o["a"],u);n["default"]=i.exports},"3e47":function(t,n,e){},"85ae":function(t,n,e){},"9d02":function(t,n,e){"use strict";e.r(n);var o=e("d9f9"),a=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=a.a},"9d8c":function(t,n,e){"use strict";var o=e("85ae"),a=e.n(o);a.a},a1af:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var o={noData:function(){return Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(e.bind(null,"c48a"))}},a=function(){var t=this,n=t.$createElement;t._self._c},r=[]},d6a0:function(t,n,e){"use strict";e.r(n);var o=e("325e"),a=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=a.a},d7a0:function(t,n,e){"use strict";(function(t){e("481f");o(e("66fd"));var n=o(e("37c6"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},d9f9:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};n.default=o}},[["d7a0","common/runtime","common/vendor"]]]);
|
11
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.json
vendored
Normal file
11
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.json
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "关注列表",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"m-search": "/components/mehaotian-search/mehaotian-search",
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="content data-v-349de021"><m-search bind:input="__e" vue-id="c2a5d5fc-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-349de021" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-349de021"><no-data vue-id="c2a5d5fc-2" custom="{{true}}" class="data-v-349de021" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-349de021" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-349de021"><block wx:for="{{followList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['followList','',index]]]]]]]}}" class="cu-item one data-v-349de021" style="padding:0;" bindtap="__e"><view class="one-left-two data-v-349de021"><avatar vue-id="{{'c2a5d5fc-3-'+index}}" userName="{{item.real_name}}" size="50" class="data-v-349de021" bind:__l="__l"></avatar><view class="one-right data-v-349de021"><view class="name data-v-349de021">{{''+item.real_name+''}}</view><view class="other-info data-v-349de021"><view class="other-info-left data-v-349de021">{{'关注:'+item.followNumber+''}}</view><view class="other-info-middle data-v-349de021">{{'粉丝:'+item.fansNumber+''}}</view><view class="other-info-right data-v-349de021">{{'积分:'+item.integral+''}}</view></view></view></view><view data-event-opts="{{[['tap',[['cancelFollow',['$0'],[[['followList','',index]]]]]]]}}" class="follow-flag ed data-v-349de021" bindtap="__e">已关注</view></view></block></view></block></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow-list.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/follow/follow"],{6504:function(n,t,e){},"9fae":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(e("1da1"));e("7960");function a(n){return n&&n.__esModule?n:{default:n}}var c=function(){e.e("components/mehaotian-search/mehaotian-search").then(function(){return resolve(e("7cee"))}.bind(null,e)).catch(e.oe)},r=function(){Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(function(){return resolve(e("c48a"))}.bind(null,e)).catch(e.oe)},u={components:{mSearch:c,noData:r},data:function(){return{noData:!1,searchStr:"",noticeList:[]}},computed:{noticeListQuery:function(){var n=this;return this.noticeList.filter((function(t){return-1!=t.title.indexOf(n.searchStr)||-1!=t.type.indexOf(n.searchStr)||-1!=t.real_name.indexOf(n.searchStr)}))}},onLoad:function(){},onShow:function(){this.getAllData()},onPullDownRefresh:function(){this.getAllData()},methods:{goToUserInfo:function(t){n.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(t.user_id)})},update:function(){this.getAllData()},cancelFollow:function(t){var e=this;n.showModal({title:"取消关注",content:"确认取消关注?",success:function(a){a.confirm?o.default.post("/hs/cancelFollow",{userId:n.getStorageSync("userInfo").user_id,followId:t.user_id}).then((function(n){console.log("取消关注",n),1===n.data&&e.getAllData()}),(function(n){console.log("err",n)})):a.cancel&&console.log("取消")}})},goToDetails:function(t){n.navigateTo({url:"/pages/tabbar/homepage/data-details?noticeId="+t.id})},getAllData:function(){var t=this;o.default.post("/hs/getFollowList",{userId:n.getStorageSync("userInfo").user_id}).then((function(e){t.noticeList=e.data,n.startPullDownRefresh(),t.noData=0===t.noticeList.length,console.log("关注页面数据",e.data)}),(function(n){console.log("err",n)}))}}};t.default=u}).call(this,e("543d")["default"])},a154:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return o}));var o={noData:function(){return Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(e.bind(null,"c48a"))}},a=function(){var n=this,t=n.$createElement;n._self._c},c=[]},b5ec:function(n,t,e){"use strict";(function(n){e("481f");o(e("66fd"));var t=o(e("b6ad"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},b6ad:function(n,t,e){"use strict";e.r(t);var o=e("a154"),a=e("fb75");for(var c in a)"default"!==c&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("f9aa");var r,u=e("f0c5"),i=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"4a5acee3",null,!1,o["a"],r);t["default"]=i.exports},f9aa:function(n,t,e){"use strict";var o=e("6504"),a=e.n(o);a.a},fb75:function(n,t,e){"use strict";e.r(t);var o=e("9fae"),a=e.n(o);for(var c in o)"default"!==c&&function(n){e.d(t,n,(function(){return o[n]}))}(c);t["default"]=a.a}},[["b5ec","common/runtime","common/vendor"]]]);
|
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.json
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "关注",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"m-search": "/components/mehaotian-search/mehaotian-search"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="content data-v-4a5acee3"><m-search bind:input="__e" vue-id="68d96f0f-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-4a5acee3" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-4a5acee3"><no-data vue-id="68d96f0f-2" custom="{{true}}" class="data-v-4a5acee3" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-4a5acee3">暂无关注,打开他人主页可关注</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-4a5acee3"><block wx:for="{{noticeListQuery}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item data-v-4a5acee3" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-4a5acee3" bindtap="__e"><view class="cu-item arrow data-v-4a5acee3" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-4a5acee3"><view class="action data-v-4a5acee3"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><text class="text-black text-lg data-v-4a5acee3">{{item.title}}</text></view></view></view></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">文章标签:</text><text class="data-v-4a5acee3">{{item.label}}</text></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">发表人:</text><text data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['noticeListQuery','',index]]]]]]]}}" bindtap="__e" class="data-v-4a5acee3">{{item.real_name}}</text><text data-event-opts="{{[['tap',[['cancelFollow',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cancel data-v-4a5acee3" bindtap="__e">取消关注</text></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">发表时间:</text><text class="data-v-4a5acee3">{{item.release_time}}</text></view></view></block></view></block></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.cancel.data-v-4a5acee3{float:right;margin-right:32rpx;padding:0 5rpx;color:red;border:1rpx solid red;border-radius:10rpx}.content.data-v-4a5acee3{min-height:85vh;padding-bottom:100rpx}.text-gray.data-v-4a5acee3{display:inline-block;width:4rem}.cu-card>.cu-item.data-v-4a5acee3{margin:20rpx!important}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.json
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "文章内容",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"uni-fav": "/components/uni-fav/uni-fav",
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="page data-v-1f41ba4d"><view class="top data-v-1f41ba4d"><view class="title data-v-1f41ba4d">{{''+noticeInfo.title+''}}</view><view class="label data-v-1f41ba4d">{{''+noticeInfo.label+''}}</view><view class="author-and-time data-v-1f41ba4d"><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],['noticeInfo']]]]]}}" class="author data-v-1f41ba4d" style="padding:0;" bindtap="__e">{{''+noticeInfo.author_name+''}}</view><view class="time data-v-1f41ba4d">{{''+noticeInfo.create_time+''}}</view></view><view class="content data-v-1f41ba4d"><textarea placeholder="请输入文章内容" auto-height="true" disabled="true" data-event-opts="{{[['input',[['__set_model',['$0','content','$event',[]],['noticeInfo']]]]]}}" value="{{noticeInfo.content}}" bindinput="__e" class="data-v-1f41ba4d"></textarea></view></view><view class="feedback data-v-1f41ba4d"><view class="reading-volume data-v-1f41ba4d">{{'阅读 '+noticeInfo.read_number+''}}</view><view class="fabulous data-v-1f41ba4d"><uni-fav class="{{['favBtn data-v-1f41ba4d',noticeInfo.isCollection===0?'grey':'blue']}}" vue-id="d4ff1c44-1" checked="{{noticeInfo.isCollection===0?false:true}}" circle="true" bg-color="#FFFFFF" bg-color-checked="#1296DB" data-event-opts="{{[['^tap',[['collection',['$0'],['noticeInfo.isCollection']]]]]}}" bind:tap="__e" bind:__l="__l"></uni-fav></view></view><block wx:if="{{isMessage===true&&noMessage===true}}"><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="no-message data-v-1f41ba4d" bindtap="__e">写留言</view></block><block wx:if="{{noMessage===false}}"><view class="leave-message data-v-1f41ba4d"><view class="message-title data-v-1f41ba4d"><view class="left data-v-1f41ba4d">精选留言</view><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="right data-v-1f41ba4d" bindtap="__e">写留言</view></view><block wx:for="{{messageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="one-message data-v-1f41ba4d"><view class="left data-v-1f41ba4d"><view class="header-photo data-v-1f41ba4d"><avatar vue-id="{{'d4ff1c44-2-'+index}}" userName="{{item.real_name}}" size="50" class="data-v-1f41ba4d" bind:__l="__l"></avatar></view><view class="message data-v-1f41ba4d"><view class="name data-v-1f41ba4d">{{''+item.real_name+''}}</view><view class="message-content data-v-1f41ba4d">{{''+item.content+''}}</view></view></view></view></block></view></block><view class="{{['cu-modal data-v-1f41ba4d',messageDialog?'show':'']}}" style="{{'margin-top:'+(-InputBottom/2+'px')+';'}}"><view class="cu-dialog data-v-1f41ba4d"><view class="cu-bar bg-white justify-end data-v-1f41ba4d"><view class="title-content bg-white data-v-1f41ba4d">留言</view><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="action data-v-1f41ba4d" bindtap="__e"><text class="cuIcon-close text-red data-v-1f41ba4d"></text></view></view><view class="padding-xl data-v-1f41ba4d"><input type="text" adjust-position="{{false}}" focus="{{false}}" placeholder="请输入留言" data-event-opts="{{[['focus',[['InputFocus',['$event']]]],['blur',[['InputBlur',['$event']]]],['input',[['__set_model',['','messageContent','$event',[]]]]]]}}" value="{{messageContent}}" bindfocus="__e" bindblur="__e" bindinput="__e" class="data-v-1f41ba4d"/></view><view class="cu-bar bg-white justify-end data-v-1f41ba4d"><view class="action data-v-1f41ba4d"><button data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="cu-btn line-blue text-blue data-v-1f41ba4d" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['clickPromptConfirm',['$event']]]]]}}" class="cu-btn bg-blue margin-left data-v-1f41ba4d" bindtap="__e">确定</button></view></view></view></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/data-details.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/homepage/homepage"],{"0388":function(t,n,e){"use strict";e.r(n);var a=e("da20"),o=e("fd2f");for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("da5d");var i,r=e("f0c5"),u=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"7e333a67",null,!1,a["a"],i);n["default"]=u.exports},"5acc":function(t,n,e){"use strict";(function(t){e("481f");a(e("66fd"));var n=a(e("0388"));function a(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},d4c5:function(t,n,e){},da20:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return a}));var a={noData:function(){return Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(e.bind(null,"c48a"))}},o=function(){var t=this,n=t.$createElement;t._self._c},c=[]},da5d:function(t,n,e){"use strict";var a=e("d4c5"),o=e.n(a);o.a},daaa:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("1da1")),o=e("7960");function c(t){return t&&t.__esModule?t:{default:t}}var i=function(){e.e("components/mehaotian-search/mehaotian-search").then(function(){return resolve(e("7cee"))}.bind(null,e)).catch(e.oe)},r=function(){Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(function(){return resolve(e("c48a"))}.bind(null,e)).catch(e.oe)},u={components:{mSearch:i,noData:r},data:function(){return{noData:!1,searchStr:"",noticeList:[]}},computed:{noticeListQuery:function(){var t=this;return this.noticeList.filter((function(n){return-1!=n.title.indexOf(t.searchStr)||-1!=n.type.indexOf(t.searchStr)||-1!=n.real_name.indexOf(t.searchStr)}))}},onLoad:function(){},onShow:function(){this.getAllData()},onPullDownRefresh:function(){this.getAllData()},methods:{goToUserInfo:function(n){n.user_id===t.getStorageSync("userInfo").user_id?t.switchTab({url:"/pages/tabbar/my/my"}):t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(n.user_id)})},goToDetails:function(n){t.navigateTo({url:"/pages/tabbar/homepage/data-details?noticeId="+n.id})},getAllData:function(){var n=this;a.default.post("/hs/getAllContent",{}).then((function(e){e.data.parentAdvice.forEach((function(t){n.$set(t,"type","家长建议")})),e.data.schoolNoticeList.forEach((function(t){n.$set(t,"type","校园通知")})),e.data.studentThinking.forEach((function(t){n.$set(t,"type","学生想法")})),n.noticeList=e.data.parentAdvice.concat(e.data.schoolNoticeList,e.data.studentThinking).sort((0,o.sortBy)("release_time",!1)),t.startPullDownRefresh(),n.noData=0===n.noticeList.length,console.log("首页数据",n.noticeList)}),(function(t){console.log("err",t)}))}}};n.default=u}).call(this,e("543d")["default"])},fd2f:function(t,n,e){"use strict";e.r(n);var a=e("daaa"),o=e.n(a);for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);n["default"]=o.a}},[["5acc","common/runtime","common/vendor"]]]);
|
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.json
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "首页",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"m-search": "/components/mehaotian-search/mehaotian-search"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="content data-v-7e333a67"><m-search bind:input="__e" vue-id="3d999422-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-7e333a67" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-7e333a67"><no-data vue-id="3d999422-2" custom="{{true}}" class="data-v-7e333a67" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-7e333a67" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-7e333a67"><block wx:for="{{noticeListQuery}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item data-v-7e333a67" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-7e333a67" bindtap="__e"><view class="cu-item arrow data-v-7e333a67" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-7e333a67"><view class="action data-v-7e333a67"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-7e333a67">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-7e333a67">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-7e333a67">{{item.type}}</view></block><text class="text-black text-lg data-v-7e333a67">{{item.title}}</text></view></view></view></view><view class="text-content data-v-7e333a67" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-7e333a67">文章标签:</text><text class="data-v-7e333a67">{{item.label}}</text></view><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="text-content data-v-7e333a67" style="margin:10rpx 0 0 0;" bindtap="__e"><text class="text-gray data-v-7e333a67">发表人:</text><text class="data-v-7e333a67">{{item.real_name}}</text></view><view class="text-content data-v-7e333a67" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-7e333a67">发表时间:</text><text class="data-v-7e333a67">{{item.release_time}}</text></view></view></block></view></block></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.content.data-v-7e333a67{min-height:85vh;padding-bottom:100rpx}.text-gray.data-v-7e333a67{display:inline-block;width:4rem}.cu-card>.cu-item.data-v-7e333a67{margin:20rpx!important}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/message/chat-page"],{"0412":function(t,e,n){"use strict";var o=n("3e47"),r=n.n(o);r.a},"0b86":function(t,e,n){"use strict";var o=n("8171"),r=n.n(o);r.a},"0c0f":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:n}})},u=[]},"21b3":function(t,e,n){"use strict";n.r(e);var o=n("0c0f"),r=n("9d02");for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n("0412");var a,i=n("f0c5"),s=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"79e5d186",null,!1,o["a"],a);e["default"]=s.exports},"3e47":function(t,e,n){},"467d":function(t,e,n){"use strict";(function(t){n("481f");o(n("66fd"));var e=o(n("f9ea"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},8171:function(t,e,n){},"9d02":function(t,e,n){"use strict";n.r(e);var o=n("d9f9"),r=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},be80:function(t,e,n){"use strict";n.r(e);var o=n("dcce"),r=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},c414:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.letterList,(function(e,n){var o=t.__get_orig(e),r=t.isMy(e,"self"),u=t.isMy(e,"bg-green");return{$orig:o,m0:r,m1:u}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},u=[]},d9f9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};e.default=o},dcce:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=u(n("1da1")),r=(u(n("deef")),u(n("21b3")));function u(t){return t&&t.__esModule?t:{default:t}}var a={components:{avatar:r.default},data:function(){return{otherInfo:t.getStorageSync("otherInfo"),userInfo:t.getStorageSync("userInfo"),InputBottom:0,messageContent:"",letterList:[],interval:{}}},onShow:function(){var t=this;this.updateRead(),this.getTwoLetterApp();var e=0,n=setInterval((function(){t.getTwoLetterApp(),e+=1,5===e&&clearInterval(n)}),2e3)},onBackPress:function(){},onPullDownRefresh:function(){this.getTwoLetterApp(),t.startPullDownRefresh()},onLoad:function(){t.setNavigationBarTitle({title:this.otherInfo.real_name})},watch:{letterList:function(){this.$nextTick((function(){t.pageScrollTo({scrollTop:99999,duration:0})}))}},methods:{InputFocus:function(t){this.InputBottom=t.detail.height},InputBlur:function(t){this.InputBottom=0},goToOther:function(e){t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(e.send_id)})},goToMy:function(){t.switchTab({url:"/pages/tabbar/my/my"})},getTwoLetterApp:function(){var e=this;o.default.post("/hs/getTwoLetterApp",{userId:t.getStorageSync("userInfo").user_id,otherId:this.otherInfo.user_id}).then((function(t){console.log("获取两个人的私信",t),null!==t.data&&(e.letterList=t.data)}),(function(t){console.log("err",t)}))},sendMessage:function(){var e=this;""===this.messageContent?t.showToast({icon:"none",title:"请输入消息,亲"}):o.default.post("/hs/sendLetter",{sendId:t.getStorageSync("userInfo").user_id,receiveId:this.otherInfo.user_id,content:this.messageContent}).then((function(t){e.messageContent="",console.log("发送消息",t),1===t.data&&(e.getTwoLetterApp(),e.messageContent="")}),(function(t){console.log("err",t)}))},updateRead:function(){o.default.post("/hs/updateReadApp",{userId:t.getStorageSync("userInfo").user_id,otherId:this.otherInfo.user_id}).then((function(t){console.log("改为已读",t)}),(function(t){console.log("err",t)}))},isMy:function(e,n){return e.send_id===t.getStorageSync("userInfo").user_id?n:""}}};e.default=a}).call(this,n("543d")["default"])},f9ea:function(t,e,n){"use strict";n.r(e);var o=n("c414"),r=n("be80");for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n("0b86");var a,i=n("f0c5"),s=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"54408d5d",null,!1,o["a"],a);e["default"]=s.exports}},[["467d","common/runtime","common/vendor"]]]);
|
9
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.json
vendored
Normal file
9
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.json
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="pages data-v-54408d5d"><view class="cu-chat data-v-54408d5d" style="{{'margin-bottom:'+(50+InputBottom+'px')+';'}}" id="chart-page"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cu-item data-v-54408d5d',item.m0]}}"><block wx:if="{{item.$orig.send_id!==userInfo.user_id}}"><view data-event-opts="{{[['tap',[['goToOther',['$0'],[[['letterList','',index]]]]]]]}}" class="cu-avatar radius data-v-54408d5d" bindtap="__e"><avatar vue-id="{{'707b7f22-1-'+index}}" userName="{{otherInfo.real_name}}" size="45" class="data-v-54408d5d" bind:__l="__l"></avatar></view></block><view class="main data-v-54408d5d"><view class="{{['content shadow data-v-54408d5d',item.m1]}}"><text class="data-v-54408d5d">{{item.$orig.content}}</text></view></view><block wx:if="{{item.$orig.send_id===userInfo.user_id}}"><view data-event-opts="{{[['tap',[['goToMy',['$event']]]]]}}" class="cu-avatar radius data-v-54408d5d" bindtap="__e"><avatar vue-id="{{'707b7f22-2-'+index}}" userName="{{userInfo.real_name}}" size="45" class="data-v-54408d5d" bind:__l="__l"></avatar></view></block><view class="date data-v-54408d5d">{{item.$orig.letter_create_time}}</view></view></block></view><view class="cu-bar foot input data-v-54408d5d" style="{{'bottom:'+(InputBottom+'px')+';'}}"><view class="action data-v-54408d5d"><text class="cuIcon-sound text-grey data-v-54408d5d"></text></view><input class="solid-bottom data-v-54408d5d" adjust-position="{{false}}" focus="{{false}}" maxlength="300" cursor-spacing="10" data-event-opts="{{[['focus',[['InputFocus',['$event']]]],['blur',[['InputBlur',['$event']]]],['input',[['__set_model',['','messageContent','$event',[]]]]]]}}" value="{{messageContent}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><view class="action data-v-54408d5d"><text class="cuIcon-emojifill text-grey data-v-54408d5d"></text></view><button data-event-opts="{{[['tap',[['sendMessage',['$event']]]]]}}" class="cu-btn bg-green shadow data-v-54408d5d" bindtap="__e">发送</button></view></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.js
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/message/message"],{"0412":function(t,e,n){"use strict";var a=n("3e47"),r=n.n(a);r.a},"0658":function(t,e,n){"use strict";(function(t){n("481f");a(n("66fd"));var e=a(n("c215"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"0821":function(t,e,n){},"0c0f":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.userName.slice(0,1));t.$mp.data=Object.assign({},{$root:{g0:n}})},o=[]},"21b3":function(t,e,n){"use strict";n.r(e);var a=n("0c0f"),r=n("9d02");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("0412");var u,i=n("f0c5"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"79e5d186",null,!1,a["a"],u);e["default"]=c.exports},"2ccd":function(t,e,n){"use strict";n.r(e);var a=n("7169"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"3e47":function(t,e,n){},7169:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("1da1")),r=o(n("21b3"));function o(t){return t&&t.__esModule?t:{default:t}}var u=function(){Promise.all([n.e("common/vendor"),n.e("components/noData/noData")]).then(function(){return resolve(n("c48a"))}.bind(null,n)).catch(n.oe)},i={components:{avatar:r.default,noData:u},data:function(){return{modalName:null,message:[],noData:!1}},onShow:function(){this.getPersonalPrivateLetter(),this.getTabBarNumber()},onPullDownRefresh:function(){this.getPersonalPrivateLetter(),this.getTabBarNumber(),t.startPullDownRefresh()},methods:{getTabBarNumber:function(){a.default.post("/hs/getTabBarNumber",{userId:t.getStorageSync("userInfo").user_id}).then((function(e){console.log("获取tabBar数字",e),e.data.unreadNumber>0?t.setTabBarBadge({index:3,text:e.data.unreadNumber.toString()}):t.removeTabBarBadge({index:3})}),(function(t){console.log("err",t)}))},goToMessage:function(e){t.setStorageSync("otherInfo",e.userInfo),t.navigateTo({url:"/pages/tabbar/message/chat-page"})},deleteMessage:function(){t.showToast({icon:"loading",title:"不能删除哦"})},getPersonalPrivateLetter:function(){var e=this;a.default.post("/hs/getPersonalPrivateLetterApp",{userId:t.getStorageSync("userInfo").user_id}).then((function(n){e.message=n.data,e.noData=!(n.data.length>0),e.message.forEach((function(e,n){var a=0;e.letterList.forEach((function(e){"0"===e.already_read&&e.receive_id===t.getStorageSync("userInfo").user_id&&a++})),e.unreadNumber=a})),e.message.forEach((function(n,a){n.userInfo.user_id===t.getStorageSync("userInfo").user_id&&e.message.splice(a,1)})),console.log("私信",n)}),(function(t){console.log("err",t)}))},ListTouchStart:function(t){this.listTouchStart=t.touches[0].pageX},ListTouchMove:function(t){this.listTouchDirection=t.touches[0].pageX-this.listTouchStart>0?"right":"left"},ListTouchEnd:function(t){"left"==this.listTouchDirection?this.modalName=t.currentTarget.dataset.target:this.modalName=null,this.listTouchDirection=null}}};e.default=i}).call(this,n("543d")["default"])},"9d02":function(t,e,n){"use strict";n.r(e);var a=n("d9f9"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},a05f:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={noData:function(){return Promise.all([n.e("common/vendor"),n.e("components/noData/noData")]).then(n.bind(null,"c48a"))}},r=function(){var t=this,e=t.$createElement;t._self._c},o=[]},a653:function(t,e,n){"use strict";var a=n("0821"),r=n.n(a);r.a},c215:function(t,e,n){"use strict";n.r(e);var a=n("a05f"),r=n("2ccd");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("a653");var u,i=n("f0c5"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"4f292851",null,!1,a["a"],u);e["default"]=c.exports},d9f9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{size:{type:String,default:"90"},userId:{type:String,default:""},userName:{type:String,default:"H"}},computed:{photoStyle:function(){return"font-size: ".concat(this.size,"rpx; width: ").concat(2*this.size,"rpx; height: ").concat(2*this.size,"rpx; line-height: ").concat(2*this.size,"rpx;")}},data:function(){return{}},methods:{}};e.default=a}},[["0658","common/runtime","common/vendor"]]]);
|
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.json
vendored
Normal file
10
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "消息",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"avatar": "/pages/components/avatar/avatar"
|
||||
}
|
||||
}
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.wxml
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="page data-v-4f292851"><block wx:if="{{noData===true}}"><view class="noData data-v-4f292851"><no-data vue-id="fdb36a42-1" custom="{{true}}" class="data-v-4f292851" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-4f292851">暂无消息,打开他人主页可私信</view></no-data></view></block><block wx:if="{{noData===false}}"><view class="cu-list menu-avatar data-v-4f292851"><block wx:for="{{message}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cu-item data-v-4f292851',modalName=='move-box-'+index?'move-cur':'']}}" data-target="{{'move-box-'+index}}" data-event-opts="{{[['touchstart',[['ListTouchStart',['$event']]]],['touchmove',[['ListTouchMove',['$event']]]],['touchend',[['ListTouchEnd',['$event']]]],['tap',[['goToMessage',['$0'],[[['message','',index]]]]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" bindtap="__e"><view class="header-photo data-v-4f292851"><avatar vue-id="{{'fdb36a42-2-'+index}}" userName="{{item.userInfo.real_name}}" size="50" class="data-v-4f292851" bind:__l="__l"></avatar></view><view class="content data-v-4f292851"><view class="text-grey data-v-4f292851">{{item.userInfo.real_name}}</view><view class="text-gray text-sm width data-v-4f292851">{{''+item.letterList[item.letterList.length-1].content+''}}</view></view><view class="action data-v-4f292851"><view class="text-grey text-xs data-v-4f292851">{{item.letterList[item.letterList.length-1].letter_create_time}}</view><block wx:if="{{item.unreadNumber===0}}"><view class="cu-tag round bg-grey sm data-v-4f292851">{{item.unreadNumber}}</view></block><block wx:if="{{item.unreadNumber>0}}"><view class="cu-tag round bg-red sm data-v-4f292851">{{item.unreadNumber}}</view></block></view><view class="move data-v-4f292851"><view data-event-opts="{{[['tap',[['deleteMessage',['$event']]]]]}}" class="bg-red data-v-4f292851" bindtap="__e">删除</view></view></view></block></view></block></view>
|
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.wxss
vendored
Normal file
1
HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/my/article-management/article-management"],{1867:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={noData:function(){return Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(e.bind(null,"c48a"))}},a=function(){var t=this,n=t.$createElement;t._self._c},c=[]},"18ab":function(t,n,e){"use strict";(function(t){e("481f");o(e("66fd"));var n=o(e("a43c"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"22fd":function(t,n,e){"use strict";var o=e("ab73"),a=e.n(o);a.a},"2c4b":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=c(e("1da1")),a=e("7960");function c(t){return t&&t.__esModule?t:{default:t}}var i=function(){e.e("components/mehaotian-search/mehaotian-search").then(function(){return resolve(e("7cee"))}.bind(null,e)).catch(e.oe)},r=function(){Promise.all([e.e("common/vendor"),e.e("components/noData/noData")]).then(function(){return resolve(e("c48a"))}.bind(null,e)).catch(e.oe)},u={components:{mSearch:i,noData:r},data:function(){return{noData:!1,searchStr:"",noticeList:[]}},computed:{noticeListQuery:function(){var t=this;return this.noticeList.filter((function(n){return-1!=n.title.indexOf(t.searchStr)||-1!=n.type.indexOf(t.searchStr)||-1!=n.real_name.indexOf(t.searchStr)}))}},onLoad:function(){},onShow:function(){this.getAllData()},onPullDownRefresh:function(){this.getAllData()},methods:{verifyArticle:function(n,e){var a={1:"通过",2:"驳回"},c=this;t.showModal({title:"审核",content:"确认".concat(a[e],"?"),success:function(i){i.confirm&&o.default.post("/admin/verifyArticle",{articleId:n.articleId,operating:e}).then((function(n){console.log("审核结果",n),n.data>0?(t.showToast({icon:"loading",title:"".concat(a[e],"成功")}),setTimeout((function(){c.getAllData()}),1e3)):t.showToast({icon:"none",title:"服务器出小差了,请稍后再试"})}),(function(t){console.log("err",t)}))}})},goToUserInfo:function(n){n.user_id===t.getStorageSync("userInfo").user_id?t.switchTab({url:"/pages/tabbar/my/my"}):t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(n.releaseId)})},goToDetails:function(n){t.navigateTo({url:"/pages/tabbar/homepage/data-details?noticeId=".concat(n.articleId,"&isMessage=false")})},getAllData:function(){var n=this;o.default.post("/admin/getVerifyList",{}).then((function(e){n.noticeList=e.data.sort((0,a.sortBy)("release_time",!1)),t.startPullDownRefresh(),n.noData=0===n.noticeList.length,console.log("文章管理数据",n.noticeList)}),(function(t){console.log("err",t)}))}}};n.default=u}).call(this,e("543d")["default"])},a43c:function(t,n,e){"use strict";e.r(n);var o=e("1867"),a=e("f42c");for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("22fd");var i,r=e("f0c5"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"90a3a3b0",null,!1,o["a"],i);n["default"]=u.exports},ab73:function(t,n,e){},f42c:function(t,n,e){"use strict";e.r(n);var o=e("2c4b"),a=e.n(o);for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=a.a}},[["18ab","common/runtime","common/vendor"]]]);
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "文章管理",
|
||||
"navigationBarBackgroundColor": "#333",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {
|
||||
"no-data": "/components/noData/noData",
|
||||
"m-search": "/components/mehaotian-search/mehaotian-search"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user