xiaohuangmao 4 yıl önce
ebeveyn
işleme
e48adc030b

+ 1 - 1
app.json

@@ -1,8 +1,8 @@
 {
   "pages": [
+    "pages/postage/postage",
     "pages/index/index",
     "pages/ence_push/ence_push",
-    "pages/postage/postage",
     "pages/postageManage/postageManage",
     "pages/address/address",
     "pages/discover/discover",

BIN
image/icons/Group18@2x.png


BIN
image/icons/Path@2x.png


BIN
image/icons/Rectangle@2x.png


BIN
image/icons/circle.png


BIN
image/icons/wx.png


+ 15 - 3
pages/components/shareDialog/shareDialog.wxml

@@ -16,8 +16,20 @@
 				</view>
 			</block>			
 		</view>
-		<button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
-			<text>去邀请好友</text>
-		</button>
+		<view class="shareBtns">
+			<button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
+				<image src="/image/icons/wx.png"></image>
+				<text>微信好友邀请</text>
+			</button>
+			<button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
+				<image src="/image/icons/circle.png" style="height:28rpx"></image>
+				<text>分享朋友圈</text>
+			</button>
+		</view>
+		<view class="faceToFace">
+			<image src="/image/icons/Group18@2x.png" style="width:26rpx; height:25rpx"></image>
+			<text>面对面扫码邀请</text>
+			<image src="/image/icons/Path@2x.png" style="width:12rpx; height:22rpx"></image>
+		</view>
 	</view>
 </view>

+ 28 - 5
pages/components/shareDialog/shareDialog.wxss

@@ -77,6 +77,13 @@
   border-radius: 50%;
 }
 
+.shareBtns{
+  /* margin-top: 30rpx; */
+  display: flex;
+  justify-content: space-around;
+  padding: 0 30rpx;
+}
+
 .shareItem {
   width: 20%;
   text-align: center;
@@ -89,15 +96,31 @@
 }
 
 .btn-rechargeNow {
-  width: 328rpx;
+  display: flex;
+  align-items: center;
   height: 70rpx;
-  line-height: 70rpx;
-  text-align: center;
+  /* padding: 0 20rpx; */
   background-color: #fe7124;
   background: linear-gradient(to right, #ff7a21 0%, #feb25a 100%);
-  text-align: center;
   color: #fff;
   border-radius: 16rpx;
   margin: 0 auto;
-  margin-top: 40rpx;
+  font-size: 30rpx;
+}
+.btn-rechargeNow image{
+  width: 28rpx;
+  height: 24rpx;
+  margin-right: 10rpx;
 }
+
+.faceToFace{
+  margin-top: 10rpx;
+  display: flex;
+  align-items: center;
+  width: 300rpx;
+  margin: 0 auto;
+  justify-content: space-between;
+  margin-top: 20rpx;
+  color: #fe7124;
+  text-align: center;
+}