Procházet zdrojové kódy

Merge branch 'master' of http://git.ycjcjy.com/whole-estate/wxmini

wangfei před 6 roky
rodič
revize
5f83666495

+ 1
- 0
app.json Zobrazit soubor

@@ -1,6 +1,7 @@
1 1
 {
2 2
   "pages": [
3 3
     "pages/index/index",
4
+    "pages/VisitorList/index",
4 5
     "pages/EstateDetail/index",
5 6
     "pages/AppointmentTime/index",
6 7
     "pages/UserCenter/UserInfo/index",

binární
assets/images/icon42.png Zobrazit soubor


binární
assets/images/icon43.png Zobrazit soubor


binární
assets/images/img2.jpg Zobrazit soubor


+ 4
- 2
pages/components/Mine/index.wxml Zobrazit soubor

@@ -12,7 +12,7 @@
12 12
       <text class="userPhone">{{userInfo.phone || ''}}</text>
13 13
     </view>
14 14
     <view class="centerLabel unsigned" wx:else>
15
-      <button open-type="getUserInfo" bindgetuserinfo="signup" >
15
+      <button open-type="getUserInfo" bindgetuserinfo="signup">
16 16
         授权注册
17 17
       </button>
18 18
     </view>
@@ -20,12 +20,14 @@
20 20
   <view class="list">
21 21
     <view>
22 22
       <view>
23
+        <image mode="widthFix" src="/assets/images/icon42.png" class="listBg"></image>
23 24
         <view class="item flex-h" wx:for="{{UserSetList}}" wx:for-item="item" wx:for-index="idx" wx:key="key" data-type="{{idx}}" bindtap="ListTap">
24 25
           <image mode="widthFix" data-type="{{idx}}" src="{{item.icon}}" style="width: 32rpx;"></image>
25 26
           <text class="flex-item" data-type="{{idx}}">{{item.value}}</text>
27
+          <text style="font-weight: normal;color: #999;">0</text>
26 28
           <image mode="widthFix" data-type="{{idx}}" src="/assets/images/icon11.png" style="width: 18rpx;"></image>
27 29
         </view>
28 30
       </view>
29 31
     </view>
30 32
   </view>
31
-</view>
33
+</view>

+ 11
- 0
pages/components/Mine/index.wxss Zobrazit soubor

@@ -88,6 +88,16 @@
88 88
   box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, .05);
89 89
 }
90 90
 
91
+.listBg {
92
+  display: inline-block;
93
+  position: absolute;
94
+  right: 10rpx;
95
+  bottom: 40rpx;
96
+  opacity: 0.06;
97
+  z-index: 1;
98
+  width: 400rpx;
99
+}
100
+
91 101
 .list > view > view {
92 102
   padding: 0 45rpx;
93 103
   position: relative;
@@ -100,6 +110,7 @@
100 110
   overflow: hidden;
101 111
   padding: 30rpx 0;
102 112
   align-items: center;
113
+  z-index: 2;
103 114
 }
104 115
 
105 116
 .item:first-child {

+ 2
- 0
pages/components/SubIndex/index.wxss Zobrazit soubor

@@ -279,6 +279,8 @@
279 279
   color: #666;
280 280
 }
281 281
 
282
+
283
+
282 284
 /* .top {
283 285
   width: 100%;
284 286
   position: relative;

+ 1
- 0
pages/index/index.js Zobrazit soubor

@@ -10,6 +10,7 @@ create(store, {
10 10
     })
11 11
   },
12 12
   data: {
13
+    ShowLayer: true,
13 14
     NavList: [{ // navlist数据
14 15
       value: '首页',
15 16
       icon: '/assets/images/icon1.png'

+ 12
- 0
pages/index/index.wxml Zobrazit soubor

@@ -34,4 +34,16 @@
34 34
     </view>
35 35
   </view>
36 36
 
37
+  <!-- 弹窗 -->
38
+  <view class="layer" hidden="{{!ShowLayer}}">
39
+    <view class="centerLabel">
40
+      <view class="top">
41
+        <image mode="widthFix" src="/assets/images/icon43.png"></image>
42
+      </view>
43
+      <view class="content">
44
+        引用内容
45
+      </view>
46
+    </view>
47
+  </view>
48
+
37 49
 </view>

+ 38
- 0
pages/index/index.wxss Zobrazit soubor

@@ -70,3 +70,41 @@
70 70
 .foot text.active {
71 71
   color: #bb9c79;
72 72
 }
73
+
74
+.layer {
75
+  width: 100%;
76
+  position: absolute;
77
+  left: 0;
78
+  top: 0;
79
+  bottom: 0;
80
+  z-index: 1000;
81
+  background: rgba(0, 0, 0, 0.7);
82
+}
83
+
84
+.layer > view {
85
+  width: 65%;
86
+  padding: 10rpx 0;
87
+  background: #fff;
88
+  border-radius: 20rpx;
89
+  box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05);
90
+}
91
+
92
+.layer .top {
93
+  text-align: right;
94
+  position: relative;
95
+  overflow: hidden;
96
+}
97
+
98
+.layer .top image {
99
+  display: block;
100
+  width: 20rpx;
101
+  float: right;
102
+  margin-right: 20rpx;
103
+}
104
+
105
+.layer .content {
106
+  padding: 0 20rpx;
107
+  position: relative;
108
+  overflow: hidden;
109
+  margin: 10rpx auto 0;
110
+}