Browse Source

clp

feat(pages)modify style
clp 3 years ago
parent
commit
61d9e95ee2
2 changed files with 32 additions and 8 deletions
  1. 4 6
      pages/activityList/activityList.wxml
  2. 28 2
      pages/activityList/activityList.wxss

+ 4 - 6
pages/activityList/activityList.wxml

@@ -13,17 +13,15 @@
     <view class="top_center_bottom">{{item.beginTimestamp}} 至 {{item.endTimestamp}}</view>
     </view>
     <view class="top-right">
-    <!-- <view bindtap="goToShare">立即分享</view> -->
-    <view  bindtap="goToShare" wx:if="{{userMobile.length>0}}" data-id="{{item.activityId}}">立即分享</view>
-      <!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" wx:else>立即分享</button> -->
-
     
+    <view bindtap="goToShare" wx:if="{{userMobile.length>0}}" data-id="{{item.activityId}}">立即分享</view>
+      <button  class="top-right-tow"  open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" wx:if="{{userMobile.length==0}}">
+      <view class="share">立即分享</view></button>
     </view>
 
-
     </view>
 
-
+ 
 
 
     <!-- <view class="top flex-row">

+ 28 - 2
pages/activityList/activityList.wxss

@@ -101,10 +101,36 @@ Page {
 
 .top-right {
   margin: 26px 11px 19px ;
-  width: 57px;
-  height: 58px;
+  width: 57px !important;
+  height: 58px !important;
   background: #FC5232;
   border-radius: 50%;
+ 
+}
+
+
+.top-right-tow {
+  width: 57px !important;
+  height: 58px !important;
+  background: #FC5232;
+  border-radius: 50%;
+  font-size: 16px;
+  text-align: center;
+  padding: 0 0;
+  line-height: 58px;
+  display:block ;
+}
+
+.share {
+  width: 34px;
+  height: 37px;
+  font-size: 17px;
+  line-height: 19px;
+  font-weight: 400;
+  text-align: center;
+  color: #FFFFFF;
+  margin:10px auto;
+  word-break:break-all
 }
 
 .top-right view:nth-child(1) {