浏览代码

删除并更改图片

Limengbo 6 年之前
父节点
当前提交
c0a2082b8b

+ 3 - 7
component/group/group.wxml

@@ -2,10 +2,6 @@
   <view class="group">
     <scroll-view scroll-y="{{true}}">
       <view class="group-container">
-        <view class="search">
-          <input type="text" placeholder="小学三年级下"></input>
-          <image class="sou" src="../../static/groupImg/Group 11@2x.png"></image>
-        </view>
         <view class="less-group">
           <view class="title">
             <image class="ren" src="../../static/groupImg/tuandui@2x.png"></image>
@@ -19,7 +15,7 @@
                 <view>拼团价 <text>¥{{item.price / 100}}</text></view>
                 <view>原价 <text style="text-decoration: line-through;">¥{{item.originPrice / 100}}</text></view>
                 <view class="group-num">
-                  <image src="../../static/groupImg/Rectangle 30@2x.png" ></image>
+                  <image src="../../static/groupImg/Rectangle_30.png" ></image>
                   <text>{{item.headcount}}人团</text>
                 </view>
               </view>
@@ -29,7 +25,7 @@
       </view>
       <view class="whole-group">
           <view class="title">
-            <image class="ren" src="../../static/groupImg/Shape@2x.png" style="width: 30rpx; height: 38rpx;"></image>
+            <image class="ren" src="../../static/groupImg/Shape3.png" style="width: 30rpx; height: 38rpx;"></image>
             <text class="left">全部课程<text class="quota" style="margin-left: 20rpx;">拼团大不同</text></text>
             <text class="right">更多 ></text>
           </view>
@@ -44,7 +40,7 @@
         </view>
     </scroll-view>
     <view class="Collage-bottom">
-      <image class="bg" src="../../static/groupImg/Rectangle 9.png"></image>
+      <image class="bg" src="../../static/groupImg/Rectangle_9.png"></image>
       <view bindtap="sendGroup">
         <image src="../../static/groupImg/Shape1@2x.png"></image>
         <text>发起团购</text>

+ 0 - 22
component/group/group.wxss

@@ -20,28 +20,6 @@ scroll-view {
     background: #fff;
 }
 
-.search {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    width: 100%;
-    height: 60rpx;
-    border-radius: 12rpx;
-    background: #F0F1F5;
-    padding: 0 20rpx;
-    box-sizing: border-box; 
-}
-
-.search input {
-    width: 80%;
-    height: 100%;
-}
-
-.search image {
-    width: 34rpx;
-    height: 34rpx;
-}
-
 .less-group,
 .whole-group {
     width: 100%;

+ 1 - 1
component/share/share.js

@@ -64,7 +64,7 @@ Component({
       ctx.setFontSize(20)  
       ctx.setFillStyle('red')
       ctx.fillText('¥1', 109, 403) 
-      ctx.drawImage('../../../static/groupImg/Group 5 Copy 7.png', 3, 419, 370, 192);  
+      ctx.drawImage('../../../static/groupImg/share_bottom.png', 3, 419, 370, 192);  
       ctx.setFontSize(20)
       ctx.setFillStyle('red')
       ctx.fillText('名额有限,售完截止', 9, 467)

+ 12 - 16
pages/groupPage/collage-details/collage-details.js

@@ -14,32 +14,28 @@ Page({
     timeList: [],
     productId: '',
     orderId: '',
-    groupId: ''
-  },
-
-  //分享好友触发事件
-  eventListener: function () {
-    //console.log(1);
+    groupId: '',
     content: [
       {
-          text: "领袖体质魅力无穷!",
+          text: "转发给自己的朋友们,分享好课,",
           color: "#000"
       },
       {
-          text: "您可以继续发起新的团购,",
+          text: " 追随您一起学习进步。您的魅力不是吹的!",
           color: "#000"
       },
       {
-          text: "不再需要支付本课程费用,拼团成功,",
-          color: "#FF9B00"
-      },
-      {
-          text: "您将得到xxx元奖励。",
-          color: "#FF0000"
-      },
+          text: "在限定时间内内成功拼团,您将得到xx元的奖励金哦。",
+          color: "#FF4600"
+      }
     ]
   },
 
+  //分享好友触发事件
+  eventListener: function () {
+    //console.log(1);
+  },
+
   //规则页显示和隐藏
   hide: function () {
     this.setData({
@@ -141,7 +137,7 @@ Page({
     const id = this.data.orderId;
     return {
       title: '小学课文朗读',
-      path: `pages/group-details/group-details?productId=${productId}&id=${id}&groupId=${groupId}`,
+      path: `pages/groupPage/group-details/group-details?productId=${productId}&id=${id}&groupId=${groupId}`,
       imageUrl: '../../../static/groupImg/shareBg.png',
       success: function (res) {
         // 转发成功

+ 7 - 7
pages/groupPage/collage-details/collage-details.wxml

@@ -17,7 +17,7 @@
             </block>
             <block wx:for="{{surplusList}}" wx:key="{{index}}">
                 <view class="headImg-item">
-                    <image src="../../../static/groupImg/Mask Copy@2x.png"></image>
+                    <image src="../../../static/groupImg/no_head.png"></image>
                 </view>  
             </block>                   
         </view>
@@ -26,20 +26,20 @@
             <view class="shengyu-time">
                 剩余时间:
                 <view class="time">
-                    <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                    <image src="../../../static/groupImg/Rectangle_31.png"></image>
                     <text>{{timeList[0]}}</text>
                 </view>
                 <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
                     <view class="time">
-                        <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                        <image src="../../../static/groupImg/Rectangle_31.png"></image>
                         <text>{{item}}</text>
                     </view>
                 </block>
                 <block wx:for="{{timeList[2]}}" wx:key="{{index}}">
                     <view class="time">
-                        <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                        <image src="../../../static/groupImg/Rectangle_31.png"></image>
                         <text>{{item}}</text>
                     </view>
                 </block>               
@@ -65,9 +65,9 @@
 
 <shareDialog id="share-dialog"/>
 <popup
-    typeOf="senderror"
-    title="恭喜!"
-    headTextOne="您发起的团购拼团成功"
+    typeOf="sendSuccess"
+    title="报告团长"
+    headTextTwo="您发起的团购已经成立,订单号:12345"
     content="{{content}}"
 ></popup>
 

+ 3 - 3
pages/groupPage/grade-details/grade-details.js

@@ -36,9 +36,9 @@ Page({
         groupId
       }).success( (res) =>{
         console.log('发起团购',res);
-        wx.navigateTo({
-          url: `/pages/groupPage/collage-details/collage-details`
-        })
+        // wx.navigateTo({
+        //   url: `/pages/groupPage/collage-details/collage-details`
+        // })
         if(res.data.message) {
           wx.showModal({
             title: '提示',

+ 2 - 2
pages/groupPage/grade-details/grade-details.wxml

@@ -18,8 +18,8 @@
         </view>
     </scroll-view>
     <view class="group-btn">
-        <image class="bg1" src="../../../static/groupImg/Rectangle 9.png"></image>
-        <image class="bg2" src="../../../static/groupImg/Rectangle 9.png"></image>
+        <image class="bg1" src="../../../static/groupImg/Rectangle_9.png"></image>
+        <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
         <block wx:for="{{payList}}" wx:key="{{index}}" >
             <view class="Price" bindtap="pay" data-id="{{item.id}}">
                 <text>¥{{item.price / 100}}</text>

+ 5 - 5
pages/groupPage/group-details/group-details.wxml

@@ -9,7 +9,7 @@
             </block>
             <block wx:for="{{surplusList}}" wx:key="{{index}}">
                 <view class="headImg-item">
-                    <image src="../../../static/groupImg/Mask Copy@2x.png"></image>
+                    <image src="../../../static/groupImg/no_head.png"></image>
                 </view>  
             </block>                      
         </view>
@@ -18,20 +18,20 @@
             <view class="shengyu-time">
                 剩余时间:
                 <view class="time">
-                    <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                    <image src="../../../static/groupImg/Rectangle_31.png"></image>
                     <text>{{timeList[0]}}</text>
                 </view>
                 <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
                     <view class="time">
-                        <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                        <image src="../../../static/groupImg/Rectangle_31.png"></image>
                         <text>{{item}}</text>
                     </view>
                 </block>
                 <block wx:for="{{timeList[2]}}" wx:key="{{index}}">
                     <view class="time">
-                        <image src="../../../static/groupImg/Rectangle 31@2x.png"></image>
+                        <image src="../../../static/groupImg/Rectangle_31.png"></image>
                         <text>{{item}}</text>
                     </view>
                 </block>                
@@ -61,7 +61,7 @@
             开团
         </view>
         <view class="right-btn" bindtap="jionGroup">
-            <image src="../../../static/groupImg/Rectangle 8 Copy@2x.png"></image>
+            <image src="../../../static/groupImg/jionBg.png"></image>
             <text>参团</text>
         </view>
     </view>

二进制
static/groupImg/Group 11.png


二进制
static/groupImg/Group 11@2x.png


二进制
static/groupImg/Group 11@3x.png


二进制
static/groupImg/Rectangle 13.png


二进制
static/groupImg/Rectangle 13@2x.png


二进制
static/groupImg/Rectangle 13@3x.png


二进制
static/groupImg/Rectangle 30.png


二进制
static/groupImg/Rectangle 30@3x.png


二进制
static/groupImg/Shape.png


二进制
static/groupImg/Shape1.png


二进制
static/groupImg/Shape1@3x.png


二进制
static/groupImg/Shape2.png


二进制
static/groupImg/Shape2@3x.png


二进制
static/groupImg/Shape@3x.png


二进制
static/groupImg/tuandui.png


二进制
static/groupImg/tuandui@3x.png