正在显示
55 个修改的文件
包含
721 行增加
和
95 行删除
1 | { | 1 | { |
2 | "pages": [ | 2 | "pages": [ |
3 | +<<<<<<< HEAD | ||
3 | "pages/my/approveInfo/approveInfo", | 4 | "pages/my/approveInfo/approveInfo", |
4 | "pages/my/approve/approve", | 5 | "pages/my/approve/approve", |
5 | "pages/matrix/article/article", | 6 | "pages/matrix/article/article", |
7 | +======= | ||
8 | +>>>>>>> 0a5cee808ca0c031c81f44d4480eb9075f9b9b2d | ||
6 | "pages/matrix/matrix", | 9 | "pages/matrix/matrix", |
7 | "pages/interact/interactPost/interactPost", | 10 | "pages/interact/interactPost/interactPost", |
8 | "pages/interact/interact", | 11 | "pages/interact/interact", |
9 | "pages/my/myAttention/myAttention", | 12 | "pages/my/myAttention/myAttention", |
10 | "pages/my/my", | 13 | "pages/my/my", |
11 | - "pages/index/index" | 14 | + "pages/matrix/article/article", |
15 | + "pages/matrix/company/company", | ||
16 | + "pages/attract/attract", | ||
17 | + "pages/attract/detail/detail" | ||
12 | ], | 18 | ], |
19 | + "tabBar": { | ||
20 | + "list": [ | ||
21 | + { | ||
22 | + "pagePath": "pages/matrix/matrix", | ||
23 | + "text": "企业矩阵", | ||
24 | + "iconPath": "/images/01_nav_fill@2x.png", | ||
25 | + "selectedIconPath": "images/01_nav_fill@2x.png" | ||
26 | + }, | ||
27 | + { | ||
28 | + "pagePath": "pages/attract/attract", | ||
29 | + "text": "政策宣传", | ||
30 | + "iconPath": "/images/02_nav@2x.png", | ||
31 | + "selectedIconPath": "images/02_nav_fill@2x.png" | ||
32 | + }, | ||
33 | + { | ||
34 | + "pagePath": "pages/matrix/matrix", | ||
35 | + "text": "政企互动", | ||
36 | + "iconPath": "/images/03_nav@2x.png", | ||
37 | + "selectedIconPath": "images/03_nav_fill@2x.png" | ||
38 | + }, | ||
39 | + { | ||
40 | + "pagePath": "pages/matrix/matrix", | ||
41 | + "text": "政企服务", | ||
42 | + "iconPath": "/images/04_nav@2x.png", | ||
43 | + "selectedIconPath": "images/04_nav_fill@2x.png" | ||
44 | + } | ||
45 | + ] | ||
46 | + }, | ||
13 | "window": { | 47 | "window": { |
14 | "backgroundTextStyle": "light", | 48 | "backgroundTextStyle": "light", |
15 | - "navigationBarBackgroundColor": "#fff", | ||
16 | - "navigationBarTitleText": "WeChat", | ||
17 | - "navigationBarTextStyle": "black" | 49 | + "navigationBarBackgroundColor": "#169BD5", |
50 | + "navigationBarTitleText": "政企服务平台", | ||
51 | + "navigationBarTextStyle": "white" | ||
18 | } | 52 | } |
19 | } | 53 | } |
images/beijing@3x.png
0 → 100644
4.0 KB
images/chakan@3x.png
0 → 100644
1.6 KB
images/company_banner.png
0 → 100644
38.6 KB
images/dainzan@3x.png
0 → 100644
471 字节
images/dainzanshu@3x.png
0 → 100644
1.4 KB
images/dianhua_hui@3x.png
0 → 100644
1.3 KB
images/dingwei@3x.png
0 → 100644
1.3 KB
images/erweima@3x.png
0 → 100644
1.1 KB
images/erwer_code.png
0 → 100644
7.7 KB
images/fengxiang @3x.png
0 → 100644
2.2 KB
images/fenlei@3x.png
0 → 100644
1.2 KB
images/guangfang@3x.png
0 → 100644
1.0 KB
images/huifujishi@3x.png
0 → 100644
11.0 KB
images/huifuyiban@3x.png
0 → 100644
11.0 KB
images/jiazai@3x.png
0 → 100644
1.3 KB
images/mail@3x.png
0 → 100644
1.1 KB
images/news.png
0 → 100644
31.9 KB
images/pinglun@3x.png
0 → 100644
1.1 KB
images/pinglun_fill@3x.png
0 → 100644
1.1 KB
images/pinglunshu@3x.png
0 → 100644
1.1 KB
images/ren@3x.png
0 → 100644
842 字节
images/shaixuan@3x.png
0 → 100644
963 字节
images/shiliang@3x.png
0 → 100644
559 字节
images/shipin@3x.png
0 → 100644
3.5 KB
images/shoucang@3x.png
0 → 100644
2.2 KB
images/thumb-up-button@3x.png
0 → 100644
906 字节
images/tishi@3x.png
0 → 100644
917 字节
images/weidu@3x.png
0 → 100644
951 字节
images/weirenzheng@3x.png
0 → 100644
20.8 KB
images/wodeguanzhu@3x.png
0 → 100644
1.3 KB
images/wodetiezi@3x.png
0 → 100644
888 字节
images/xiaoxi@3x.png
0 → 100644
1023 字节
images/xiepinglun@3x.png
0 → 100644
850 字节
images/youxiang@3x.png
0 → 100644
1.0 KB
images/zan@3x.png
0 → 100644
910 字节
images/zhaoshang.png
0 → 100644
75.9 KB
images/zuire@3x.png
0 → 100644
659 字节
images/zuoji@3x.png
0 → 100644
1.3 KB
pages/attract/attract.js
0 → 100644
1 | +// pages/attract/attract.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * 生命周期函数--监听页面加载 | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + chooseLocation(){ | ||
18 | + wx.chooseLocation({ | ||
19 | + success: function(res) {}, | ||
20 | + }) | ||
21 | + }, | ||
22 | + | ||
23 | + /** | ||
24 | + * 生命周期函数--监听页面初次渲染完成 | ||
25 | + */ | ||
26 | + onReady: function () { | ||
27 | + | ||
28 | + }, | ||
29 | + | ||
30 | + /** | ||
31 | + * 生命周期函数--监听页面显示 | ||
32 | + */ | ||
33 | + onShow: function () { | ||
34 | + | ||
35 | + }, | ||
36 | + | ||
37 | + /** | ||
38 | + * 生命周期函数--监听页面隐藏 | ||
39 | + */ | ||
40 | + onHide: function () { | ||
41 | + | ||
42 | + }, | ||
43 | + | ||
44 | + /** | ||
45 | + * 生命周期函数--监听页面卸载 | ||
46 | + */ | ||
47 | + onUnload: function () { | ||
48 | + | ||
49 | + }, | ||
50 | + | ||
51 | + /** | ||
52 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
53 | + */ | ||
54 | + onPullDownRefresh: function () { | ||
55 | + | ||
56 | + }, | ||
57 | + | ||
58 | + /** | ||
59 | + * 页面上拉触底事件的处理函数 | ||
60 | + */ | ||
61 | + onReachBottom: function () { | ||
62 | + | ||
63 | + }, | ||
64 | + | ||
65 | + /** | ||
66 | + * 用户点击右上角分享 | ||
67 | + */ | ||
68 | + onShareAppMessage: function () { | ||
69 | + | ||
70 | + } | ||
71 | +}) |
pages/attract/attract.wxml
0 → 100644
1 | +<!--pages/attract/attract.wxml--> | ||
2 | +<view class='main_container'> | ||
3 | + <view class='top_banner'> | ||
4 | + <image src='/images/zhaoshang.png' width='100%' mode='widthFix'></image> | ||
5 | + </view> | ||
6 | + | ||
7 | + <!-- 菜单按钮 --> | ||
8 | + <view class='menu_content'> | ||
9 | + <view class='menu_items'> | ||
10 | + <view class='menu_item active'>全部</view> | ||
11 | + <view class='menu_item'>党建</view> | ||
12 | + <view class='menu_item'>政治</view> | ||
13 | + <view class='menu_item'>经济</view> | ||
14 | + <view class='menu_item'>民生</view> | ||
15 | + </view> | ||
16 | + <view class='paixun'> | ||
17 | + <image src='/images/shaixuan@3x.png' mode='widthFix'></image> | ||
18 | + </view> | ||
19 | + </view> | ||
20 | + | ||
21 | + <!-- 新闻 --> | ||
22 | + <view class='news_detail_container'> | ||
23 | + <view class='news_detail_items'> | ||
24 | + <view class='news_detail_item'> | ||
25 | + <view class='new_info'> | ||
26 | + <view class='new_title'>市国土管局关于同意西青李七庄街天骄北道侧工业地块农用地转用土地征收实施方案的函</view> | ||
27 | + | ||
28 | + <view class='new_time_address'> | ||
29 | + <view class='form'>腾讯新闻</view> | ||
30 | + <view class='time'>2019.01.01</view> | ||
31 | + </view> | ||
32 | + </view> | ||
33 | + <view class='new_info_image'> | ||
34 | + <image src='/images/news.png' mode='widthFix'></image> | ||
35 | + </view> | ||
36 | + </view> | ||
37 | + <view class='news_detail_item'> | ||
38 | + <view class='new_info'> | ||
39 | + <view class='new_title'>市国土管局关于同意西青李七庄街天骄北道侧工业地块农用地转用土地征收实施方案的函</view> | ||
40 | + | ||
41 | + <view class='new_time_address'> | ||
42 | + <view class='form'>腾讯新闻</view> | ||
43 | + <view class='time'>2019.01.01</view> | ||
44 | + </view> | ||
45 | + </view> | ||
46 | + </view> | ||
47 | + </view> | ||
48 | + </view> | ||
49 | +</view> |
pages/attract/attract.wxss
0 → 100644
1 | +/* pages/attract/attract.wxss */ | ||
2 | +page{ | ||
3 | + background: #F7F7F7; | ||
4 | +} | ||
5 | +.top_banner image{ | ||
6 | + width: 100%; | ||
7 | +} | ||
8 | +.menu_content{ | ||
9 | + display: flex; | ||
10 | +} | ||
11 | +.menu_items{ | ||
12 | + display: flex; | ||
13 | + font-size: 26rpx; | ||
14 | + background: #FFF; | ||
15 | + border-bottom: 2rpx solid #f5f5f5; | ||
16 | + position: relative; | ||
17 | + flex: 1; | ||
18 | +} | ||
19 | +.menu_item{ | ||
20 | + height: 74rpx; | ||
21 | + padding: 0 40rpx; | ||
22 | + line-height: 74rpx; | ||
23 | +} | ||
24 | +.menu_item.active{ | ||
25 | + color: #169BD5; | ||
26 | +} | ||
27 | +.paixun{ | ||
28 | + position: relative; | ||
29 | + height: 100%; | ||
30 | + display: flex; | ||
31 | + align-items: center; | ||
32 | + height: 74rpx; | ||
33 | + width: 78rpx; | ||
34 | + justify-content: center; | ||
35 | + background-color: #FFF; | ||
36 | +} | ||
37 | +.paixun image{ | ||
38 | + width: 32rpx; | ||
39 | +} | ||
40 | +.paixun:before{ | ||
41 | + content:''; | ||
42 | + height: 32rpx; | ||
43 | + width: 2rpx; | ||
44 | + background-color: #f5f5f5; | ||
45 | + top: 50%; | ||
46 | + left: 0; | ||
47 | + position: absolute; | ||
48 | + transform: translateY(-50%); | ||
49 | +} | ||
50 | +.news_detail_container{ | ||
51 | + background: #FFF; | ||
52 | +} | ||
53 | +.news_detail_items{ | ||
54 | + margin: 0 32rpx; | ||
55 | +} | ||
56 | +.news_detail_item{ | ||
57 | + border-bottom:2rpx solid #f5f5f5; | ||
58 | + display: flex; | ||
59 | + padding: 24rpx 0; | ||
60 | +} | ||
61 | +.news_detail_item:last-child{ | ||
62 | + border: none; | ||
63 | +} | ||
64 | +.new_info_image{ | ||
65 | + width: 248rpx; | ||
66 | + height: 146rpx; | ||
67 | + border-radius: 8rpx; | ||
68 | + overflow: hidden; | ||
69 | + margin-left: 32rpx; | ||
70 | +} | ||
71 | +.new_info_image image{ | ||
72 | + width: 100%; | ||
73 | +} | ||
74 | +.new_info{ | ||
75 | + flex: 1; | ||
76 | + height: 146rpx; | ||
77 | + display: flex; | ||
78 | + flex-flow: column; | ||
79 | + justify-content: space-between; | ||
80 | + font-size: 32rpx; | ||
81 | + color: #333; | ||
82 | + | ||
83 | +} | ||
84 | +.new_title{ | ||
85 | + display: -webkit-box; | ||
86 | + word-break: break-all; | ||
87 | + text-overflow: ellipsis; | ||
88 | + overflow: hidden; | ||
89 | + -webkit-box-orient: vertical; | ||
90 | + -webkit-line-clamp:2; | ||
91 | +} | ||
92 | +.new_time_address{ | ||
93 | + display: flex; | ||
94 | + align-items: center; | ||
95 | + justify-content: space-between; | ||
96 | + font-size: 22rpx; | ||
97 | + color: #999; | ||
98 | +} |
pages/attract/detail/detail.js
0 → 100644
1 | +// pages/attract/detail/detail.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * 生命周期函数--监听页面加载 | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + | ||
18 | + /** | ||
19 | + * 生命周期函数--监听页面初次渲染完成 | ||
20 | + */ | ||
21 | + onReady: function () { | ||
22 | + | ||
23 | + }, | ||
24 | + | ||
25 | + /** | ||
26 | + * 生命周期函数--监听页面显示 | ||
27 | + */ | ||
28 | + onShow: function () { | ||
29 | + | ||
30 | + }, | ||
31 | + | ||
32 | + /** | ||
33 | + * 生命周期函数--监听页面隐藏 | ||
34 | + */ | ||
35 | + onHide: function () { | ||
36 | + | ||
37 | + }, | ||
38 | + | ||
39 | + /** | ||
40 | + * 生命周期函数--监听页面卸载 | ||
41 | + */ | ||
42 | + onUnload: function () { | ||
43 | + | ||
44 | + }, | ||
45 | + | ||
46 | + /** | ||
47 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
48 | + */ | ||
49 | + onPullDownRefresh: function () { | ||
50 | + | ||
51 | + }, | ||
52 | + | ||
53 | + /** | ||
54 | + * 页面上拉触底事件的处理函数 | ||
55 | + */ | ||
56 | + onReachBottom: function () { | ||
57 | + | ||
58 | + }, | ||
59 | + | ||
60 | + /** | ||
61 | + * 用户点击右上角分享 | ||
62 | + */ | ||
63 | + onShareAppMessage: function () { | ||
64 | + | ||
65 | + } | ||
66 | +}) |
pages/attract/detail/detail.json
0 → 100644
pages/attract/detail/detail.wxml
0 → 100644
1 | +<view class='main_container'> | ||
2 | + <view class='video_box'> | ||
3 | + <view class='video_title'>李七庄街将增1所普惠性民办园解决入...</view> | ||
4 | + <view class='video_icon'> | ||
5 | + <image src='/images/shipin@3x.png' mode='widthFix'></image> | ||
6 | + </view> | ||
7 | + </view> | ||
8 | + <!-- 招商优势 --> | ||
9 | + <view class='single_item_container'> | ||
10 | + <view class='top_label'> | ||
11 | + <view class='top_label_detail'>招商优势</view> | ||
12 | + </view> | ||
13 | + </view> | ||
14 | + | ||
15 | + <!-- 招商咨询 --> | ||
16 | + <view class='single_item_container'> | ||
17 | + <view class='top_label'> | ||
18 | + <view class='top_label_detail'>招商咨询</view> | ||
19 | + </view> | ||
20 | + <view class='zixun_container'> | ||
21 | + <view class='zixun_item'> | ||
22 | + <view class='zixun_icon'> | ||
23 | + <image src='/images/zuoji@3x.png' mode='aspectFit'></image> | ||
24 | + </view> | ||
25 | + <view class='zixun_content'>010-6786788</view> | ||
26 | + </view> | ||
27 | + <view class='zixun_item'> | ||
28 | + <view class='zixun_icon'> | ||
29 | + <image src='/images/mail@3x.png' mode='aspectFit'></image> | ||
30 | + </view> | ||
31 | + <view class='zixun_content'>1215633925@qq.com</view> | ||
32 | + </view> | ||
33 | + <view class='zixun_item'> | ||
34 | + <view class='zixun_icon'> | ||
35 | + <image src='/images/zuoji@3x.png' mode='aspectFit'></image> | ||
36 | + </view> | ||
37 | + <view class='zixun_content'> | ||
38 | + <view class='erwei_code'> | ||
39 | + <view class='img_box'> | ||
40 | + <image src='/images/erwer_code.png' mode='widthFix'></image> | ||
41 | + </view> | ||
42 | + <view class='img_box'> | ||
43 | + <image src='/images/erwer_code.png' mode='widthFix'></image> | ||
44 | + </view> | ||
45 | + </view> | ||
46 | + <view>扫描二维码,关注公众号</view> | ||
47 | + </view> | ||
48 | + </view> | ||
49 | + </view> | ||
50 | + </view> | ||
51 | +</view> |
pages/attract/detail/detail.wxss
0 → 100644
1 | +/* pages/attract/detail/detail.wxss */ | ||
2 | +.video_box { | ||
3 | + width: 682rpx; | ||
4 | + height: 430rpx; | ||
5 | + margin: 0 auto; | ||
6 | + background-color: rgba(0,0,0,.6); | ||
7 | + position: relative; | ||
8 | + padding-top: 32rpx; | ||
9 | +} | ||
10 | +.video_icon{ | ||
11 | + width: 96rpx; | ||
12 | + height: 96rpx; | ||
13 | + position: absolute; | ||
14 | + top: 50%; | ||
15 | + left: 50%; | ||
16 | + transform: translate(-50%,-50%); | ||
17 | +} | ||
18 | +.video_icon image{ | ||
19 | + width: 100%; | ||
20 | +} | ||
21 | +.video_title{ | ||
22 | + margin:0 32rpx; | ||
23 | + display: -webkit-box; | ||
24 | + word-break: break-all; | ||
25 | + text-overflow: ellipsis; | ||
26 | + overflow: hidden; | ||
27 | + -webkit-box-orient: vertical; | ||
28 | + -webkit-line-clamp:1; | ||
29 | + color: #FFF; | ||
30 | + font-size: 30rpx; | ||
31 | +} | ||
32 | +.single_item_container{ | ||
33 | + margin-top: 30rpx; | ||
34 | + border-bottom: 2rpx solid #f5f5f5; | ||
35 | + min-height: 400rpx; | ||
36 | +} | ||
37 | +.top_label{ | ||
38 | + padding: 20rpx 0; | ||
39 | + font-size: 36rpx; | ||
40 | + color: #333; | ||
41 | + font-weight: bold; | ||
42 | + position: relative; | ||
43 | + bottom: 2rpx solid #f5f5f5; | ||
44 | + border-bottom: 2rpx solid #f5f5f5; | ||
45 | +} | ||
46 | +.top_label_detail{ | ||
47 | + margin-left: 32rpx; | ||
48 | + position: relative; | ||
49 | + padding-left: 20rpx; | ||
50 | +} | ||
51 | +.top_label_detail:before{ | ||
52 | + content:''; | ||
53 | + position: absolute; | ||
54 | + top: 50%; | ||
55 | + transform: translateY(-50%); | ||
56 | + width: 8rpx; | ||
57 | + height: 32rpx; | ||
58 | + left: 0; | ||
59 | + background-color: #000; | ||
60 | +} | ||
61 | +.zixun_container{ | ||
62 | + padding-left: 56rpx; | ||
63 | +} | ||
64 | +.zixun_item{ | ||
65 | + display: flex; | ||
66 | + justify-content: flex-start; | ||
67 | + margin: 30rpx 0; | ||
68 | +} | ||
69 | +.zixun_icon{ | ||
70 | + height: 28rpx; | ||
71 | + width: 32rpx; | ||
72 | + align-self: flex-start; | ||
73 | +} | ||
74 | +.zixun_icon image { | ||
75 | + width: 100%; | ||
76 | + height: 100%; | ||
77 | + display: block; | ||
78 | +} | ||
79 | +.zixun_content{ | ||
80 | + font-size: 28rpx; | ||
81 | + line-height: 1; | ||
82 | + color: #333; | ||
83 | + margin-left: 10rpx; | ||
84 | +} | ||
85 | + | ||
86 | +.erwei_code { | ||
87 | + display: flex; | ||
88 | + margin-bottom: 20rpx; | ||
89 | +} | ||
90 | +.img_box{ | ||
91 | + width: 88rpx; | ||
92 | + height: 88rpx; | ||
93 | + margin-right: 20rpx; | ||
94 | +} | ||
95 | +.img_box image{ | ||
96 | + width: 100%; | ||
97 | +} |
pages/index/index.js
已删除
100644 → 0
1 | -//index.js | ||
2 | -//获取应用实例 | ||
3 | -const app = getApp() | ||
4 | - | ||
5 | -Page({ | ||
6 | - data: { | ||
7 | - motto: 'Hello World', | ||
8 | - userInfo: {}, | ||
9 | - hasUserInfo: false, | ||
10 | - canIUse: wx.canIUse('button.open-type.getUserInfo') | ||
11 | - }, | ||
12 | - //事件处理函数 | ||
13 | - bindViewTap: function() { | ||
14 | - wx.navigateTo({ | ||
15 | - url: '../logs/logs' | ||
16 | - }) | ||
17 | - }, | ||
18 | - onLoad: function () { | ||
19 | - if (app.globalData.userInfo) { | ||
20 | - this.setData({ | ||
21 | - userInfo: app.globalData.userInfo, | ||
22 | - hasUserInfo: true | ||
23 | - }) | ||
24 | - } else if (this.data.canIUse){ | ||
25 | - // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回 | ||
26 | - // 所以此处加入 callback 以防止这种情况 | ||
27 | - app.userInfoReadyCallback = res => { | ||
28 | - this.setData({ | ||
29 | - userInfo: res.userInfo, | ||
30 | - hasUserInfo: true | ||
31 | - }) | ||
32 | - } | ||
33 | - } else { | ||
34 | - // 在没有 open-type=getUserInfo 版本的兼容处理 | ||
35 | - wx.getUserInfo({ | ||
36 | - success: res => { | ||
37 | - app.globalData.userInfo = res.userInfo | ||
38 | - this.setData({ | ||
39 | - userInfo: res.userInfo, | ||
40 | - hasUserInfo: true | ||
41 | - }) | ||
42 | - } | ||
43 | - }) | ||
44 | - } | ||
45 | - }, | ||
46 | - getUserInfo: function(e) { | ||
47 | - console.log(e) | ||
48 | - app.globalData.userInfo = e.detail.userInfo | ||
49 | - this.setData({ | ||
50 | - userInfo: e.detail.userInfo, | ||
51 | - hasUserInfo: true | ||
52 | - }) | ||
53 | - } | ||
54 | -}) |
pages/index/index.wxml
已删除
100644 → 0
1 | -<!--index.wxml--> | ||
2 | -<view class="container"> | ||
3 | - <view class="userinfo"> | ||
4 | - <button wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button> | ||
5 | - <block wx:else> | ||
6 | - <image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image> | ||
7 | - <text class="userinfo-nickname">{{userInfo.nickName}}</text> | ||
8 | - </block> | ||
9 | - </view> | ||
10 | - <view class="usermotto"> | ||
11 | - <text class="user-motto">{{motto}}</text> | ||
12 | - </view> | ||
13 | -</view> |
pages/index/index.wxss
已删除
100644 → 0
1 | -/**index.wxss**/ | ||
2 | -.userinfo { | ||
3 | - display: flex; | ||
4 | - flex-direction: column; | ||
5 | - align-items: center; | ||
6 | -} | ||
7 | - | ||
8 | -.userinfo-avatar { | ||
9 | - width: 128rpx; | ||
10 | - height: 128rpx; | ||
11 | - margin: 20rpx; | ||
12 | - border-radius: 50%; | ||
13 | -} | ||
14 | - | ||
15 | -.userinfo-nickname { | ||
16 | - color: #aaa; | ||
17 | -} | ||
18 | - | ||
19 | -.usermotto { | ||
20 | - margin-top: 200px; | ||
21 | -} |
pages/matrix/company/company.js
0 → 100644
1 | +// pages/matrix/company/company.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * 生命周期函数--监听页面加载 | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + | ||
18 | + /** | ||
19 | + * 生命周期函数--监听页面初次渲染完成 | ||
20 | + */ | ||
21 | + onReady: function () { | ||
22 | + | ||
23 | + }, | ||
24 | + | ||
25 | + /** | ||
26 | + * 生命周期函数--监听页面显示 | ||
27 | + */ | ||
28 | + onShow: function () { | ||
29 | + | ||
30 | + }, | ||
31 | + | ||
32 | + /** | ||
33 | + * 生命周期函数--监听页面隐藏 | ||
34 | + */ | ||
35 | + onHide: function () { | ||
36 | + | ||
37 | + }, | ||
38 | + | ||
39 | + /** | ||
40 | + * 生命周期函数--监听页面卸载 | ||
41 | + */ | ||
42 | + onUnload: function () { | ||
43 | + | ||
44 | + }, | ||
45 | + | ||
46 | + /** | ||
47 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
48 | + */ | ||
49 | + onPullDownRefresh: function () { | ||
50 | + | ||
51 | + }, | ||
52 | + | ||
53 | + /** | ||
54 | + * 页面上拉触底事件的处理函数 | ||
55 | + */ | ||
56 | + onReachBottom: function () { | ||
57 | + | ||
58 | + }, | ||
59 | + | ||
60 | + /** | ||
61 | + * 用户点击右上角分享 | ||
62 | + */ | ||
63 | + onShareAppMessage: function () { | ||
64 | + | ||
65 | + } | ||
66 | +}) |
pages/matrix/company/company.json
0 → 100644
pages/matrix/company/company.wxml
0 → 100644
1 | +<!--pages/matrix/company/company.wxml--> | ||
2 | +<view class='main_container'> | ||
3 | + <view class='banner_top'> | ||
4 | + <image src='/images/company_banner.png' mode='widthFix'></image> | ||
5 | + </view> | ||
6 | + <!-- detailInfo --> | ||
7 | + <view class='compony_info'> | ||
8 | + <view class='compony_title'> | ||
9 | + <view class='compony_left'>金沃斯英语在线教育</view> | ||
10 | + <view class='focus_button'>+ 关注</view> | ||
11 | + </view> | ||
12 | + | ||
13 | + <view class='detailInfo_items'> | ||
14 | + <view class='detailInfo_item'> | ||
15 | + <view class='detail_icon'> | ||
16 | + <image src='/images/dianhua_hui@3x.png' mode='aspectFit'></image> | ||
17 | + </view> | ||
18 | + <view class='detail_text'>400-2759666</view> | ||
19 | + </view> | ||
20 | + <view class='detailInfo_item'> | ||
21 | + <view class='detail_icon'> | ||
22 | + <image src='/images/mail@3x.png' mode='aspectFit'></image> | ||
23 | + </view> | ||
24 | + <view class='detail_text'>26986669@qq.com</view> | ||
25 | + </view> | ||
26 | + <view class='detailInfo_item'> | ||
27 | + <view class='detail_icon'> | ||
28 | + <image src='/images/dingwei@3x.png' mode='aspectFit'></image> | ||
29 | + </view> | ||
30 | + <view class='detail_text'>天津市和平区南津路129号云川大厦1001</view> | ||
31 | + </view> | ||
32 | + </view> | ||
33 | + | ||
34 | + <view class='detailInfo_desc'> | ||
35 | + <view class='fanwei'> | ||
36 | + 经营范围:英国的风俗习惯 、传统 、沟通方式 、国家概况 、文化等各方面有相当程度的了解。 | ||
37 | + </view> | ||
38 | + <view class='company_desc'> | ||
39 | + 公司简介:金沃斯在线英语教育(GVE)成立于2015年1月,是来自加拿大的在线英语教育公司,总部及产品研发中心位于加拿大多伦多,在中国天津设有运营中心... | ||
40 | + </view> | ||
41 | + <view class='open'> | ||
42 | + 展开 | ||
43 | + </view> | ||
44 | + </view> | ||
45 | + <!-- 企业推荐 --> | ||
46 | + <view class='tuijian_content'> | ||
47 | + <view class='tuijian_item'> | ||
48 | + 企业推荐:网易云 | ||
49 | + </view> | ||
50 | + <view class='tuijian_item'> | ||
51 | + 企业推荐:易云端科技有限公司 | ||
52 | + </view> | ||
53 | + </view> | ||
54 | + </view> | ||
55 | +</view> |
pages/matrix/company/company.wxss
0 → 100644
1 | +/* pages/matrix/company/company.wxss */ | ||
2 | +page{ | ||
3 | + background-color: #f7f7f7; | ||
4 | +} | ||
5 | +.main_container{ | ||
6 | + width: 688rpx; | ||
7 | + margin: 32rpx auto 0; | ||
8 | + background-color: #FFF; | ||
9 | +} | ||
10 | +.banner_top{ | ||
11 | + height: 236rpx; | ||
12 | +} | ||
13 | +.banner_top image{ | ||
14 | + width: 100% | ||
15 | +} | ||
16 | +.compony_info{ | ||
17 | + padding: 0 30rpx; | ||
18 | + margin: 20rpx 0; | ||
19 | +} | ||
20 | +.compony_title{ | ||
21 | + display: flex; | ||
22 | + justify-content: space-between; | ||
23 | +} | ||
24 | +.compony_left{ | ||
25 | + color: #333; | ||
26 | + font-size: 30rpx; | ||
27 | + font-weight: bold; | ||
28 | +} | ||
29 | +.focus_button{ | ||
30 | + width: 128rpx; | ||
31 | + height: 48rpx; | ||
32 | + border:2rpx solid rgba(22, 155, 213, 1); | ||
33 | + opacity:1; | ||
34 | + border-radius: 8rpx; | ||
35 | + color: #169BD6; | ||
36 | + font-size: 26rpx; | ||
37 | + display: flex; | ||
38 | + align-items: center; | ||
39 | + justify-content: center; | ||
40 | +} | ||
41 | +.detailInfo_items{ | ||
42 | + margin-top: 20rpx; | ||
43 | + padding-bottom: 28rpx; | ||
44 | + border-bottom: 2rpx solid #f5f5f5; | ||
45 | +} | ||
46 | +.detailInfo_item{ | ||
47 | + font-size: 26rpx; | ||
48 | + display: flex; | ||
49 | + display: -webkit-flex; | ||
50 | + margin-bottom: 20rpx; | ||
51 | + color: #666; | ||
52 | + align-items: center; | ||
53 | +} | ||
54 | +.detail_icon{ | ||
55 | + height: 48rpx; | ||
56 | + width: 48rpx; | ||
57 | + display: flex; | ||
58 | + align-items: center; | ||
59 | + justify-content: center; | ||
60 | + margin-right: 20rpx; | ||
61 | +} | ||
62 | +.detail_icon image{ | ||
63 | + height: 100%; | ||
64 | +} | ||
65 | +.detailInfo_desc{ | ||
66 | + color: #999; | ||
67 | + font-size: 26rpx; | ||
68 | + line-height: 38rpx; | ||
69 | + margin-top: 30rpx; | ||
70 | +} | ||
71 | +.company_desc{ | ||
72 | + display: -webkit-box; | ||
73 | + word-break: break-all; | ||
74 | + text-overflow: ellipsis; | ||
75 | + overflow: hidden; | ||
76 | + -webkit-box-orient: vertical; | ||
77 | + -webkit-line-clamp:3; | ||
78 | + margin-top: 16rpx; | ||
79 | +} | ||
80 | +.open{ | ||
81 | + height: 96rpx; | ||
82 | + display: flex; | ||
83 | + align-items: center; | ||
84 | + justify-content: center; | ||
85 | +} | ||
86 | + | ||
87 | +.tuijian_content{ | ||
88 | + height: 174rpx; | ||
89 | + display: flex; | ||
90 | + align-items: flex-start; | ||
91 | + flex-flow: column; | ||
92 | + justify-content: center; | ||
93 | + color: #169BD5; | ||
94 | + font-size: 26rpx; | ||
95 | + border-top: 2rpx solid #F5F5F5; | ||
96 | +} |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | }, | 13 | }, |
14 | "compileType": "miniprogram", | 14 | "compileType": "miniprogram", |
15 | "libVersion": "2.6.1", | 15 | "libVersion": "2.6.1", |
16 | - "appid": "wx9053b434e50ee2dd", | 16 | + "appid": "wx75855734b0730d64", |
17 | "projectname": "%E6%9D%8E%E4%B8%83%E5%BA%84", | 17 | "projectname": "%E6%9D%8E%E4%B8%83%E5%BA%84", |
18 | "debugOptions": { | 18 | "debugOptions": { |
19 | "hidedInDevtools": [] | 19 | "hidedInDevtools": [] |
@@ -28,13 +28,38 @@ | @@ -28,13 +28,38 @@ | ||
28 | "current": -1, | 28 | "current": -1, |
29 | "list": [] | 29 | "list": [] |
30 | }, | 30 | }, |
31 | + "plugin": { | ||
32 | + "current": -1, | ||
33 | + "list": [] | ||
34 | + }, | ||
31 | "game": { | 35 | "game": { |
32 | "currentL": -1, | 36 | "currentL": -1, |
33 | "list": [] | 37 | "list": [] |
34 | }, | 38 | }, |
35 | "miniprogram": { | 39 | "miniprogram": { |
36 | - "current": -1, | ||
37 | - "list": [] | 40 | + "current": 2, |
41 | + "list": [ | ||
42 | + { | ||
43 | + "id": -1, | ||
44 | + "name": "公司详情", | ||
45 | + "pathName": "pages/matrix/company/company", | ||
46 | + "query": "", | ||
47 | + "scene": null | ||
48 | + }, | ||
49 | + { | ||
50 | + "id": -1, | ||
51 | + "name": "政策宣传", | ||
52 | + "pathName": "pages/attract/attract", | ||
53 | + "query": "", | ||
54 | + "scene": null | ||
55 | + }, | ||
56 | + { | ||
57 | + "id": -1, | ||
58 | + "name": "政策宣传详情", | ||
59 | + "pathName": "pages/attract/detail/detail", | ||
60 | + "scene": null | ||
61 | + } | ||
62 | + ] | ||
38 | } | 63 | } |
39 | } | 64 | } |
40 | } | 65 | } |
-
请 注册 或 登录 后发表评论