瀏覽代碼

修改样式和图片

lex-xin 4 月之前
父節點
當前提交
3fcf1a5415

+ 2 - 2
miniprogram/components/apply-refound/apply-refound.wxml

@@ -1,6 +1,6 @@
 <!--components/apply-refound/apply-refound.wxml-->
 <view class="useRefound-pop" wx:if="{{ refoundStatus }}">
-    <view class="useRefound-mask"></view>
+    <view class="useRefound-mask" bind:tap="onRefoundClose"></view>
     <view class="useRefound-container">
       <image bind:tap="onRefoundClose" class="icon-close" src="./images/icon-close.png"></image>
       <view class="use-title">申请退款</view>
@@ -13,7 +13,7 @@
         <input placeholder="请输入手机号码" placeholder-style="color: #AAA" type="number" maxlength="11" bindinput="phoneInput" value="{{ refoundPhone }}"></input>
       </view>
       <view class="btnSection">
-        <button type="primary" bind:tap="onRefound">提交申请</button>
+        <button type="primary" catch:tap="onRefound">提交申请</button>
       </view>
     </view>
   </view>

+ 1 - 1
miniprogram/pages/index/index.ts

@@ -12,7 +12,7 @@ Page({
    */
   data: {
     imgList: [
-      'https://oss.dayaedu.com/ktyq/1732585060448.png',
+      'https://oss.dayaedu.com/ktyq/1732585725698.png',
       'https://oss.dayaedu.com/ktyq/1732519468124.png',
       'https://oss.dayaedu.com/ktyq/1732519479416.png',
       'https://oss.dayaedu.com/ktyq/1732519490037.png',

+ 4 - 4
miniprogram/pages/index/index.wxml

@@ -112,9 +112,9 @@
     </view>
 
     <view class="popup-section" wx:if="{{popupShow}}">
-      <view class="popup-mask"></view>
+      <view class="popup-mask" bind:tap="onClose"></view>
       <view class="popup-container">
-        <image bind:tap="onClose" src="./images/icon-close.png" class="iconClose"></image>
+        <image catch:tap="onClose" src="./images/icon-close.png" class="iconClose"></image>
 
         <view class="product-section">
           <view class="product-img">
@@ -137,7 +137,7 @@
 
         <view class="goodsInfo">
           <view class="goodsList">
-            <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">
+            <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" catch:tap="onSelectGoods" data-id="{{ item.id }}">
               <image class="select-arrow" src="./images/icon-down-arrow.png"></image>
               <image class="imgSale" wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>
               <image class="pic" src="{{ item.pic }}"></image>
@@ -149,7 +149,7 @@
           </view>
         </view>
 
-        <button type="primary" bind:tap="onSubmit">立即购买</button>
+        <button type="primary" catch:tap="onSubmit">立即购买</button>
       </view>
     </view>
   </view>