Browse Source

update:调整确认订单页面

RuHu.Xu 11 months ago
parent
commit
06a121fb8c
100 changed files with 470 additions and 422 deletions
  1. 408 388
      pages/order/confirm.vue
  2. 26 10
      sheep/components/s-points-pop/s-points-pop.vue
  3. 12 0
      sheep/hooks/useGoods.js
  4. 1 1
      unpackage/dist/build/h5/assets/address.9d2b4aeb.js
  5. 1 1
      unpackage/dist/build/h5/assets/afterSale.856639b1.js
  6. 1 0
      unpackage/dist/build/h5/assets/area.4393e9c4.js
  7. 0 1
      unpackage/dist/build/h5/assets/area.6c344b29.js
  8. 0 0
      unpackage/dist/build/h5/assets/bargain.372f8516.js
  9. 1 1
      unpackage/dist/build/h5/assets/brokerage.176a28d4.js
  10. 1 1
      unpackage/dist/build/h5/assets/category.7458d710.js
  11. 1 1
      unpackage/dist/build/h5/assets/combination.68506756.js
  12. 0 0
      unpackage/dist/build/h5/assets/comment-item.93a01318.js
  13. 0 1
      unpackage/dist/build/h5/assets/config.4ffb40bb.js
  14. 1 0
      unpackage/dist/build/h5/assets/config.b11221e2.js
  15. 0 0
      unpackage/dist/build/h5/assets/confirm-b5ae4cfa.css
  16. 0 0
      unpackage/dist/build/h5/assets/confirm-ddf69018.css
  17. 1 1
      unpackage/dist/build/h5/assets/const.01fa401b.js
  18. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.b03b696f.js
  19. 1 1
      unpackage/dist/build/h5/assets/favorite.b7a59b6c.js
  20. 0 0
      unpackage/dist/build/h5/assets/form.5ccdd1b7.js
  21. 1 1
      unpackage/dist/build/h5/assets/history.c179162c.js
  22. 0 0
      unpackage/dist/build/h5/assets/index-a8894bc1.js
  23. 0 0
      unpackage/dist/build/h5/assets/mp-html.9a47da3f.js
  24. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.25abf9a5.js
  25. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.5c26019c.js
  26. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.b5590651.js
  27. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.58c91e9d.js
  28. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.e1bf316f.js
  29. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.713ed92b.js
  30. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.d29677ab.js
  31. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.710d6911.js
  32. 0 0
      unpackage/dist/build/h5/assets/pages-chat-index.27a742c2.js
  33. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.63dd498e.js
  34. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.58dfb8d7.js
  35. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.d42e7a1e.js
  36. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.040bf3b2.js
  37. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.1da4ef1d.js
  38. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.2ebbcf4f.js
  39. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.1d2e6f17.js
  40. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.43b9959c.js
  41. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.eacf063a.js
  42. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.32dffd2f.js
  43. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.38186e83.js
  44. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.c1e823ae.js
  45. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.8f8003cc.js
  46. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.33c29e8f.js
  47. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.153bfdd6.js
  48. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.13816902.js
  49. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.bf11e415.js
  50. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.6543f94d.js
  51. 1 1
      unpackage/dist/build/h5/assets/pages-index-index.31e38e5c.js
  52. 0 0
      unpackage/dist/build/h5/assets/pages-index-login.2029bd3b.js
  53. 1 1
      unpackage/dist/build/h5/assets/pages-index-page.e3231d8f.js
  54. 1 1
      unpackage/dist/build/h5/assets/pages-index-search.a10f4485.js
  55. 1 1
      unpackage/dist/build/h5/assets/pages-index-user.348690da.js
  56. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.bf470ba5.js
  57. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.48474c65.js
  58. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.71b40df0.js
  59. 1 1
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.681fd142.js
  60. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.656ea110.js
  61. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.cbebfeba.js
  62. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.e15314dd.js
  63. 0 0
      unpackage/dist/build/h5/assets/pages-order-detail.63c69cdb.js
  64. 0 0
      unpackage/dist/build/h5/assets/pages-order-express-log.3bde0a49.js
  65. 0 0
      unpackage/dist/build/h5/assets/pages-order-list.571b6978.js
  66. 0 0
      unpackage/dist/build/h5/assets/pages-pay-index.a3683d3a.js
  67. 0 0
      unpackage/dist/build/h5/assets/pages-pay-recharge-log.cec20ea1.js
  68. 0 0
      unpackage/dist/build/h5/assets/pages-pay-recharge.656d9fce.js
  69. 0 0
      unpackage/dist/build/h5/assets/pages-pay-result.71175cef.js
  70. 1 1
      unpackage/dist/build/h5/assets/pages-public-error.808e2b91.js
  71. 1 1
      unpackage/dist/build/h5/assets/pages-public-faq.79659709.js
  72. 0 0
      unpackage/dist/build/h5/assets/pages-public-setting.82c53092.js
  73. 1 1
      unpackage/dist/build/h5/assets/pages-public-webview.3aeaf4fa.js
  74. 0 0
      unpackage/dist/build/h5/assets/pages-shop-index.e9e43fd0.js
  75. 0 0
      unpackage/dist/build/h5/assets/pages-user-address-edit.9812a2d3.js
  76. 0 0
      unpackage/dist/build/h5/assets/pages-user-address-list.02c474cd.js
  77. 0 0
      unpackage/dist/build/h5/assets/pages-user-goods-collect.930426e2.js
  78. 0 0
      unpackage/dist/build/h5/assets/pages-user-goods-log.45329402.js
  79. 0 0
      unpackage/dist/build/h5/assets/pages-user-info.9c2447dd.js
  80. 0 0
      unpackage/dist/build/h5/assets/pages-user-invoice-edit.59efa64a.js
  81. 1 1
      unpackage/dist/build/h5/assets/pages-user-invoice-list.22f70c7a.js
  82. 0 0
      unpackage/dist/build/h5/assets/pages-user-qrcode-share.83598629.js
  83. 0 0
      unpackage/dist/build/h5/assets/pages-user-setting.10beb5fa.js
  84. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-money.1900debd.js
  85. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-score.b59d73f5.js
  86. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-scoreToMoney.341f3169.js
  87. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-team.8d9ebd66.js
  88. 1 1
      unpackage/dist/build/h5/assets/point.851e735a.js
  89. 1 1
      unpackage/dist/build/h5/assets/rewardActivity.0f40be28.js
  90. 1 1
      unpackage/dist/build/h5/assets/richtext.dfccc34e.js
  91. 0 0
      unpackage/dist/build/h5/assets/s-address-item.45b8741f.js
  92. 0 0
      unpackage/dist/build/h5/assets/s-block.a3a1aced.js
  93. 0 0
      unpackage/dist/build/h5/assets/s-coupon-list.94471b56.js
  94. 1 1
      unpackage/dist/build/h5/assets/s-empty.955932d4.js
  95. 0 0
      unpackage/dist/build/h5/assets/s-goods-column.953f9242.js
  96. 0 0
      unpackage/dist/build/h5/assets/s-goods-item.d4ce3058.js
  97. 0 0
      unpackage/dist/build/h5/assets/s-layout.3dd7d9b6.js
  98. 0 0
      unpackage/dist/build/h5/assets/s-select-groupon-sku.38b73b7a.js
  99. 0 0
      unpackage/dist/build/h5/assets/s-uploader.5fe3af8d.js
  100. 1 1
      unpackage/dist/build/h5/assets/spu.a4a3c9c0.js

+ 408 - 388
pages/order/confirm.vue

@@ -1,83 +1,73 @@
 <template>
-  <s-layout title="确认订单">
-    <!-- TODO:这个判断先删除 v-if="state.orderInfo.need_address === 1" -->
-    <view class="bg-white address-box ss-m-b-14 ss-r-b-10" @tap="onSelectAddress">
-      <s-address-item :item="state.addressInfo" :hasBorderBottom="false">
-        <view class="ss-rest-button">
-          <text class="_icon-forward" />
-        </view>
-      </s-address-item>
-    </view>
-    <!-- 商品信息 -->
-    <view class="order-card-box ss-m-b-14">
-
-		<view class="title-text ss-p-x-20 ss-p-t-20">
-			{{state.orderInfo.shopNameMap[1]}}
+	<s-layout title="确认订单">
+		<!-- TODO:这个判断先删除 v-if="state.orderInfo.need_address === 1" -->
+		<view class="bg-white address-box ss-m-b-14 ss-r-b-10" @tap="onSelectAddress">
+			<s-address-item :item="state.addressInfo" :hasBorderBottom="false">
+				<view class="ss-rest-button">
+					<text class="_icon-forward" />
+				</view>
+			</s-address-item>
 		</view>
 
-	  
-      <s-goods-item
-        v-for="item in state.orderInfo.items"
-        :key="item.skuId"
-        :img="item.picUrl"
-        :title="item.spuName"
-        :skuText="item.properties.map((property) => property.valueName).join(' ')"
-        :price="item.price"
-        :num="item.count"
-      />
-	  <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
-	    <view class="item-title">运费</view>
-	    <view class="ss-flex ss-col-center">
-			包邮
-	    </view>
-	  </view>
-	  <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
-	    <view class="item-title">开具发票</view>
-	    <view class="ss-flex ss-col-center">
-	  		
-			<text
-			  class="item-value"
-			  :class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'"
-			>
-			  {{
+		<!-- 商品信息 -->
+		<view class="order-card-box ss-m-b-14" v-for="(items, name) in shopsByNames" :key="name">
+			<view class="title-text ss-p-x-20 ss-p-t-20">
+				{{name}}
+			</view>
+			<s-goods-item v-for="item in items.items" :key="item?.skuId" :img="item?.picUrl"
+				:title="item?.spuName" :skuText="item?.properties.map((property) => property.valueName).join(' ')"
+				:price="item?.price" :num="item?.count" />
+			<view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
+				<view class="item-title">运费</view>
+				<view class="ss-flex ss-col-center">
+					{{items.price.deliveryPrice?"¥"+fen2yuan(items.price.deliveryPrice):"包邮"}}
+				</view>
+			</view>
+			
+			<!-- 暂不做开发票 -->
+			<!-- <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
+				<view class="item-title">开具发票</view>
+				<view class="ss-flex ss-col-center">
+
+					<text class="item-value" :class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'">
+						{{
 			    state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '不开具发票'
 			  }}
-			</text>
-			<text class="_icon-forward item-icon" />
-	    </view>
-		
-	  </view>
-      <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
-        <view class="item-title">订单备注</view>
-        <view class="ss-flex ss-col-center">
-          <uni-easyinput
-            maxlength="20"
-            placeholder="建议留言前先与商家沟通"
-            v-model="state.orderPayload.remark"
-            :inputBorder="false"
-            :clearable="false"
-          />
-        </view>
-      </view>
-	  
-    </view>
-
-    <!-- 价格信息 -->
-    <view class="bg-white total-card-box ss-p-20 ss-m-b-14 ss-r-10">
-		<view class="title-text">
-			价格明细
+					</text>
+					<text class="_icon-forward item-icon" />
+				</view>
+			</view> -->
+			<view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
+				<view class="item-title">订单备注</view>
+				<view class="ss-flex ss-col-center">
+					<uni-easyinput maxlength="20" placeholder="建议留言前先与商家沟通" v-model="state.orderPayload.remark"
+						:inputBorder="false" :clearable="false" />
+				</view>
+			</view>
+			<view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
+				<view class="item-title">总价</view>
+				<view class="ss-flex ss-col-center">
+					{{"¥"+fen2yuan(items.price.payPrice)}}
+				</view>
+			</view>
 		</view>
-      <view class="total-box-content border-bottom">
-        <view class="order-item ss-flex ss-col-center ss-row-between">
-          <view class="item-title">商品总价 共{{state.orderInfo.items.length}}件商品</view>
-          <view class="ss-flex ss-col-center">
-            <text class="item-value ss-m-r-24">
-              ¥{{ fen2yuan(state.orderInfo.price.totalPrice) }}
-            </text>
-          </view>
-        </view>
-        <!-- TODO 非繁人:接入积分 -->
-        <!-- <view
+
+		<!-- 价格信息 -->
+		<view class="bg-white total-card-box ss-p-20 ss-m-b-14 ss-r-10">
+			<view class="title-text">
+				价格明细
+			</view>
+			<view class="total-box-content border-bottom">
+				<view class="order-item ss-flex ss-col-center ss-row-between">
+					<view class="item-title">商品总价 共{{state.orderInfo.items.length}}件商品</view>
+					<view class="ss-flex ss-col-center">
+						<text class="item-value ss-m-r-24">
+							¥{{ fen2yuan(state.orderInfo.price.totalPrice) }}
+						</text>
+					</view>
+				</view>
+				<!-- TODO 非繁人:接入积分 -->
+				<!-- <view
           class="order-item ss-flex ss-col-center ss-row-between"
           v-if="state.orderPayload.order_type === 'score'"
         >
@@ -90,38 +80,32 @@
             <text class="item-value ss-m-r-24">{{ state.orderInfo.score_amount }}</text>
           </view>
         </view> -->
-        <view class="order-item ss-flex ss-col-center ss-row-between">
-          <view class="item-title">运费</view>
-          <view class="ss-flex ss-col-center">
-            <text class="item-value ss-m-r-24">
-              ¥{{ fen2yuan(state.orderInfo.price.deliveryPrice) }}
-            </text>
-          </view>
-        </view>
-		<view
-		  class="order-item ss-flex ss-col-center ss-row-between"
-		  v-if="state.orderInfo.type === 0"
-		>
-		  <view class="item-title">积分抵扣</view>
-		  <view class="ss-flex ss-col-center" @tap="state.showPoints = true">
-		    <!-- <text class="item-value text-red">
-		      -¥123 
+				<view class="order-item ss-flex ss-col-center ss-row-between">
+					<view class="item-title">运费</view>
+					<view class="ss-flex ss-col-center">
+						<text class="item-value ss-m-r-24">
+							¥{{ fen2yuan(state.orderInfo.price.deliveryPrice) }}
+						</text>
+					</view>
+				</view>
+				<view class="order-item ss-flex ss-col-center ss-row-between" v-if="state.orderInfo.type === 0">
+					<view class="item-title">积分抵扣</view>
+					<view class="ss-flex ss-col-center" @tap="state.showPoints = true">
+						<!-- <text class="item-value text-red">
+		      
 		    </text> -->
-		    <text
-		      class="item-value"
-		      :class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'"
-		    >
-		      {{
-		        state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '不使用积分'
+						<text class="item-value" :class="state.usedPoint > 0 ? 'text-red' : 'text-disabled'">
+							{{
+		        state.usedPoint > 0 ?  ' 可抵扣' + state.usedPoint + '元' : '不使用积分'
 		      }}
-		    </text>
-		    <text class="_icon-forward item-icon" />
-		  </view>
-		</view>
-		
-        <!-- 优惠劵:只有 type = 0 普通订单(非拼团、秒杀、砍价),才可以使用优惠劵 -->
-		<!-- 暂时隐藏优惠卷 -->
-        <!-- <view
+						</text>
+						<text class="_icon-forward item-icon" />
+					</view>
+				</view>
+
+				<!-- 优惠劵:只有 type = 0 普通订单(非拼团、秒杀、砍价),才可以使用优惠劵 -->
+				<!-- 暂时隐藏优惠卷 -->
+				<!-- <view
           class="order-item ss-flex ss-col-center ss-row-between"
           v-if="state.orderInfo.type === 0"
         >
@@ -142,7 +126,7 @@
             <text class="_icon-forward item-icon" />
           </view>
         </view> -->
-        <!-- <view
+				<!-- <view
           class="order-item ss-flex ss-col-center ss-row-between"
           v-if="state.orderInfo.price.discountPrice > 0"
         >
@@ -155,302 +139,338 @@
             <text class="_icon-forward item-icon" />
           </view>
         </view> -->
-      </view>
-      <view class="total-box-footer ss-font-28 ss-flex ss-row-right ss-col-center ss-m-r-28">
-        <view class="total-num ss-m-r-20">
-          共{{ state.orderInfo.items.reduce((acc, item) => acc + item.count, 0) }}件
-        </view>
-        <view>合计:</view>
-        <view class="total-num text-red"> ¥{{ fen2yuan(state.orderInfo.price.payPrice) }} </view>
-      </view>
-    </view>
-
-    <!-- 选择优惠券弹框 -->
-    <s-points-pop
-      v-model="state.couponInfo"
-      :show="state.showPoints"
-      @confirm="onInputPoints"
-      @close="state.showPoints = false"
-    />
-
-    <!-- 满额折扣弹框 TODO 非繁人:后续要把优惠信息打进去 -->
-    <!-- <s-discount-list
+			</view>
+			<view class="total-box-footer ss-font-28 ss-flex ss-row-right ss-col-center ss-m-r-28">
+				<view class="total-num ss-m-r-20">
+					共{{ state.orderInfo.items.reduce((acc, item) => acc + item.count, 0) }}件
+				</view>
+				<view>合计:</view>
+				<view class="total-num text-red"> ¥{{ fen2yuan(state.orderInfo.price.payPrice) }} </view>
+			</view>
+		</view>
+
+		<!-- 积分-->
+		<s-points-pop v-model="state.couponInfo" :currentMemberPoints="state.currentMemberPoints" :currentTotalPrice="fen2yuan(state.orderInfo.price.payPrice)" :show="state.showPoints" @confirm="onInputPoints"
+			@close="state.showPoints = false" />
+
+		<!-- 满额折扣弹框 TODO 非繁人:后续要把优惠信息打进去 -->
+		<!-- <s-discount-list
       v-model="state.orderInfo"
       :show="state.showDiscount"
       @close="state.showDiscount = false"
     /> -->
 
-    <!-- 底部 -->
-    <su-fixed bottom :opacity="false" bg="bg-white" placeholder :noFixed="false" :index="200">
-      <view class="footer-box border-top ss-flex ss-row-between ss-p-x-20 ss-col-center">
-        <view class="total-box-footer ss-flex ss-col-center">
-          <view class="total-num ss-font-30 text-red">
-            ¥{{ fen2yuan(state.orderInfo.price.payPrice) }}
-          </view>
-        </view>
-        <button
-          class="ss-reset-button ui-BG-Main-Gradient ss-r-40 submit-btn ui-Shadow-Main"
-          @tap="onConfirm"
-        >
-          提交订单
-        </button>
-      </view>
-    </su-fixed>
-  </s-layout>
+		<!-- 底部 -->
+		<su-fixed bottom :opacity="false" bg="bg-white" placeholder :noFixed="false" :index="200">
+			<view class="footer-box border-top ss-flex ss-row-between ss-p-x-20 ss-col-center">
+				<view class="total-box-footer ss-flex ss-col-center">
+					<view class="total-num ss-font-30 text-red">
+						¥{{ fen2yuan(state.orderInfo.price.payPrice) }}
+					</view>
+				</view>
+				<button class="ss-reset-button ui-BG-Main-Gradient ss-r-40 submit-btn ui-Shadow-Main" @tap="onConfirm">
+					提交订单
+				</button>
+			</view>
+		</su-fixed>
+	</s-layout>
 </template>
 
 <script setup>
-  import { reactive } from 'vue';
-  import { onLoad } from '@dcloudio/uni-app';
-  import sheep from '@/sheep';
-  import { isEmpty } from 'lodash';
-  import OrderApi from '@/sheep/api/trade/order';
-  import CouponApi from '@/sheep/api/promotion/coupon';
-  import { fen2yuan } from '@/sheep/hooks/useGoods';
-
-  const state = reactive({
-    orderPayload: {},
-    orderInfo: {
-      items: [], // 商品项列表
-      price: {}, // 价格信息
-    },
-    addressInfo: {}, // 选择的收货地址
-    showPoints: false, // 是否积分抵扣
-    couponInfo: [], // 优惠劵列表
-    showDiscount: false, // 是否展示营销活动
-  });
-
-  // 选择地址
-  function onSelectAddress() {
-    uni.$once('SELECT_ADDRESS', (e) => {
-      changeConsignee(e.addressInfo);
-    });
-    sheep.$router.go('/pages/user/address/list');
-  }
-
-  // 更改收货人地址&计算订单信息
-  async function changeConsignee(addressInfo = {}) {
-    if (!isEmpty(addressInfo)) {
-      state.addressInfo = addressInfo;
-    }
-    await getOrderInfo();
-  }
-
-  // 选择优惠券
-  async function onInputPoints(points) {
-	  console.log(points)
-    // state.orderPayload.couponId = couponId || 0;
-    // await getOrderInfo();
-    state.showPoints = false;
-  }
-
-  // 提交订单
-  function onConfirm() {
-    if (!state.addressInfo.id) {
-      sheep.$helper.toast('请选择收货地址');
-      return;
-    }
-    submitOrder();
-  }
-
-  // 创建订单&跳转
-  async function submitOrder() {
-    const { code, data } = await OrderApi.createOrder({
-      items: state.orderPayload.items,
-      couponId: state.orderPayload.couponId,
-      addressId: state.addressInfo.id,
-      deliveryType: 1, // TODO 非繁人:需要支持【门店自提】
-      pointStatus: false, // TODO 非繁人:需要支持【积分选择】
-      combinationActivityId: state.orderPayload.combinationActivityId,
-      combinationHeadId: state.orderPayload.combinationHeadId,
-      seckillActivityId: state.orderPayload.seckillActivityId
-    });
-    if (code !== 0) {
-      return;
-    }
-    // 更新购物车列表,如果来自购物车
-    if (state.orderPayload.items[0].cartId > 0) {
-      sheep.$store('cart').getList();
-    }
-    // 跳转到支付页面
-    sheep.$router.redirect('/pages/pay/index', {
-      id: data.payOrderId,
-    });
-  }
-
-  // 检查库存 & 计算订单价格
-  async function getOrderInfo() {
-    // 计算价格
-    const { data, code } = await OrderApi.settlementOrder({
-      items: state.orderPayload.items,
-      couponId: state.orderPayload.couponId,
-      addressId: state.addressInfo.id,
-      deliveryType: 1, // TODO 非繁人:需要支持【门店自提】
-      pointStatus: false, // TODO 非繁人:需要支持【积分选择】
-      combinationActivityId: state.orderPayload.combinationActivityId,
-      combinationHeadId: state.orderPayload.combinationHeadId,
-      seckillActivityId: state.orderPayload.seckillActivityId
-    });
-    if (code !== 0) {
-      return;
-    }
-    state.orderInfo = data;
-    // 设置收货地址
-    if (state.orderInfo.address) {
-      state.addressInfo = state.orderInfo.address;
-    }
-  }
-
-  // 获取可用优惠券
-  async function getCoupons() {
-    const { code, data } = await CouponApi.getMatchCouponList(
-      state.orderInfo.price.payPrice,
-      state.orderInfo.items.map((item) => item.spuId),
-      state.orderPayload.items.map((item) => item.skuId),
-      state.orderPayload.items.map((item) => item.categoryId),
-    );
-    if (code === 0) {
-      state.couponInfo = data;
-    }
-  }
-
-  onLoad(async (options) => {
-    if (!options.data) {
-      sheep.$helper.toast('参数不正确,请检查!');
-      return;
-    }
-    state.orderPayload = JSON.parse(options.data);
-    await getOrderInfo();
-    // await getCoupons();
-  });
+	import {
+		reactive,
+		computed 
+	} from 'vue';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+	import sheep from '@/sheep';
+	import {
+		isEmpty
+	} from 'lodash';
+	import OrderApi from '@/sheep/api/trade/order';
+	import CouponApi from '@/sheep/api/promotion/coupon';
+	import {
+		fen2yuan,
+		points2point
+	} from '@/sheep/hooks/useGoods';
+
+	const state = reactive({
+		orderPayload: {},
+		orderInfo: {
+			items: [], // 商品项列表
+			price: {}, // 价格信息
+		},
+		addressInfo: {}, // 选择的收货地址
+		showPoints: false, // 是否积分抵扣
+		couponInfo: [], // 优惠劵列表
+		showDiscount: false, // 是否展示营销活动
+		currentMemberPoints:0 ,//用户当前可用积分
+		usedPoint:0
+	});
+
+	// 选择地址
+	function onSelectAddress() {
+		uni.$once('SELECT_ADDRESS', (e) => {
+			changeConsignee(e.addressInfo);
+		});
+		sheep.$router.go('/pages/user/address/list');
+	}
+
+	// 更改收货人地址&计算订单信息
+	async function changeConsignee(addressInfo = {}) {
+		if (!isEmpty(addressInfo)) {
+			state.addressInfo = addressInfo;
+		}
+		await getOrderInfo();
+	}
+
+	// 使用积分
+	async function onInputPoints(points) {
+		console.log(points)
+		// state.orderPayload.couponId = couponId || 0;
+		
+		state.usedPoint = points
+		await getOrderInfo();
+		state.showPoints = false;
+	}
+
+	// 提交订单
+	function onConfirm() {
+		if (!state.addressInfo.id) {
+			sheep.$helper.toast('请选择收货地址');
+			return;
+		}
+		submitOrder();
+	}
+
+	// 创建订单&跳转
+	async function submitOrder() {
+		const {
+			code,
+			data
+		} = await OrderApi.createOrder({
+			items: state.orderPayload.items,
+			couponId: state.orderPayload.couponId,
+			addressId: state.addressInfo.id,
+			deliveryType: 1, // TODO 非繁人:需要支持【门店自提】
+			pointStatus: false, // TODO 非繁人:需要支持【积分选择】
+			combinationActivityId: state.orderPayload.combinationActivityId,
+			combinationHeadId: state.orderPayload.combinationHeadId,
+			seckillActivityId: state.orderPayload.seckillActivityId
+		});
+		if (code !== 0) {
+			return;
+		}
+		// 更新购物车列表,如果来自购物车
+		if (state.orderPayload.items[0].cartId > 0) {
+			sheep.$store('cart').getList();
+		}
+		// 跳转到支付页面
+		sheep.$router.redirect('/pages/pay/index', {
+			id: data.payOrderId,
+		});
+	}
+
+	// 检查库存 & 计算订单价格
+	async function getOrderInfo() {
+		// 计算价格
+		const {
+			data,
+			code
+		} = await OrderApi.settlementOrder({
+			items: state.orderPayload.items,
+			couponId: state.orderPayload.couponId,
+			addressId: state.addressInfo.id,
+			deliveryType: 1, // TODO 非繁人:需要支持【门店自提】
+			pointStatus: false, // TODO 非繁人:需要支持【积分选择】
+			combinationActivityId: state.orderPayload.combinationActivityId,
+			combinationHeadId: state.orderPayload.combinationHeadId,
+			seckillActivityId: state.orderPayload.seckillActivityId,
+			usedPoint:state.usedPoint
+		});
+		if (code !== 0) {
+			return;
+		}
+		state.orderInfo = data;
+		// 设置收货地址
+		if (state.orderInfo.address) {
+			state.addressInfo = state.orderInfo.address;
+		}
+		state.currentMemberPoints = points2point(state.orderInfo.currentMemberPoints)
+	}
+	// 计算属性,重构数据以店铺名称为键
+	const shopsByNames = computed(() => {
+	  const shops = {};
+	  Object.keys(state.orderInfo.shopRespVOMap).forEach(shopId => {
+	    const shopName = state.orderInfo.shopNameMap[shopId];
+	    if (shopName) {
+	      shops[shopName] = state.orderInfo.shopRespVOMap[shopId];
+	    }
+	  });
+	  return shops;
+	});
+	
+	
+	// 获取可用优惠券
+	async function getCoupons() {
+		const {
+			code,
+			data
+		} = await CouponApi.getMatchCouponList(
+			state.orderInfo.price.payPrice,
+			state.orderInfo.items.map((item) => item.spuId),
+			state.orderPayload.items.map((item) => item.skuId),
+			state.orderPayload.items.map((item) => item.categoryId),
+		);
+		if (code === 0) {
+			state.couponInfo = data;
+		}
+	}
+	
+	onLoad(async (options) => {
+		if (!options.data) {
+			sheep.$helper.toast('参数不正确,请检查!');
+			return;
+		}
+		state.orderPayload = JSON.parse(options.data);
+		await getOrderInfo();
+		console.log(state)
+		// await getCoupons();
+	});
 </script>
 
 <style lang="scss" scoped>
-  :deep() {
-    .uni-input-wrapper {
-      width: 320rpx;
-    }
-
-    .uni-easyinput__content-input {
-      font-size: 28rpx;
-      height: 72rpx;
-      text-align: right !important;
-      padding-right: 0 !important;
-
-      .uni-input-input {
-        font-weight: 500;
-        color: #333333;
-        font-size: 26rpx;
-        height: 32rpx;
-        margin-top: 4rpx;
-      }
-    }
-
-    .uni-easyinput__content {
-      display: flex !important;
-      align-items: center !important;
-      justify-content: right !important;
-    }
-  }
-  .order-card-box,.address-box,.total-card-box{
-	  background: white;
-	  margin: 20rpx;
-	  border-radius: 20rpx;
-  }
+	:deep() {
+		.uni-input-wrapper {
+			width: 320rpx;
+		}
+
+		.uni-easyinput__content-input {
+			font-size: 28rpx;
+			height: 72rpx;
+			text-align: right !important;
+			padding-right: 0 !important;
+
+			.uni-input-input {
+				font-weight: 500;
+				color: #333333;
+				font-size: 26rpx;
+				height: 32rpx;
+				margin-top: 4rpx;
+			}
+		}
+
+		.uni-easyinput__content {
+			display: flex !important;
+			align-items: center !important;
+			justify-content: right !important;
+		}
+	}
+
+	.order-card-box,
+	.address-box,
+	.total-card-box {
+		background: white;
+		margin: 20rpx;
+		border-radius: 20rpx;
+	}
+
 	.title-text {
 		font-size: 30rpx;
 		font-weight: bold;
 		line-height: 42rpx;
 	}
-  .score-img {
-    width: 36rpx;
-    height: 36rpx;
-    margin: 0 4rpx;
-  }
-
-  .order-item {
-    height: 80rpx;
-
-    .item-title {
-      font-size: 28rpx;
-      font-weight: 400;
-    }
-
-    .item-value {
-      font-size: 28rpx;
-      font-weight: 500;
-      font-family: OPPOSANS;
-    }
-
-    .text-disabled {
-      color: #bbbbbb;
-    }
-
-    .item-icon {
-      color: $dark-9;
-    }
-
-    .remark-input {
-      text-align: right;
-    }
-
-    .item-placeholder {
-      color: $dark-9;
-      font-size: 26rpx;
-      text-align: right;
-    }
-  }
-
-  .total-box-footer {
-    height: 90rpx;
-
-    .total-num {
-      color: #333333;
-      font-family: OPPOSANS;
-    }
-  }
-
-  .footer-box {
-    height: 100rpx;
-
-    .submit-btn {
-      width: 240rpx;
-      height: 70rpx;
-      font-size: 28rpx;
-      font-weight: 500;
-
-      .goto-pay-text {
-        line-height: 28rpx;
-      }
-    }
-
-    .cancel-btn {
-      width: 240rpx;
-      height: 80rpx;
-      font-size: 26rpx;
-      background-color: #e5e5e5;
-      color: $dark-9;
-    }
-  }
-
-  .title {
-    font-size: 36rpx;
-    font-weight: bold;
-    color: #333333;
-  }
-
-  .subtitle {
-    font-size: 28rpx;
-    color: #999999;
-  }
-
-  .cicon-checkbox {
-    font-size: 36rpx;
-    color: var(--ui-BG-Main);
-  }
-
-  .cicon-box {
-    font-size: 36rpx;
-    color: #999999;
-  }
-</style>
+
+	.score-img {
+		width: 36rpx;
+		height: 36rpx;
+		margin: 0 4rpx;
+	}
+
+	.order-item {
+		height: 80rpx;
+
+		.item-title {
+			font-size: 28rpx;
+			font-weight: 400;
+		}
+
+		.item-value {
+			font-size: 28rpx;
+			font-weight: 500;
+			font-family: OPPOSANS;
+		}
+
+		.text-disabled {
+			color: #bbbbbb;
+		}
+
+		.item-icon {
+			color: $dark-9;
+		}
+
+		.remark-input {
+			text-align: right;
+		}
+
+		.item-placeholder {
+			color: $dark-9;
+			font-size: 26rpx;
+			text-align: right;
+		}
+	}
+
+	.total-box-footer {
+		height: 90rpx;
+
+		.total-num {
+			color: #333333;
+			font-family: OPPOSANS;
+		}
+	}
+
+	.footer-box {
+		height: 100rpx;
+
+		.submit-btn {
+			width: 240rpx;
+			height: 70rpx;
+			font-size: 28rpx;
+			font-weight: 500;
+
+			.goto-pay-text {
+				line-height: 28rpx;
+			}
+		}
+
+		.cancel-btn {
+			width: 240rpx;
+			height: 80rpx;
+			font-size: 26rpx;
+			background-color: #e5e5e5;
+			color: $dark-9;
+		}
+	}
+
+	.title {
+		font-size: 36rpx;
+		font-weight: bold;
+		color: #333333;
+	}
+
+	.subtitle {
+		font-size: 28rpx;
+		color: #999999;
+	}
+
+	.cicon-checkbox {
+		font-size: 36rpx;
+		color: var(--ui-BG-Main);
+	}
+
+	.cicon-box {
+		font-size: 36rpx;
+		color: #999999;
+	}
+</style>

+ 26 - 10
sheep/components/s-points-pop/s-points-pop.vue

@@ -6,10 +6,10 @@
 
 			<input v-model="state.points" class="uni-input input-points ss-m-b-10" type="number"
 				placeholder="请输入抵扣积分" />
-			<view class="subtitle">当前可用积分 {{state.pointsInfo}}</view>
+			<view class="subtitle">当前可用积分 {{currentMemberPoints}}</view>
 		</view>
 		<view class="modal-footer ss-flex">
-			<button class="confirm-btn ss-reset-button" @tap="emits('close')">取消</button>
+			<button class="confirm-btn ss-reset-button" @tap="state.points = 0;emits('confirm', state.points)">取消</button>
 			<button class="confirm-btn ss-reset-button" @tap="onConfirm">确认</button>
 		</view>
 	</su-popup>
@@ -32,28 +32,44 @@
 			type: Boolean,
 			default: false,
 		},
+		currentMemberPoints:{
+			type:Number,
+			default:0
+		},
+		currentTotalPrice:{
+			type:Number,
+			default:0
+		},
 	});
 	const emits = defineEmits(['confirm', 'close']);
 	const state = reactive({
-		pointsInfo: 1000, //computed(() => props.modelValue), 
+		currentMemberPoints: parseFloat(props.currentMemberPoints), 
+		currentTotalPrice:parseFloat(props.currentTotalPrice),
 		points: undefined,
 	});
-
+	console.log(props.currentTotalPrice)
 
 	watch(() => state.points, (newValue) => {
-		if (newValue > state.pointsInfo) {
-			state.points = state.pointsInfo; // 强制更新为最大值
+		if (newValue > state.currentMemberPoints ) {
+			state.points = state.currentMemberPoints; // 使用积分不能大于可用积分
+			// 使用 nextTick 确保 DOM 更新
+			nextTick(() => {
+				state.points = state.currentMemberPoints;
+			});
+		}
+		if (newValue > state.currentTotalPrice ) {
+			state.points = state.currentTotalPrice; // 使用积分不能大于可用积分
 			// 使用 nextTick 确保 DOM 更新
 			nextTick(() => {
-				state.points = state.pointsInfo;
+				state.points = state.currentTotalPrice;
 			});
 		}
 	});
 	// 确认
 	const onConfirm = () => {
-		if (!state.points) {
-			return false
-		}
+		// if (!state.points) {
+		// 	return false
+		// }
 		emits('confirm', state.points);
 	}
 </script>

+ 12 - 0
sheep/hooks/useGoods.js

@@ -64,6 +64,7 @@ export function formatPrice(e) {
   return e.length === 1 ? e[0] : e.join('~');
 }
 
+
 // 视频格式后缀列表
 const VIDEO_SUFFIX_LIST = ['.avi', '.mp4']
 
@@ -325,6 +326,17 @@ export function fen2yuan(price) {
   return (price / 100.0).toFixed(2)
 }
 
+/**
+ * 将后台积分转换为可使用积分
+ *
+ * @param point 分,例如说 10000 分
+ * @returns {string} 分,例如说 1.00 分
+ */
+export function points2point(point) {
+  return (point / 10000.0).toFixed(2)
+}
+
+
 /**
  * 从商品 SKU 数组中,转换出商品属性的数组
  *

+ 1 - 1
unpackage/dist/build/h5/assets/address.b09365e4.js → unpackage/dist/build/h5/assets/address.9d2b4aeb.js

@@ -1 +1 @@
-import{Y as e}from"./index-5f426530.js";const s={getAddressList:()=>e({url:"/member/address/list",method:"GET"}),createAddress:s=>e({url:"/member/address/create",method:"POST",data:s,custom:{showSuccess:!0,successMsg:"保存成功"}}),updateAddress:s=>e({url:"/member/address/update",method:"PUT",data:s,custom:{showSuccess:!0,successMsg:"更新成功"}}),getAddress:s=>e({url:"/member/address/get",method:"GET",params:{id:s}}),deleteAddress:s=>e({url:"/member/address/delete",method:"DELETE",params:{id:s}})};export{s as A};
+import{Y as e}from"./index-a8894bc1.js";const s={getAddressList:()=>e({url:"/member/address/list",method:"GET"}),createAddress:s=>e({url:"/member/address/create",method:"POST",data:s,custom:{showSuccess:!0,successMsg:"保存成功"}}),updateAddress:s=>e({url:"/member/address/update",method:"PUT",data:s,custom:{showSuccess:!0,successMsg:"更新成功"}}),getAddress:s=>e({url:"/member/address/get",method:"GET",params:{id:s}}),deleteAddress:s=>e({url:"/member/address/delete",method:"DELETE",params:{id:s}})};export{s as A};

+ 1 - 1
unpackage/dist/build/h5/assets/afterSale.e387a59b.js → unpackage/dist/build/h5/assets/afterSale.856639b1.js

@@ -1 +1 @@
-import{Y as e}from"./index-5f426530.js";const a={getAfterSalePage:a=>e({url:"/trade/after-sale/page",method:"GET",params:a,custom:{showLoading:!1}}),createAfterSale:a=>e({url:"/trade/after-sale/create",method:"POST",data:a}),getAfterSale:a=>e({url:"/trade/after-sale/get",method:"GET",params:{id:a}}),cancelAfterSale:a=>e({url:"/trade/after-sale/cancel",method:"DELETE",params:{id:a}}),getAfterSaleLogList:a=>e({url:"/trade/after-sale-log/list",method:"GET",params:{afterSaleId:a}}),deliveryAfterSale:a=>e({url:"/trade/after-sale/delivery",method:"PUT",data:a})};export{a as A};
+import{Y as e}from"./index-a8894bc1.js";const a={getAfterSalePage:a=>e({url:"/trade/after-sale/page",method:"GET",params:a,custom:{showLoading:!1}}),createAfterSale:a=>e({url:"/trade/after-sale/create",method:"POST",data:a}),getAfterSale:a=>e({url:"/trade/after-sale/get",method:"GET",params:{id:a}}),cancelAfterSale:a=>e({url:"/trade/after-sale/cancel",method:"DELETE",params:{id:a}}),getAfterSaleLogList:a=>e({url:"/trade/after-sale-log/list",method:"GET",params:{afterSaleId:a}}),deliveryAfterSale:a=>e({url:"/trade/after-sale/delivery",method:"PUT",data:a})};export{a as A};

+ 1 - 0
unpackage/dist/build/h5/assets/area.4393e9c4.js

@@ -0,0 +1 @@
+import{Y as e}from"./index-a8894bc1.js";const r={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})};export{r as A};

+ 0 - 1
unpackage/dist/build/h5/assets/area.6c344b29.js

@@ -1 +0,0 @@
-import{Y as e}from"./index-5f426530.js";const r={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})};export{r as A};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/bargain.372f8516.js


+ 1 - 1
unpackage/dist/build/h5/assets/brokerage.8ce3fcf8.js → unpackage/dist/build/h5/assets/brokerage.176a28d4.js

@@ -1 +1 @@
-import{Y as e}from"./index-5f426530.js";const r={getBrokerageUser:()=>e({url:"/trade/brokerage-user/get",method:"GET"}),getBrokerageUserSummary:()=>e({url:"/trade/brokerage-user/get-summary",method:"GET"}),getBrokerageRecordPage:r=>{void 0===r.status&&delete r.status;const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-record/page?${t}`,method:"GET"})},createBrokerageWithdraw:r=>e({url:"/trade/brokerage-withdraw/create",method:"POST",data:r}),getProductBrokeragePrice:r=>e({url:"/trade/brokerage-record/get-product-brokerage-price",method:"GET",params:{spuId:r}}),getRankByPrice:r=>{const t=`times=${r.times[0]}&times=${r.times[1]}`;return e({url:`/trade/brokerage-user/get-rank-by-price?${t}`,method:"GET"})},getBrokerageUserChildSummaryPageByPrice:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-price?${t}`,method:"GET"})},getBrokerageUserRankPageByUserCount:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-user-count?${t}`,method:"GET"})},getBrokerageUserChildSummaryPage:r=>e({url:"/trade/brokerage-user/child-summary-page",method:"GET",params:r})};export{r as B};
+import{Y as e}from"./index-a8894bc1.js";const r={getBrokerageUser:()=>e({url:"/trade/brokerage-user/get",method:"GET"}),getBrokerageUserSummary:()=>e({url:"/trade/brokerage-user/get-summary",method:"GET"}),getBrokerageRecordPage:r=>{void 0===r.status&&delete r.status;const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-record/page?${t}`,method:"GET"})},createBrokerageWithdraw:r=>e({url:"/trade/brokerage-withdraw/create",method:"POST",data:r}),getProductBrokeragePrice:r=>e({url:"/trade/brokerage-record/get-product-brokerage-price",method:"GET",params:{spuId:r}}),getRankByPrice:r=>{const t=`times=${r.times[0]}&times=${r.times[1]}`;return e({url:`/trade/brokerage-user/get-rank-by-price?${t}`,method:"GET"})},getBrokerageUserChildSummaryPageByPrice:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-price?${t}`,method:"GET"})},getBrokerageUserRankPageByUserCount:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-user-count?${t}`,method:"GET"})},getBrokerageUserChildSummaryPage:r=>e({url:"/trade/brokerage-user/child-summary-page",method:"GET",params:r})};export{r as B};

+ 1 - 1
unpackage/dist/build/h5/assets/category.34a0666e.js → unpackage/dist/build/h5/assets/category.7458d710.js

@@ -1 +1 @@
-import{Y as t}from"./index-5f426530.js";const o={getCategoryList:()=>t({url:"/product/category/list",method:"GET"}),getCategoryListByIds:o=>t({url:"/product/category/list-by-ids",method:"GET",params:{ids:o}})};export{o as C};
+import{Y as t}from"./index-a8894bc1.js";const o={getCategoryList:()=>t({url:"/product/category/list",method:"GET"}),getCategoryListByIds:o=>t({url:"/product/category/list-by-ids",method:"GET",params:{ids:o}})};export{o as C};

+ 1 - 1
unpackage/dist/build/h5/assets/combination.65d5ca96.js → unpackage/dist/build/h5/assets/combination.68506756.js

@@ -1 +1 @@
-import{Y as o}from"./index-5f426530.js";const t={getCombinationActivityList:t=>o({url:"/promotion/combination-activity/list",method:"GET",params:{count:t}}),getCombinationActivityPage:t=>o({url:"/promotion/combination-activity/page",method:"GET",params:t}),getCombinationActivity:t=>o({url:"/promotion/combination-activity/get-detail",method:"GET",params:{id:t}}),getHeadCombinationRecordList:(t,i,a)=>o({url:"/promotion/combination-record/get-head-list",method:"GET",params:{activityId:t,status:i,count:a}}),getCombinationRecordPage:t=>o({url:"/promotion/combination-record/page",method:"GET",params:t}),getCombinationRecordDetail:t=>o({url:"/promotion/combination-record/get-detail",method:"GET",params:{id:t}}),getCombinationRecordSummary:()=>o({url:"/promotion/combination-record/get-summary",method:"GET"})};export{t as C};
+import{Y as o}from"./index-a8894bc1.js";const t={getCombinationActivityList:t=>o({url:"/promotion/combination-activity/list",method:"GET",params:{count:t}}),getCombinationActivityPage:t=>o({url:"/promotion/combination-activity/page",method:"GET",params:t}),getCombinationActivity:t=>o({url:"/promotion/combination-activity/get-detail",method:"GET",params:{id:t}}),getHeadCombinationRecordList:(t,i,a)=>o({url:"/promotion/combination-record/get-head-list",method:"GET",params:{activityId:t,status:i,count:a}}),getCombinationRecordPage:t=>o({url:"/promotion/combination-record/page",method:"GET",params:t}),getCombinationRecordDetail:t=>o({url:"/promotion/combination-record/get-detail",method:"GET",params:{id:t}}),getCombinationRecordSummary:()=>o({url:"/promotion/combination-record/get-summary",method:"GET"})};export{t as C};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/comment-item.93a01318.js


+ 0 - 1
unpackage/dist/build/h5/assets/config.4ffb40bb.js

@@ -1 +0,0 @@
-import{Y as e}from"./index-5f426530.js";const o={getTradeConfig:()=>e({url:"/trade/config/get",method:"GET"})};export{o as T};

+ 1 - 0
unpackage/dist/build/h5/assets/config.b11221e2.js

@@ -0,0 +1 @@
+import{Y as e}from"./index-a8894bc1.js";const o={getTradeConfig:()=>e({url:"/trade/config/get",method:"GET"})};export{o as T};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/confirm-b5ae4cfa.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/confirm-ddf69018.css


+ 1 - 1
unpackage/dist/build/h5/assets/const.4c1d6033.js → unpackage/dist/build/h5/assets/const.01fa401b.js

@@ -1 +1 @@
-import{Y as t,b3 as e}from"./index-5f426530.js";const i={getSeckillConfigList:()=>t({url:"promotion/seckill-config/list",method:"GET"}),getNowSeckillActivity:()=>t({url:"promotion/seckill-activity/get-now",method:"GET"}),getSeckillActivityPage:e=>t({url:"promotion/seckill-activity/page",method:"GET",params:e}),getSeckillActivity:e=>t({url:"promotion/seckill-activity/get-detail",method:"GET",params:{id:e}})},o={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},l={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},a={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?a.WAIT_START:o.isAfter(i)?a.END:a.STARTED};export{l as C,o as P,i as S,a as T,s as g};
+import{Y as t,b3 as e}from"./index-a8894bc1.js";const i={getSeckillConfigList:()=>t({url:"promotion/seckill-config/list",method:"GET"}),getNowSeckillActivity:()=>t({url:"promotion/seckill-activity/get-now",method:"GET"}),getSeckillActivityPage:e=>t({url:"promotion/seckill-activity/page",method:"GET",params:e}),getSeckillActivity:e=>t({url:"promotion/seckill-activity/get-detail",method:"GET",params:{id:e}})},o={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},l={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},a={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?a.WAIT_START:o.isAfter(i)?a.END:a.STARTED};export{l as C,o as P,i as S,a as T,s as g};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/detail-content-card.b03b696f.js


+ 1 - 1
unpackage/dist/build/h5/assets/favorite.0da52c9f.js → unpackage/dist/build/h5/assets/favorite.b7a59b6c.js

@@ -1 +1 @@
-import{Y as e}from"./index-5f426530.js";const t={getFavoritePage:t=>e({url:"/product/favorite/page",method:"GET",params:t}),isFavoriteExists:t=>e({url:"/product/favorite/exits",method:"GET",params:{spuId:t}}),createFavorite:t=>e({url:"/product/favorite/create",method:"POST",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"收藏成功"}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};
+import{Y as e}from"./index-a8894bc1.js";const t={getFavoritePage:t=>e({url:"/product/favorite/page",method:"GET",params:t}),isFavoriteExists:t=>e({url:"/product/favorite/exits",method:"GET",params:{spuId:t}}),createFavorite:t=>e({url:"/product/favorite/create",method:"POST",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"收藏成功"}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/form.5ccdd1b7.js


+ 1 - 1
unpackage/dist/build/h5/assets/history.ce9f5b25.js → unpackage/dist/build/h5/assets/history.c179162c.js

@@ -1 +1 @@
-import{Y as s}from"./index-5f426530.js";const o={deleteBrowseHistory:o=>s({url:"/product/browse-history/delete",method:"DELETE",data:{spuIds:o},custom:{showSuccess:!0,successMsg:"删除成功"}}),cleanBrowseHistory:()=>s({url:"/product/browse-history/clean",method:"DELETE",custom:{showSuccess:!0,successMsg:"清空成功"}}),getBrowseHistoryPage:o=>s({url:"/product/browse-history/page",method:"GET",data:o,custom:{showLoading:!1}})};export{o as S};
+import{Y as s}from"./index-a8894bc1.js";const o={deleteBrowseHistory:o=>s({url:"/product/browse-history/delete",method:"DELETE",data:{spuIds:o},custom:{showSuccess:!0,successMsg:"删除成功"}}),cleanBrowseHistory:()=>s({url:"/product/browse-history/clean",method:"DELETE",custom:{showSuccess:!0,successMsg:"清空成功"}}),getBrowseHistoryPage:o=>s({url:"/product/browse-history/page",method:"GET",data:o,custom:{showLoading:!1}})};export{o as S};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/index-a8894bc1.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/mp-html.9a47da3f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-bargain-detail.25abf9a5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-bargain-list.5c26019c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-groupon-detail.b5590651.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-groupon-list.58c91e9d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-groupon-order.e1bf316f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-index.713ed92b.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-activity-seckill-list.d29677ab.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-app-sign.710d6911.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-chat-index.27a742c2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-commission-ranking.63dd498e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-goods.58dfb8d7.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-index.d42e7a1e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-order.040bf3b2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-promoter.1da4ef1d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-team.2ebbcf4f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-wallet.1d2e6f17.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-commission-withdraw.43b9959c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-coupon-detail.eacf063a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-coupon-list.32dffd2f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-comment-add.38186e83.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-comment-list.c1e823ae.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-groupon.8f8003cc.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-index.33c29e8f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-list.153bfdd6.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-goods-seckill.13816902.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-index-cart.bf11e415.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-index-category.6543f94d.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-index.054496a9.js → unpackage/dist/build/h5/assets/pages-index-index.31e38e5c.js

@@ -1 +1 @@
-import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-5f426530.js";import{_ as f,a as x}from"./s-block.adf312ed.js";import{_ as h}from"./s-layout.bac23aa9.js";import"./form.c9584b89.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd310807.js";import"./su-image.81744b82.js";import"./su-swiper.6485ec21.js";import"./s-goods-column.88ad3dc2.js";import"./useGoods.b0a49e91.js";/* empty css                                                                     */import"./uni-load-more.35e4fd95.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.221d58a3.js";import"./combination.65d5ca96.js";import"./const.4c1d6033.js";import"./mp-html.bc0804b1.js";import"./richtext.c8bba4d0.js";const k={__name:"index",setup(k){s();const S=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return l(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l(S).page,navbarStyle:null==(s=l(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l(S).components,((s,e)=>(m(),n(o,{key:e,styles:s.property.style},{default:u((()=>[y(t,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{k as default};
+import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-a8894bc1.js";import{_ as f,a as x}from"./s-block.a3a1aced.js";import{_ as h}from"./s-layout.3dd7d9b6.js";import"./form.5ccdd1b7.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2c881f5a.js";import"./su-image.e51f3bb7.js";import"./su-swiper.dd24781a.js";import"./s-goods-column.953f9242.js";import"./useGoods.c6db0058.js";/* empty css                                                                     */import"./uni-load-more.bdd6d7b5.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.a4a3c9c0.js";import"./combination.68506756.js";import"./const.01fa401b.js";import"./mp-html.9a47da3f.js";import"./richtext.dfccc34e.js";const k={__name:"index",setup(k){s();const S=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return l(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l(S).page,navbarStyle:null==(s=l(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l(S).components,((s,e)=>(m(),n(o,{key:e,styles:s.property.style},{default:u((()=>[y(t,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{k as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-index-login.2029bd3b.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-page.069fd0b8.js → unpackage/dist/build/h5/assets/pages-index-page.e3231d8f.js

@@ -1 +1 @@
-import{_ as t,a as s}from"./s-block.adf312ed.js";import{v as e,o,V as a,d as p,e as r,f as i,w as n,l,k as m,r as _,F as u,m as y,j as d}from"./index-5f426530.js";import{_ as c}from"./s-layout.bac23aa9.js";import"./form.c9584b89.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd310807.js";import"./su-image.81744b82.js";import"./su-swiper.6485ec21.js";import"./s-goods-column.88ad3dc2.js";import"./useGoods.b0a49e91.js";/* empty css                                                                     */import"./uni-load-more.35e4fd95.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.221d58a3.js";import"./combination.65d5ca96.js";import"./const.4c1d6033.js";import"./mp-html.bc0804b1.js";import"./richtext.c8bba4d0.js";const g={__name:"page",setup(g){const j=e({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var s,e,o;let p=t.id;const{code:r,data:i}=await a.getDiyPage(p);0===r&&(j.name=i.name,j.components=null==(s=i.property)?void 0:s.components,j.navigationBar=null==(e=i.property)?void 0:e.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(e,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),s),g=l(y("s-layout"),c);return r(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(r(!0),m(u,null,_(j.components,((t,s)=>(r(),i(p,{key:s,styles:t.property.style},{default:n((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};
+import{_ as t,a as s}from"./s-block.a3a1aced.js";import{v as e,o,V as a,d as p,e as r,f as i,w as n,l,k as m,r as _,F as u,m as y,j as d}from"./index-a8894bc1.js";import{_ as c}from"./s-layout.3dd7d9b6.js";import"./form.5ccdd1b7.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2c881f5a.js";import"./su-image.e51f3bb7.js";import"./su-swiper.dd24781a.js";import"./s-goods-column.953f9242.js";import"./useGoods.c6db0058.js";/* empty css                                                                     */import"./uni-load-more.bdd6d7b5.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.a4a3c9c0.js";import"./combination.68506756.js";import"./const.01fa401b.js";import"./mp-html.9a47da3f.js";import"./richtext.dfccc34e.js";const g={__name:"page",setup(g){const j=e({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var s,e,o;let p=t.id;const{code:r,data:i}=await a.getDiyPage(p);0===r&&(j.name=i.name,j.components=null==(s=i.property)?void 0:s.components,j.navigationBar=null==(e=i.property)?void 0:e.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(e,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),s),g=l(y("s-layout"),c);return r(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(r(!0),m(u,null,_(j.components,((t,s)=>(r(),i(p,{key:s,styles:t.property.style},{default:n((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-search.6cab3a18.js → unpackage/dist/build/h5/assets/pages-index-search.a10f4485.js

@@ -1 +1 @@
-import{v as s,o as t,K as e,e as a,f as o,w as r,l as i,j as l,p as c,k as n,r as u,F as f,s as h,R as y,T as d,U as p,m as _,i as m,D as x,t as L}from"./index-5f426530.js";import{b as g,_ as b}from"./s-layout.bac23aa9.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.c9584b89.js";const k=w({__name:"search",setup(w){const k=s({historyList:[]});function j(s){s&&(!function(s){k.historyList.includes(s)&&k.historyList.splice(k.historyList.indexOf(s),1);k.historyList.unshift(s),k.historyList.length>=10&&(k.historyList.length=10);y("searchHistory",k.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(k.historyTag=[],p("searchHistory"))}})}return t((()=>{k.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);return a(),o(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>j(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[c("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[c(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(a(!0),n(f,null,u(k.historyList,((s,t)=>(a(),o(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[c(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{k as default};
+import{v as s,o as t,K as e,e as a,f as o,w as r,l as i,j as l,p as c,k as n,r as u,F as f,s as h,R as y,T as d,U as p,m as _,i as m,D as x,t as L}from"./index-a8894bc1.js";import{b as g,_ as b}from"./s-layout.3dd7d9b6.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.5ccdd1b7.js";const k=w({__name:"search",setup(w){const k=s({historyList:[]});function j(s){s&&(!function(s){k.historyList.includes(s)&&k.historyList.splice(k.historyList.indexOf(s),1);k.historyList.unshift(s),k.historyList.length>=10&&(k.historyList.length=10);y("searchHistory",k.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(k.historyTag=[],p("searchHistory"))}})}return t((()=>{k.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);return a(),o(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>j(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[c("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[c(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(a(!0),n(f,null,u(k.historyList,((s,t)=>(a(),o(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[c(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{k as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-user.8ba86905.js → unpackage/dist/build/h5/assets/pages-index-user.348690da.js

@@ -1 +1 @@
-import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as l,f as i,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-5f426530.js";import{_ as b,a as g}from"./s-block.adf312ed.js";import{_ as v}from"./s-layout.bac23aa9.js";import"./form.c9584b89.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd310807.js";import"./su-image.81744b82.js";import"./su-swiper.6485ec21.js";import"./s-goods-column.88ad3dc2.js";import"./useGoods.b0a49e91.js";/* empty css                                                                     */import"./uni-load-more.35e4fd95.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.221d58a3.js";import"./combination.65d5ca96.js";import"./const.4c1d6033.js";import"./mp-html.bc0804b1.js";import"./richtext.c8bba4d0.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return console.log(x.value),e((()=>o.$store("user").isLogin)),t((()=>{o.$store("user").updateUserData()})),a((()=>{o.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),(s,e)=>{var t;const o=n(c("s-block-item"),b),a=n(c("s-block"),g),r=n(c("s-layout"),v);return l(),i(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:m(x).page,navbarStyle:null==(t=m(x).style)?void 0:t.navbar,onShareAppMessage:""},{default:u((()=>[(l(!0),_(y,null,d(m(x).components,((s,e)=>(l(),i(a,{key:e,styles:s.property.style},{default:u((()=>[j(o,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{f as default};
+import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as l,f as i,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-a8894bc1.js";import{_ as b,a as g}from"./s-block.a3a1aced.js";import{_ as v}from"./s-layout.3dd7d9b6.js";import"./form.5ccdd1b7.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2c881f5a.js";import"./su-image.e51f3bb7.js";import"./su-swiper.dd24781a.js";import"./s-goods-column.953f9242.js";import"./useGoods.c6db0058.js";/* empty css                                                                     */import"./uni-load-more.bdd6d7b5.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.a4a3c9c0.js";import"./combination.68506756.js";import"./const.01fa401b.js";import"./mp-html.9a47da3f.js";import"./richtext.dfccc34e.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return console.log(x.value),e((()=>o.$store("user").isLogin)),t((()=>{o.$store("user").updateUserData()})),a((()=>{o.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),(s,e)=>{var t;const o=n(c("s-block-item"),b),a=n(c("s-block"),g),r=n(c("s-layout"),v);return l(),i(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:m(x).page,navbarStyle:null==(t=m(x).style)?void 0:t.navbar,onShareAppMessage:""},{default:u((()=>[(l(!0),_(y,null,d(m(x).components,((s,e)=>(l(),i(a,{key:e,styles:s.property.style},{default:u((()=>[j(o,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{f as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-apply.bf470ba5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-detail.48474c65.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-list.71b40df0.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-order-aftersale-log.7773d5c3.js → unpackage/dist/build/h5/assets/pages-order-aftersale-log.681fd142.js

@@ -1 +1 @@
-import{e as t,f as e,w as s,j as a,z as l,g as i,p as o,t as d,u as n,s as r,C as c,i as u,v as m,o as f,l as p,k as _,r as y,F as x,m as g}from"./index-5f426530.js";import{_ as b}from"./s-layout.bac23aa9.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.e387a59b.js";import"./form.c9584b89.js";const v=j({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=c,y=u;return t(),e(y,{class:"log-item ss-flex"},{default:s((()=>[a(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[a(_,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),e(y,{key:0,class:"line"})):i("",!0)])),_:1}),a(y,null,{default:s((()=>[a(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),a(y,{class:"date"},{default:s((()=>[o(d(n(r).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),k=j({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:e}=await h.getAfterSaleLogList(t);i.list=e}(t.id)})),(l,o)=>{const d=u,n=p(g("s-layout"),b);return t(),e(n,{title:"售后进度"},{default:s((()=>[a(d,{class:"log-box"},{default:s((()=>[(t(!0),_(x,null,y(i.list,((l,o)=>(t(),e(d,{key:l.id},{default:s((()=>[a(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{k as default};
+import{e as t,f as e,w as s,j as a,z as l,g as i,p as o,t as d,u as n,s as r,C as c,i as u,v as m,o as f,l as p,k as _,r as y,F as x,m as g}from"./index-a8894bc1.js";import{_ as b}from"./s-layout.3dd7d9b6.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.856639b1.js";import"./form.5ccdd1b7.js";const v=j({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=c,y=u;return t(),e(y,{class:"log-item ss-flex"},{default:s((()=>[a(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[a(_,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),e(y,{key:0,class:"line"})):i("",!0)])),_:1}),a(y,null,{default:s((()=>[a(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),a(y,{class:"date"},{default:s((()=>[o(d(n(r).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),k=j({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:e}=await h.getAfterSaleLogList(t);i.list=e}(t.id)})),(l,o)=>{const d=u,n=p(g("s-layout"),b);return t(),e(n,{title:"售后进度"},{default:s((()=>[a(d,{class:"log-box"},{default:s((()=>[(t(!0),_(x,null,y(i.list,((l,o)=>(t(),e(d,{key:l.id},{default:s((()=>[a(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{k as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.656ea110.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-confirm.cbebfeba.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-confirm.e15314dd.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-detail.63c69cdb.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-express-log.3bde0a49.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-list.571b6978.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-pay-index.a3683d3a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-pay-recharge-log.cec20ea1.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-pay-recharge.656d9fce.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-pay-result.71175cef.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-error.f8516061.js → unpackage/dist/build/h5/assets/pages-public-error.808e2b91.js

@@ -1 +1 @@
-import{I as t,o as e,e as o,f as n,w as a,i as s,g as r,aU as i,bt as c,l,m as p}from"./index-5f426530.js";import{_ as u}from"./s-empty.70319976.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,f.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:x,buttonColor:"#ff3000"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:f.value,showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-88db9efc"]]);export{m as default};
+import{I as t,o as e,e as o,f as n,w as a,i as s,g as r,aU as i,bt as c,l,m as p}from"./index-a8894bc1.js";import{_ as u}from"./s-empty.955932d4.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,f.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:x,buttonColor:"#ff3000"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:f.value,showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-88db9efc"]]);export{m as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-faq.f9a1fd1a.js → unpackage/dist/build/h5/assets/pages-public-faq.79659709.js

@@ -1 +1 @@
-import{v as s,o as t,s as e,e as a,f as l,w as o,l as c,j as r,k as i,r as n,F as p,g as u,m as _,p as m,t as f,i as d,C as g}from"./index-5f426530.js";import{_ as y,a as x}from"./uni-collapse.2ff31cd9.js";import{_ as j}from"./s-empty.70319976.js";import{_ as b}from"./s-layout.bac23aa9.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.c9584b89.js";/* empty css                                                                */const h=v({__name:"faq",setup(v){const h=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=d,v=g,k=c(_("uni-collapse-item"),y),F=c(_("uni-collapse"),x),w=c(_("s-empty"),j),q=c(_("s-layout"),b);return a(),l(q,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[r(F,null,{default:o((()=>[(a(!0),i(p,null,n(h.list,((s,t)=>(a(),l(k,{key:s},{title:o((()=>[r(e,{class:"ss-flex ss-col-center header"},{default:o((()=>[r(e,{class:"ss-m-l-20 ss-m-r-20 icon"},{default:o((()=>[r(e,{class:"rectangle"},{default:o((()=>[r(e,{class:"num ss-flex ss-row-center ss-col-center"},{default:o((()=>[m(f(t+1<10?"0"+(t+1):t+1),1)])),_:2},1024)])),_:2},1024),r(e,{class:"triangle"})])),_:2},1024),r(e,{class:"title ss-m-t-36 ss-m-b-36"},{default:o((()=>[m(f(s.title),1)])),_:2},1024)])),_:2},1024)])),default:o((()=>[r(e,{class:"content ss-p-l-78 ss-p-r-40 ss-p-b-50 ss-p-t-20"},{default:o((()=>[r(v,{class:"text"},{default:o((()=>[m(f(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==h.list.length||h.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-d403c664"]]);export{h as default};
+import{v as s,o as t,s as e,e as a,f as l,w as o,l as c,j as r,k as i,r as n,F as p,g as u,m as _,p as m,t as f,i as d,C as g}from"./index-a8894bc1.js";import{_ as y,a as x}from"./uni-collapse.df22497e.js";import{_ as j}from"./s-empty.955932d4.js";import{_ as b}from"./s-layout.3dd7d9b6.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.5ccdd1b7.js";/* empty css                                                                */const h=v({__name:"faq",setup(v){const h=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=d,v=g,k=c(_("uni-collapse-item"),y),F=c(_("uni-collapse"),x),w=c(_("s-empty"),j),q=c(_("s-layout"),b);return a(),l(q,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[r(F,null,{default:o((()=>[(a(!0),i(p,null,n(h.list,((s,t)=>(a(),l(k,{key:s},{title:o((()=>[r(e,{class:"ss-flex ss-col-center header"},{default:o((()=>[r(e,{class:"ss-m-l-20 ss-m-r-20 icon"},{default:o((()=>[r(e,{class:"rectangle"},{default:o((()=>[r(e,{class:"num ss-flex ss-row-center ss-col-center"},{default:o((()=>[m(f(t+1<10?"0"+(t+1):t+1),1)])),_:2},1024)])),_:2},1024),r(e,{class:"triangle"})])),_:2},1024),r(e,{class:"title ss-m-t-36 ss-m-b-36"},{default:o((()=>[m(f(s.title),1)])),_:2},1024)])),_:2},1024)])),default:o((()=>[r(e,{class:"content ss-p-l-78 ss-p-r-40 ss-p-b-50 ss-p-t-20"},{default:o((()=>[r(v,{class:"text"},{default:o((()=>[m(f(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==h.list.length||h.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-d403c664"]]);export{h as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-public-setting.82c53092.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-webview.987979cc.js → unpackage/dist/build/h5/assets/pages-public-webview.3aeaf4fa.js

@@ -1 +1 @@
-import{I as e,o as s,e as a,f as n,w as t,i as u,j as o,bu as r}from"./index-5f426530.js";const l={__name:"webview",setup(l){const c=e("");return s((e=>{c.value=decodeURIComponent(e.url)})),(e,s)=>{const l=r,d=u;return a(),n(d,null,{default:t((()=>[o(l,{src:c.value},null,8,["src"])])),_:1})}}};export{l as default};
+import{I as e,o as s,e as a,f as n,w as t,i as u,j as o,bu as r}from"./index-a8894bc1.js";const l={__name:"webview",setup(l){const c=e("");return s((e=>{c.value=decodeURIComponent(e.url)})),(e,s)=>{const l=r,d=u;return a(),n(d,null,{default:t((()=>[o(l,{src:c.value},null,8,["src"])])),_:1})}}};export{l as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-shop-index.e9e43fd0.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-address-edit.9812a2d3.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-address-list.02c474cd.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-goods-collect.930426e2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-goods-log.45329402.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-info.9c2447dd.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-invoice-edit.59efa64a.js


+ 1 - 1
unpackage/dist/build/h5/assets/pages-user-invoice-list.7db17dea.js → unpackage/dist/build/h5/assets/pages-user-invoice-list.22f70c7a.js

@@ -1 +1 @@
-import{v as s,n as a,J as t,K as e,R as o,e as r,f as i,w as d,l,k as n,r as m,F as p,g as u,j as _,u as c,s as f,p as g,m as y,i as j,D as b,as as k}from"./index-5f426530.js";import{_ as x}from"./s-address-item.c0f57d61.js";import{a as h,_ as v}from"./s-layout.bac23aa9.js";import{_ as w}from"./s-empty.70319976.js";import{A}from"./area.6c344b29.js";import{A as C}from"./address.b09365e4.js";import{_ as D}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.c9584b89.js";/* empty css                                                                */const S=D({__name:"list",setup(D){const S=s({list:[],loading:!0});return a((async()=>{S.list=(await C.getAddressList()).data,S.loading=!1})),t((()=>{e("areaData")||A.getAreaTree().then((s=>{0===s.code&&o("areaData",s.data)}))})),(s,a)=>{const t=l(y("s-address-item"),x),e=j,o=b,A=l(y("su-fixed"),h),C=l(y("s-empty"),w),D=l(y("s-layout"),v);return r(),i(D,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:d((()=>[S.list.length?(r(),i(e,{key:0},{default:d((()=>[(r(!0),n(p,null,m(S.list,(s=>(r(),i(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void f.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):u("",!0),_(A,{bottom:"",placeholder:""},{default:d((()=>[_(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:d((()=>[_(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>c(f).$router.go("/pages/user/invoice/edit"))},{default:d((()=>[g(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==S.list.length||S.loading?u("",!0):(r(),i(C,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{S as default};
+import{v as s,n as a,J as t,K as e,R as o,e as r,f as i,w as d,l,k as n,r as m,F as p,g as u,j as _,u as c,s as f,p as g,m as y,i as j,D as b,as as k}from"./index-a8894bc1.js";import{_ as x}from"./s-address-item.45b8741f.js";import{a as h,_ as v}from"./s-layout.3dd7d9b6.js";import{_ as w}from"./s-empty.955932d4.js";import{A}from"./area.4393e9c4.js";import{A as C}from"./address.9d2b4aeb.js";import{_ as D}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.5ccdd1b7.js";/* empty css                                                                */const S=D({__name:"list",setup(D){const S=s({list:[],loading:!0});return a((async()=>{S.list=(await C.getAddressList()).data,S.loading=!1})),t((()=>{e("areaData")||A.getAreaTree().then((s=>{0===s.code&&o("areaData",s.data)}))})),(s,a)=>{const t=l(y("s-address-item"),x),e=j,o=b,A=l(y("su-fixed"),h),C=l(y("s-empty"),w),D=l(y("s-layout"),v);return r(),i(D,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:d((()=>[S.list.length?(r(),i(e,{key:0},{default:d((()=>[(r(!0),n(p,null,m(S.list,(s=>(r(),i(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void f.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):u("",!0),_(A,{bottom:"",placeholder:""},{default:d((()=>[_(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:d((()=>[_(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>c(f).$router.go("/pages/user/invoice/edit"))},{default:d((()=>[g(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==S.list.length||S.loading?u("",!0):(r(),i(C,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{S as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-qrcode-share.83598629.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-setting.10beb5fa.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-wallet-money.1900debd.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-wallet-score.b59d73f5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-wallet-scoreToMoney.341f3169.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-user-wallet-team.8d9ebd66.js


+ 1 - 1
unpackage/dist/build/h5/assets/point.17a5f580.js → unpackage/dist/build/h5/assets/point.851e735a.js

@@ -1 +1 @@
-import{Y as e}from"./index-5f426530.js";const t={getPointRecordPage:t=>{void 0===t.addStatus&&delete t.addStatus;const o=Object.keys(t).map((e=>encodeURIComponent(e)+"="+t[e])).join("&");return e({url:`/member/point/record/page?${o}`,method:"GET"})}};export{t as P};
+import{Y as e}from"./index-a8894bc1.js";const t={getPointRecordPage:t=>{void 0===t.addStatus&&delete t.addStatus;const o=Object.keys(t).map((e=>encodeURIComponent(e)+"="+t[e])).join("&");return e({url:`/member/point/record/page?${o}`,method:"GET"})}};export{t as P};

+ 1 - 1
unpackage/dist/build/h5/assets/rewardActivity.5474f8de.js → unpackage/dist/build/h5/assets/rewardActivity.0f40be28.js

@@ -1 +1 @@
-import{Y as t}from"./index-5f426530.js";const r={getRewardActivity:r=>t({url:"/promotion/reward-activity/get",method:"GET",params:{id:r}})};export{r as R};
+import{Y as t}from"./index-a8894bc1.js";const r={getRewardActivity:r=>t({url:"/promotion/reward-activity/get",method:"GET",params:{id:r}})};export{r as R};

+ 1 - 1
unpackage/dist/build/h5/assets/richtext.c8bba4d0.js → unpackage/dist/build/h5/assets/richtext.dfccc34e.js

@@ -1 +1 @@
-import{Y as t,v as e,o as l,b8 as i,e as s,f as a,w as o,l as n,j as r,m as c,i as p}from"./index-5f426530.js";import{_ as u}from"./mp-html.bc0804b1.js";import{_ as m}from"./s-layout.bac23aa9.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _={getArticle:(e,l)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:l}})},f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(t){const d=t,f=e({title:"",content:""});return l((t=>{(t.title||d.title)&&(f.title=t.title||d.title,i({title:f.title||d.title})),async function(t,e){const{code:l,data:s}=await _.getArticle(t,e);0===l&&(f.content=s.content,f.title!==s.title&&(f.title=s.title,i({title:f.title})))}(t.id,t.title||d.title)})),(e,l)=>{const i=n(c("mp-html"),u),d=p,_=n(c("s-layout"),m);return f.title&&!t.type?(s(),a(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:o((()=>[r(d,{class:"ss-p-30"},{default:o((()=>[r(i,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(s(),a(i,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"}));export{_ as A,y as a,f as r};
+import{Y as t,v as e,o as l,b8 as i,e as s,f as a,w as o,l as n,j as r,m as c,i as p}from"./index-a8894bc1.js";import{_ as u}from"./mp-html.9a47da3f.js";import{_ as m}from"./s-layout.3dd7d9b6.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _={getArticle:(e,l)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:l}})},f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(t){const d=t,f=e({title:"",content:""});return l((t=>{(t.title||d.title)&&(f.title=t.title||d.title,i({title:f.title||d.title})),async function(t,e){const{code:l,data:s}=await _.getArticle(t,e);0===l&&(f.content=s.content,f.title!==s.title&&(f.title=s.title,i({title:f.title})))}(t.id,t.title||d.title)})),(e,l)=>{const i=n(c("mp-html"),u),d=p,_=n(c("s-layout"),m);return f.title&&!t.type?(s(),a(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:o((()=>[r(d,{class:"ss-p-30"},{default:o((()=>[r(i,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(s(),a(i,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"}));export{_ as A,y as a,f as r};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-address-item.45b8741f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-block.a3a1aced.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-coupon-list.94471b56.js


+ 1 - 1
unpackage/dist/build/h5/assets/s-empty.70319976.js → unpackage/dist/build/h5/assets/s-empty.955932d4.js

@@ -1 +1 @@
-import{B as t,e,f as s,w as a,j as o,p as n,t as i,g as l,y as c,s as p,q as r,i as d,C as u,D as _}from"./index-5f426530.js";/* empty css                                                                */import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const f=y({__name:"s-empty",props:{icon:{type:String,default:""},text:{type:String,default:""},showAction:{type:Boolean,default:!1},actionText:{type:String,default:""},actionUrl:{type:String,default:""},paddingTop:{type:String,default:"260"},buttonColor:{type:String,default:"var(--ui-BG-Main)"}},emits:["clickAction"],setup(y,{emit:f}){const m=y;function x(){""!==m.actionUrl&&p.$router.go(m.actionUrl),f("clickAction")}return t((t=>({"353aa77b":y.buttonColor}))),(t,p)=>{const f=r,m=d,g=u,b=_;return e(),s(m,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:c([{paddingTop:y.paddingTop+"rpx"}])},{default:a((()=>[o(m,{class:""},{default:a((()=>[o(f,{class:"empty-icon",src:y.icon,mode:"widthFix"},null,8,["src"])])),_:1}),o(m,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:a((()=>[""!==y.text?(e(),s(g,{key:0},{default:a((()=>[n(i(y.text),1)])),_:1})):l("",!0)])),_:1}),y.showAction?(e(),s(b,{key:0,class:"ss-reset-button empty-btn",onClick:x},{default:a((()=>[n(i(y.actionText),1)])),_:1})):l("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-4198cfab"]]);export{f as _};
+import{B as t,e,f as s,w as a,j as o,p as n,t as i,g as l,y as c,s as p,q as r,i as d,C as u,D as _}from"./index-a8894bc1.js";/* empty css                                                                */import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const f=y({__name:"s-empty",props:{icon:{type:String,default:""},text:{type:String,default:""},showAction:{type:Boolean,default:!1},actionText:{type:String,default:""},actionUrl:{type:String,default:""},paddingTop:{type:String,default:"260"},buttonColor:{type:String,default:"var(--ui-BG-Main)"}},emits:["clickAction"],setup(y,{emit:f}){const m=y;function x(){""!==m.actionUrl&&p.$router.go(m.actionUrl),f("clickAction")}return t((t=>({"353aa77b":y.buttonColor}))),(t,p)=>{const f=r,m=d,g=u,b=_;return e(),s(m,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:c([{paddingTop:y.paddingTop+"rpx"}])},{default:a((()=>[o(m,{class:""},{default:a((()=>[o(f,{class:"empty-icon",src:y.icon,mode:"widthFix"},null,8,["src"])])),_:1}),o(m,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:a((()=>[""!==y.text?(e(),s(g,{key:0},{default:a((()=>[n(i(y.text),1)])),_:1})):l("",!0)])),_:1}),y.showAction?(e(),s(b,{key:0,class:"ss-reset-button empty-btn",onClick:x},{default:a((()=>[n(i(y.actionText),1)])),_:1})):l("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-4198cfab"]]);export{f as _};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-goods-column.953f9242.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-goods-item.d4ce3058.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-layout.3dd7d9b6.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-select-groupon-sku.38b73b7a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-uploader.5fe3af8d.js


+ 1 - 1
unpackage/dist/build/h5/assets/spu.221d58a3.js → unpackage/dist/build/h5/assets/spu.a4a3c9c0.js

@@ -1 +1 @@
-import{Y as o}from"./index-5f426530.js";const s={getSpuListByIds:s=>o({url:"/product/spu/list-by-ids",method:"GET",params:{ids:s},custom:{showLoading:!1,showError:!1}}),getSpuPage:s=>o({url:"/product/spu/page",method:"GET",params:s,custom:{showLoading:!1,showError:!1}}),getSpuDetail:s=>o({url:"/product/spu/get-detail",method:"GET",params:{id:s},custom:{showLoading:!1,showError:!1}})};export{s as S};
+import{Y as o}from"./index-a8894bc1.js";const s={getSpuListByIds:s=>o({url:"/product/spu/list-by-ids",method:"GET",params:{ids:s},custom:{showLoading:!1,showError:!1}}),getSpuPage:s=>o({url:"/product/spu/page",method:"GET",params:s,custom:{showLoading:!1,showError:!1}}),getSpuDetail:s=>o({url:"/product/spu/get-detail",method:"GET",params:{id:s},custom:{showLoading:!1,showError:!1}})};export{s as S};

Some files were not shown because too many files changed in this diff