Skip to content

Commit

Permalink
一期完成开发
Browse files Browse the repository at this point in the history
  • Loading branch information
jackin.chen committed Mar 10, 2021
1 parent bdeae40 commit a1efac8
Show file tree
Hide file tree
Showing 216 changed files with 10,541 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# yezhushi-page
小程序前后端完全开源并免费商用的物业管理

小程序
20 changes: 20 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//app.js
import { Token } from 'utils/token.js';
App({
onLaunch: function () {
var token = new Token();
token.verify();
},
onShow:function(){

},

//使用全局变量解决页面的传值问题
globalData: {
address:'', //用户地址-在使用
userId: '', //用户userId
api: '', //接口地址
baseUrl: '', //图片地址
applet:'', //小程序名字
}
})
63 changes: 63 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"pages": [
"pages/start/start",
"pages/index/index",
"pages/my/my",
"pages/seek/seek",
"pages/about/about",
"pages/comNews/comNews",
"pages/community/community",
"pages/activelist/activelist",
"pages/noticelist/noticelist",
"pages/address/address",
"pages/repList/repList",
"pages/noticedetails/noticedetails",
"pages/add-address/add-address",
"pages/repDetails/repDetails",
"pages/repairs/repairs",
"pages/vote/vote",
"pages/voteSubject/voteSubject",
"pages/voteDetails/voteDetails",
"pages/player/player"
],
"window": {
"navigationBarBackgroundColor": "#F34A51",
"navigationBarTextStyle": "white",
"backgroundColor": "#F34A51",
"backgroundTextStyle": "light"
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "images/index.png",
"selectedIconPath": "images/index-hover.png"
},
{
"pagePath": "pages/vote/vote",
"text": "投票",
"iconPath": "images/cart.png",
"selectedIconPath": "images/cart-hover.png"
},
{
"pagePath": "pages/repairs/repairs",
"text": "报修",
"iconPath": "images/wuye.png",
"selectedIconPath": "images/wuye-hover.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "images/my.png",
"selectedIconPath": "images/my-hover.png"
}
],
"color": "#666",
"selectedColor": "#f34a51",
"borderStyle": "black",
"backgroundColor": "#fff",
"position": "bottom"
},
"sitemapLocation": "sitemap.json"
}
48 changes: 48 additions & 0 deletions app.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
page{
background: #F0F0F0;
color: #666;
font-size: 28rpx;
}
.pad24{padding:0 24rpx;}

.marb28{margin-bottom: 28rpx;}
.marb20{margin-bottom: 20rpx;}
.marb10{margin-bottom: 10rpx;}
.arrow{
display: flex;
justify-content: space-between;
align-items: center;
}
.arrow::after{
content: "";
width: 15rpx;
height: 15rpx;
border-top: 4rpx solid #ccc;
border-right: 4rpx solid #ccc;
transform: rotate(45deg);
display: block;
}
.arrow1{
display: flex;
justify-content: space-between;
align-items: center;
}
.arrow1::after{
content: "";
width: 15rpx;
height: 15rpx;
border-top: 4rpx solid #666;
border-right: 4rpx solid #666;
transform: rotate(45deg);
display: block;
}
Binary file added images/a_bianji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_cuxiao.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_dingwei.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_gg1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_huodong.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_lanyueliang.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_pjico1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_pjico2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_pjtp1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_sc_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_sc_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_shanchu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_super.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/a_touxiang.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/abeiyong.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/address-bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/adingdan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/adizhi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apingjia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/ashoucang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/asuosou.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/axinxi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/brand-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/brand-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/brand-03.png
Binary file added images/brand-04.png
Binary file added images/brand-05.png
Binary file added images/cart-01.png
Binary file added images/cart-02.png
Binary file added images/cart-03.png
Binary file added images/cart-hover.png
Binary file added images/cart-kong.png
Binary file added images/cart.png
Binary file added images/hongxing.png
Binary file added images/huixing.png
Binary file added images/index-01.png
Binary file added images/index-02.png
Binary file added images/index-03.jpg
Binary file added images/index-04.png
Binary file added images/index-05.png
Binary file added images/index-06.jpg
Binary file added images/index-bx.jpg
Binary file added images/index-gonggao.png
Binary file added images/index-hover.png
Binary file added images/index-sou.png
Binary file added images/index-top.jpg
Binary file added images/index.png
Binary file added images/jf-top.png
Binary file added images/jifen.png
Binary file added images/mall-01.jpg
Binary file added images/mall-02.png
Binary file added images/mall-03.png
Binary file added images/mall-04.png
Binary file added images/mall-05.png
Binary file added images/mall-06.png
Binary file added images/mall-07.jpg
Binary file added images/mall-08.jpg
Binary file added images/mall-phone.png
Binary file added images/mall-xq01.jpg
Binary file added images/mall-xq02.png
Binary file added images/mall-xq03.png
Binary file added images/mall-xq04.png
Binary file added images/mall-xq05.png
Binary file added images/mall-xq06.png
Binary file added images/my-01.jpg
Binary file added images/my-02.jpg
Binary file added images/my-03.png
Binary file added images/my-04.png
Binary file added images/my-05.png
Binary file added images/my-06.png
Binary file added images/my-07.png
Binary file added images/my-08.png
Binary file added images/my-b-01.png
Binary file added images/my-b-02.png
Binary file added images/my-b-03.png
Binary file added images/my-b-04.png
Binary file added images/my-b-05.png
Binary file added images/my-b-06.png
Binary file added images/my-b-07.png
Binary file added images/my-b-08.png
Binary file added images/my-b-09.png
Binary file added images/my-b-10.png
Binary file added images/my-b-11.png
Binary file added images/my-hover.png
Binary file added images/my.png
Binary file added images/news.jpg
Binary file added images/rep-01.jpg
Binary file added images/rep-02.png
Binary file added images/rep-03.jpg
Binary file added images/rep-03.png
Binary file added images/rep-04.png
Binary file added images/rep-05.png
Binary file added images/rep-06.png
Binary file added images/repxq-01.png
Binary file added images/repxq-02.png
Binary file added images/seek-01.png
Binary file added images/shop-xq01.jpg
Binary file added images/shopdetails-01.png
Binary file added images/shopdetails-03.png
Binary file added images/shopdetails-04.png
Binary file added images/shopdetails-05.png
Binary file added images/sqhd.jpg
Binary file added images/start.jpg
Binary file added images/submit-01.png
Binary file added images/warning.png
Binary file added images/wuye-hover.png
Binary file added images/wuye.png
38 changes: 38 additions & 0 deletions name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
��ҳ pages/index/index
����ҳ pages/start/start
���ﳵ pages/cart/cart
���߱��� pages/repairs/repairs
�ҵ� pages/my/my
�����б� pages/repList/repList
�������� pages/repDetails/repDetails
������ pages/repevaluate/repevaluate
������ϸ pages/integral/integral
Ʒ�ƽ� pages/brand/brand
�̳���ҳ pages/mall/mall
�������� pages/malldetails/malldetails
��Ʒ���� pages/shopDetails/shopDetails
��ɱ��Ʒ���� pages/shopDetails1/shopDetails1
��ɱȷ�϶��� pages/orderSubmit1/orderSubmit1
�����б� pages/orderList/orderList
�������� pages/orderDetails/orderDetails
�����˿� pages/orderRefund/orderRefund
ȷ�϶��� pages/orderSubmit/orderSubmit
����� pages/community/community
�������� pages/comNews/comNews
�������� pages/about/about
���� pages/seek/seek
������Ʒ pages/hotShop/hotShop
��Ʒ�Ƽ� pages/newShop/newShop
Ʒ�ƽ���Ʒ pages/brandShop/brandShop
�Ż���ɱ pages/seckill/seckill

��ַ���� pages/address/address
���ӵ�ַ pages/add-address/add-address
�����Ѷ pages/noticelist/noticelist
�������� pages/noticedetails/noticedetails
��Ʒ���� pages/evaluate/evaluate
�����б� pages/evaluatelist/evaluatelist
�ύ���� pages/submitevaluate/submitevaluate
�����б� pages/shoplist/shoplist
�����ղ� pages/shopcollect/shopcollect
���̻ pages/activelist/activelist
47 changes: 47 additions & 0 deletions pages/about/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// pages/about/about.js

import { Config } from '../../utils/config.js';
import { System } from '../../utils/system.js';

var system = new System();

Page({

data: {
mallName: '', //小程序名称
phoneNo: '', //客服电话
qqNo: '', //客服QQ
mailAddress: '', //邮箱
mallDesc: '', //小程序描述
showLoading:true,
},

onLoad: function(options) {

system.getSystemInfo((res)=>{
this.setData({
mallName: res.data.system_name,
phoneNo: res.data.system_phone,
qqNo: res.data.system_qq,
mailAddress: res.data.system_mail,
mallDesc: res.data.system_desc,
showLoading: false, //加载中动画
});

});
},
//分享
onShareAppMessage: function (res) {
return {
title: Config.applet,
path: 'pages/start/start'
};
},

//点击拨打电话
bindPhoto() {
wx.makePhoneCall({
phoneNumber: this.data.phoneNo
})
},
});
3 changes: 3 additions & 0 deletions pages/about/about.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "关于我们"
}
26 changes: 26 additions & 0 deletions pages/about/about.wxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--pages/about/about.wxml-->
<loading wx:if="{{showLoading}}">加载中</loading>
<view class="about">
<view class="about-title">{{mallName}}</view>
<view class="about-nr">
<view class="about-n-item" bindtap="bindPhoto">
<view>客服电话:</view>
<view class="arrow1">{{phoneNo}}</view>
</view>
<button class="about-n-item about-button" open-type="contact">
<view>在线客服:</view>
<view class="arrow1">点击即可与客服聊天</view>
</button>
<view class="about-n-item">
<view>客服QQ:</view>
<view>{{qqNo}}</view>
</view>
<view class="about-n-item">
<view>邮箱:</view>
<view>{{mailAddress}}</view>
</view>
<view class="about-jian">
<view><text>商城描述:</text>{{mallDesc}}</view>
</view>
</view>
</view>
60 changes: 60 additions & 0 deletions pages/about/about.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/* pages/about/about.wxss */
.about{
width: 100%;
height: auto;
}
.about-title{
height: 100rpx;
line-height: 100rpx;
padding-left: 24rpx;
font-size: 36rpx;
color:#F34A51;
}
.about-nr{
width: 702rpx;
height: auto;
background: #fff;
padding: 0 24rpx;
}
.about-n-item{
width: 100%;
height: 80rpx;
line-height: 80rpx;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #f0f0f0;
}
.about-button{
width: 100%;
background: #fff;
padding:0 5rpx 0 0;
margin: 0;
}
.about-button::after{
border:0;
}
.about-n-item>view:first-child{
font-size: 28rpx;
color: #333;
}
.about-n-item>view:last-child{
font-size: 26rpx;
color: #666;
}
.arrow1::after{
margin-left: 10rpx;
}
.about-jian{
width: 100%;
height: auto;
padding: 20rpx 0;
line-height: 42rpx;
}
.about-jian>view{
font-size: 24rpx;
color: #666;
}
.about-jian>view>text{
font-size: 28rpx;
color: #333;
}
Loading

0 comments on commit a1efac8

Please sign in to comment.