Rorschach 3 anni fa
parent
commit
874db4d894

+ 0 - 0
pages/activity/priceList/priceList.js


+ 4 - 0
pages/activity/priceList/priceList.wxml

@@ -0,0 +1,4 @@
+<view class="price-list-main">
+    <image class="price-list-bg" src="http://reader-wx.ai160.com/images/reader/activity/activity_strategy.jpg" />
+    <view class="copy-btn" bindtap="copyWx">复制</view>
+</view>

+ 28 - 0
pages/activity/priceList/priceList.wxss

@@ -0,0 +1,28 @@
+/* pages/activity/strategy/strategy.wxss */
+.strategy-main {
+  width: 100%;
+  height: 1791rpx;
+  background: #FD423B;
+  overflow-y: scroll;
+  position: relative;
+}
+.strategy-bg {
+  position: absolute;
+  left: 0;
+  top: 0;
+  width: 100%;
+  height: 1791rpx;
+}
+.copy-btn{
+  width: 168rpx;
+  height: 59rpx;
+  background: #ff9743;
+  border-radius: 30rpx;
+  line-height: 59rpx;
+  text-align: center;
+  color: #fff;
+  font-size: 34rpx;
+  position: absolute;
+  bottom: 128rpx;
+  right: 48rpx;
+}

+ 5 - 0
pages/index/index.js

@@ -1044,5 +1044,10 @@ Page({
     wx.navigateTo({
       url: `../activity/index/index`
     });
+  },
+  goToActivityPrice(){
+    wx.navigateTo({
+      url: `../activity/priceList/priceList`
+    });
   }
 })

+ 4 - 1
pages/index/index.wxml

@@ -46,7 +46,10 @@
     </view>
   </view>
   <!-- <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity"> -->
-  <view hidden="{{0 != myIndex}}" class="activity-img" bindtap="goToActivity">
+  <!-- <view hidden="{{0 != myIndex}}" class="activity-img" bindtap="goToActivity">
+    <image src="http://reader-wx.ai160.com/images/reader/activity/banner.jpg"></image>
+  </view> -->
+  <view hidden="{{0 != myIndex}}" class="activity-img" bindtap="goToActivityPrice">
     <image src="http://reader-wx.ai160.com/images/reader/activity/banner.jpg"></image>
   </view>
   <!-- 调用组件 -->