zhaogongxue 7 月之前
父節點
當前提交
e26dd64718
共有 100 個文件被更改,包括 2925 次插入2827 次删除
  1. 1035 1166
      pageA/order.vue
  2. 399 625
      pageA/productdetails.vue
  3. 330 137
      pageA/rule/rule.vue
  4. 813 899
      pages/cart/cart.vue
  5. 4 0
      unpackage/dist/build/mp-weixin/app.js
  6. 143 0
      unpackage/dist/build/mp-weixin/app.json
  7. 3 0
      unpackage/dist/build/mp-weixin/app.wxss
  8. 0 0
      unpackage/dist/build/mp-weixin/common/main.js
  9. 0 0
      unpackage/dist/build/mp-weixin/common/main.wxss
  10. 2 0
      unpackage/dist/build/mp-weixin/common/runtime.js
  11. 0 0
      unpackage/dist/build/mp-weixin/common/vendor.js
  12. 0 0
      unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.js
  13. 4 0
      unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.json
  14. 0 0
      unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.wxml
  15. 0 0
      unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.wxss
  16. 0 0
      unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.js
  17. 6 0
      unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.json
  18. 0 0
      unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.wxml
  19. 1 0
      unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.wxss
  20. 0 0
      unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.js
  21. 9 0
      unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.json
  22. 0 0
      unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.wxml
  23. 1 0
      unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.wxss
  24. 1 0
      unpackage/dist/build/mp-weixin/pageA/balance.js
  25. 5 0
      unpackage/dist/build/mp-weixin/pageA/balance.json
  26. 1 0
      unpackage/dist/build/mp-weixin/pageA/balance.wxml
  27. 0 0
      unpackage/dist/build/mp-weixin/pageA/changelange.js
  28. 9 0
      unpackage/dist/build/mp-weixin/pageA/changelange.json
  29. 0 0
      unpackage/dist/build/mp-weixin/pageA/changelange.wxml
  30. 1 0
      unpackage/dist/build/mp-weixin/pageA/changelange.wxss
  31. 0 0
      unpackage/dist/build/mp-weixin/pageA/chat/chat.js
  32. 10 0
      unpackage/dist/build/mp-weixin/pageA/chat/chat.json
  33. 0 0
      unpackage/dist/build/mp-weixin/pageA/chat/chat.wxml
  34. 0 0
      unpackage/dist/build/mp-weixin/pageA/chat/chat.wxss
  35. 0 0
      unpackage/dist/build/mp-weixin/pageA/chat/news.js
  36. 8 0
      unpackage/dist/build/mp-weixin/pageA/chat/news.json
  37. 0 0
      unpackage/dist/build/mp-weixin/pageA/chat/news.wxml
  38. 1 0
      unpackage/dist/build/mp-weixin/pageA/chat/news.wxss
  39. 0 0
      unpackage/dist/build/mp-weixin/pageA/comment.js
  40. 7 0
      unpackage/dist/build/mp-weixin/pageA/comment.json
  41. 0 0
      unpackage/dist/build/mp-weixin/pageA/comment.wxml
  42. 1 0
      unpackage/dist/build/mp-weixin/pageA/comment.wxss
  43. 1 0
      unpackage/dist/build/mp-weixin/pageA/common/vendor.js
  44. 0 0
      unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.js
  45. 7 0
      unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.json
  46. 1 0
      unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.wxml
  47. 1 0
      unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.wxss
  48. 1 0
      unpackage/dist/build/mp-weixin/pageA/confirm.js
  49. 5 0
      unpackage/dist/build/mp-weixin/pageA/confirm.json
  50. 1 0
      unpackage/dist/build/mp-weixin/pageA/confirm.wxml
  51. 1 0
      unpackage/dist/build/mp-weixin/pageA/confirm.wxss
  52. 0 0
      unpackage/dist/build/mp-weixin/pageA/counter.js
  53. 12 0
      unpackage/dist/build/mp-weixin/pageA/counter.json
  54. 0 0
      unpackage/dist/build/mp-weixin/pageA/counter.wxml
  55. 0 0
      unpackage/dist/build/mp-weixin/pageA/counter.wxss
  56. 1 0
      unpackage/dist/build/mp-weixin/pageA/index.js
  57. 5 0
      unpackage/dist/build/mp-weixin/pageA/index.json
  58. 1 0
      unpackage/dist/build/mp-weixin/pageA/index.wxml
  59. 1 0
      unpackage/dist/build/mp-weixin/pageA/index.wxss
  60. 0 0
      unpackage/dist/build/mp-weixin/pageA/logisticsinfo.js
  61. 7 0
      unpackage/dist/build/mp-weixin/pageA/logisticsinfo.json
  62. 0 0
      unpackage/dist/build/mp-weixin/pageA/logisticsinfo.wxml
  63. 1 0
      unpackage/dist/build/mp-weixin/pageA/logisticsinfo.wxss
  64. 0 0
      unpackage/dist/build/mp-weixin/pageA/order.js
  65. 8 0
      unpackage/dist/build/mp-weixin/pageA/order.json
  66. 0 0
      unpackage/dist/build/mp-weixin/pageA/order.wxml
  67. 0 0
      unpackage/dist/build/mp-weixin/pageA/order.wxss
  68. 0 0
      unpackage/dist/build/mp-weixin/pageA/payorder.js
  69. 7 0
      unpackage/dist/build/mp-weixin/pageA/payorder.json
  70. 0 0
      unpackage/dist/build/mp-weixin/pageA/payorder.wxml
  71. 1 0
      unpackage/dist/build/mp-weixin/pageA/payorder.wxss
  72. 0 0
      unpackage/dist/build/mp-weixin/pageA/productdetails.js
  73. 18 0
      unpackage/dist/build/mp-weixin/pageA/productdetails.json
  74. 0 0
      unpackage/dist/build/mp-weixin/pageA/productdetails.wxml
  75. 0 0
      unpackage/dist/build/mp-weixin/pageA/productdetails.wxss
  76. 0 0
      unpackage/dist/build/mp-weixin/pageA/rule/rule.js
  77. 5 0
      unpackage/dist/build/mp-weixin/pageA/rule/rule.json
  78. 0 0
      unpackage/dist/build/mp-weixin/pageA/rule/rule.wxml
  79. 1 0
      unpackage/dist/build/mp-weixin/pageA/rule/rule.wxss
  80. 0 0
      unpackage/dist/build/mp-weixin/pageA/service/service.js
  81. 10 0
      unpackage/dist/build/mp-weixin/pageA/service/service.json
  82. 0 0
      unpackage/dist/build/mp-weixin/pageA/service/service.wxml
  83. 0 0
      unpackage/dist/build/mp-weixin/pageA/service/service.wxss
  84. 0 0
      unpackage/dist/build/mp-weixin/pageA/shoplist.js
  85. 9 0
      unpackage/dist/build/mp-weixin/pageA/shoplist.json
  86. 0 0
      unpackage/dist/build/mp-weixin/pageA/shoplist.wxml
  87. 1 0
      unpackage/dist/build/mp-weixin/pageA/shoplist.wxss
  88. 6 0
      unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.js
  89. 7 0
      unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.json
  90. 1 0
      unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.wxml
  91. 1 0
      unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.wxss
  92. 0 0
      unpackage/dist/build/mp-weixin/pageA/shoptype.js
  93. 8 0
      unpackage/dist/build/mp-weixin/pageA/shoptype.json
  94. 1 0
      unpackage/dist/build/mp-weixin/pageA/shoptype.wxml
  95. 1 0
      unpackage/dist/build/mp-weixin/pageA/shoptype.wxss
  96. 二進制
      unpackage/dist/build/mp-weixin/pageA/static/images/Free1.png
  97. 二進制
      unpackage/dist/build/mp-weixin/pageA/static/images/Free2.png
  98. 二進制
      unpackage/dist/build/mp-weixin/pageA/static/images/Free3.png
  99. 二進制
      unpackage/dist/build/mp-weixin/pageA/static/images/Million.png
  100. 二進制
      unpackage/dist/build/mp-weixin/pageA/static/images/Millones1.png

+ 1035 - 1166
pageA/order.vue

@@ -1,117 +1,100 @@
 <template>
-  <view class="back">
-    <!-- 地址 -->
-    <view class="address" @click="toadd">
-      <view class="u-flex u-row-between">
-        <view class="add" v-if="addinfo">{{ addinfo.full_address }}</view>
-        <view class="" v-else>{{ i18n.shippingaddress }}</view>
-        <u-icon name="arrow-right" size="16"></u-icon>
-      </view>
-      <view class="info" v-if="addinfo">
-        <text>{{ addinfo.name }}</text>
-        <text style="margin-left: 20rpx">{{
+	<view class="back">
+		<!-- 地址 -->
+		<view class="address" @click="toadd">
+			<view class="u-flex u-row-between">
+				<view class="add" v-if="addinfo">{{ addinfo.full_address }}</view>
+				<view class="" v-else>{{ i18n.shippingaddress }}</view>
+				<u-icon name="arrow-right" size="16"></u-icon>
+			</view>
+			<view class="info" v-if="addinfo">
+				<text>{{ addinfo.name }}</text>
+				<text style="margin-left: 20rpx">{{
           replacePhoneToStar(addinfo.mobile)
         }}</text>
-      </view>
-    </view>
-    <!-- 商品 -->
-    <view class="shop">
-      <view class="" v-if="typea == 'shop'">
-        <view
-          class="u-flex"
-          style="margin-top: 32rpx"
-          v-for="(item, idx) in selelist"
-          :key="idx"
-        >
-          <image
-            :src="item.sku_item[0].image"
-            style="width: 184rpx; height: 184rpx"
-            mode=""
-          ></image>
-          <view
-            class=" "
-            style="
+			</view>
+		</view>
+		<!-- 商品 -->
+		<view class="shop">
+			<view class="" v-if="typea == 'shop'">
+				<view class="u-flex" style="margin-top: 32rpx" v-for="(item, idx) in selelist" :key="idx">
+					<image :src="item.sku_item[0].image" style="width: 184rpx; height: 184rpx" mode=""></image>
+					<view class=" " style="
               margin-left: 20rpx;
               flex-direction: column;
               justify-content: space-between;
               height: 184rpx;
               display: flex;
               flex: 1;
-            "
-          >
-            <view class="">
-              <text class="toptitle" v-if="language == 'zh-CN'">{{
+            ">
+						<view class="">
+							<text class="toptitle" v-if="language == 'zh-CN'">{{
                 item.name_cn
               }}</text>
-              <text class="toptitle" v-if="language == 'en-US'">{{
+							<text class="toptitle" v-if="language == 'en-US'">{{
                 item.name_en
               }}</text>
-              <text class="toptitle" v-if="language == 'es-ES'">{{
+							<text class="toptitle" v-if="language == 'es-ES'">{{
                 item.name_es
               }}</text>
-              <text class="toptitle" v-if="language == 'it-IT'">{{
+							<text class="toptitle" v-if="language == 'it-IT'">{{
                 item.name_ita
               }}</text>
-              <view class="weight">{{ item.sku_item[0].item }} </view>
-            </view>
-            <view class="u-flex u-row-between">
-              <view class="">
-                <text class="money">¥</text>
-                <text class="money" style="font-size: 34rpx">{{
+							<view class="weight" v-if="language == 'zh-CN'">{{ item.sku_item[0].item }} </view>
+							<view class="weight" v-if="language == 'en-US'">{{ item.sku_item[0].item_en }} </view>
+							<view class="weight" v-if="language == 'es-ES'">{{ item.sku_item[0].item_es }} </view>
+							<view class="weight" v-if="language == 'it-IT'">{{ item.sku_item[0].item_ita }} </view>
+						</view>
+						<view class="u-flex u-row-between">
+							<view class="">
+								<text class="money">¥</text>
+								<text class="money" style="font-size: 34rpx">{{
                   item.sku_item[0].discount_price
                 }}</text>
-              </view>
-              <view class=""> x {{ item.cart.goods_num }}</view>
-            </view>
-          </view>
-        </view>
-      </view>
-      <view class="" v-else>
-        <view class="">
-          <image
-            :src="goodinfo.merchant.image"
-            style="width: 38rpx; height: 38rpx"
-            mode=""
-          ></image>
-          <text class="name">{{ goodinfo.merchant.merchant_name }}</text>
-        </view>
-        <view class="u-flex" style="margin-top: 32rpx">
-          <image
-            :src="sku_info.image"
-            style="width: 184rpx; height: 184rpx"
-            mode=""
-          ></image>
-          <view
-            class=" "
-            style="
+							</view>
+							<view class=""> x {{ item.cart.goods_num }}</view>
+						</view>
+					</view>
+				</view>
+			</view>
+			<view class="" v-else>
+				<view class="">
+					<image :src="goodinfo.merchant.image" style="width: 38rpx; height: 38rpx" mode=""></image>
+					<text class="name">{{ goodinfo.merchant.merchant_name }}</text>
+				</view>
+				<view class="u-flex" style="margin-top: 32rpx">
+					<image :src="sku_info.image" style="width: 184rpx; height: 184rpx" mode=""></image>
+					<view class=" " style="
               margin-left: 20rpx;
               flex-direction: column;
               justify-content: space-between;
               height: 184rpx;
               display: flex;
               flex: 1;
-            "
-          >
-            <view class="">
-              <text class="toptitle" v-if="language == 'zh-CN'">{{
+            ">
+						<view class="">
+							<text class="toptitle" v-if="language == 'zh-CN'">{{
                 goodinfo.name_cn
               }}</text>
-              <text class="toptitle" v-if="language == 'en-US'">{{
+							<text class="toptitle" v-if="language == 'en-US'">{{
                 goodinfo.name_en
               }}</text>
-              <text class="toptitle" v-if="language == 'es-ES'">{{
+							<text class="toptitle" v-if="language == 'es-ES'">{{
                 goodinfo.name_es
               }}</text>
-              <text class="toptitle" v-if="language == 'it-IT'">{{
+							<text class="toptitle" v-if="language == 'it-IT'">{{
                 goodinfo.name_ita
               }}</text>
-              <view class="weight">{{ sku_info.item }} </view>
-              <!-- <view class="">{{Number(sku_info.weight)*value}}kg</view> -->
-            </view>
-            <view class="u-flex u-row-between">
-              <view class="">
-                <text class="money">¥</text>
-                <text class="money" style="font-size: 34rpx">{{
+							<view class="weight" v-if="language == 'zh-CN'">{{ sku_info.item }} </view>
+							<view class="weight" v-if="language == 'en-US'">{{ sku_info.item_en }} </view>
+							<view class="weight" v-if="language == 'es-ES'">{{ sku_info.item_es }} </view>
+							<view class="weight" v-if="language == 'it-IT'">{{ sku_info.item_ita }} </view>
+							<!-- <view class="">{{Number(sku_info.weight)*value}}kg</view> -->
+						</view>
+						<view class="u-flex u-row-between">
+							<view class="">
+								<text class="money">¥</text>
+								<text class="money" style="font-size: 34rpx">{{
                   goodinfo.is_discount == 1
                     ? (Number(sku_info.price * 1000) * Number(value * 1000)) /
                       1000000
@@ -120,8 +103,8 @@
                         1000) /
                       1000000
                 }}</text>
-              </view>
-              <!-- 							<u-number-box @change="valChange" v-model="value">
+							</view>
+							<!-- 							<u-number-box @change="valChange" v-model="value">
 								<view slot="minus" class="">
 									<u-icon name="minus" size="12"></u-icon>
 								</view>
@@ -131,1194 +114,1080 @@
 									<u-icon name="plus" size="12"></u-icon>
 								</view>
 							</u-number-box> -->
-              <view class="">x{{ value }}</view>
-            </view>
-          </view>
-        </view>
-      </view>
-    </view>
-    <!-- 物流 -->
-    <view class="logistics u-flex u-row-between">
-      <text style="font-weight: 600; width: 320rpx">{{ i18n.flow }}</text>
-      <view class="u-flex" @click="changwu">
-        <text class="change">{{
+							<view class="">x{{ value }}</view>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 物流 -->
+		<view class="logistics u-flex u-row-between">
+			<text style="font-weight: 600; width: 320rpx">{{ i18n.flow }}</text>
+			<view class="u-flex" @click="changwu">
+				<text class="change">{{
           containname1 ? type1 + " | " + containname1 : i18n.selection
         }}</text>
-        <u-icon name="arrow-right" size="16"></u-icon>
-      </view>
-    </view>
-    <!-- 推荐 -->
-    <view class="recommend">
-      <view class="top">
-        <image
-          v-if="language == 'zh-CN'"
-          src="static/images/recommend.png"
-          style="width: 124rpx; height: 30rpx"
-          mode=""
-        ></image>
-        <image
-          v-if="language == 'en-US'"
-          src="static/images/recommend1.png"
-          style="width: 378rpx; height: 30rpx"
-          mode=""
-        >
-        </image>
-        <image
-          v-if="language == 'es-ES'"
-          src="static/images/recommend2.png"
-          style="width: 550rpx; height: 30rpx"
-          mode=""
-        >
-        </image>
-        <image
-          v-if="language == 'it-IT'"
-          src="static/images/recommend3.png"
-          style="width: 460rpx; height: 30rpx"
-          mode=""
-        >
-        </image>
-      </view>
-      <view class="bottom">
-        <scroll-view
-          scroll-x
-          class="u-flex"
-          style="column: gap 28rpx; display: flex"
-        >
-          <view class="u-flex" style="column-gap: 16rpx">
-            <view
-              class=""
-              v-for="(item, idx) in swiptlist"
-              :key="idx"
-              @click="todetail(item.id)"
-            >
-              <image
-                :src="item.image"
-                style="width: 156rpx; height: 156rpx"
-                mode=""
-              >
-              </image>
-              <view class="title" v-if="language == 'zh-CN'">
-                {{ item.name_cn }}
-              </view>
-              <view class="title" v-if="language == 'en-US'">
-                {{ item.name_en }}
-              </view>
-              <view class="title" v-if="language == 'es-ES'">
-                {{ item.name_es }}
-              </view>
-              <view class="title" v-if="language == 'it-IT'">
-                {{ item.name_ita }}
-              </view>
-              <view class="money" style="color: #f83224; font-size: 20rpx">
-                <text>¥</text>
-                <text style="font-size: 28rpx">{{
+				<u-icon name="arrow-right" size="16"></u-icon>
+			</view>
+		</view>
+		<!-- 推荐 -->
+		<view class="recommend">
+			<view class="top">
+				<image v-if="language == 'zh-CN'" src="static/images/recommend.png" style="width: 124rpx; height: 30rpx"
+					mode=""></image>
+				<image v-if="language == 'en-US'" src="static/images/recommend1.png"
+					style="width: 378rpx; height: 30rpx" mode="">
+				</image>
+				<image v-if="language == 'es-ES'" src="static/images/recommend2.png"
+					style="width: 550rpx; height: 30rpx" mode="">
+				</image>
+				<image v-if="language == 'it-IT'" src="static/images/recommend3.png"
+					style="width: 460rpx; height: 30rpx" mode="">
+				</image>
+			</view>
+			<view class="bottom">
+				<scroll-view scroll-x class="u-flex" style="column: gap 28rpx; display: flex">
+					<view class="u-flex" style="column-gap: 16rpx">
+						<view class="" v-for="(item, idx) in swiptlist" :key="idx" @click="todetail(item.id)">
+							<image :src="item.image" style="width: 156rpx; height: 156rpx" mode="">
+							</image>
+							<view class="title" v-if="language == 'zh-CN'">
+								{{ item.name_cn }}
+							</view>
+							<view class="title" v-if="language == 'en-US'">
+								{{ item.name_en }}
+							</view>
+							<view class="title" v-if="language == 'es-ES'">
+								{{ item.name_es }}
+							</view>
+							<view class="title" v-if="language == 'it-IT'">
+								{{ item.name_ita }}
+							</view>
+							<view class="money" style="color: #f83224; font-size: 20rpx">
+								<text>¥</text>
+								<text style="font-size: 28rpx">{{
                   item.is_discount == 0
                     ? item.discount_price.slice(0, -3)
                     : item.price.slice(0, -3)
                 }}</text>
-                <text>{{
+								<text>{{
                   item.is_discount == 0
                     ? item.discount_price.slice(-3)
                     : item.price.slice(-3)
                 }}</text>
-              </view>
-            </view>
-          </view>
-        </scroll-view>
-      </view>
-    </view>
-    <!-- 商品相关 -->
-    <view class="abount" style="margin-top: 20rpx">
-      <view class="u-flex u-row-between" style="margin-bottom: 40rpx">
-        <view class="name">{{ i18n.Commodityamount }}</view>
-        <view class="" v-if="typea == 'shop'">{{ goodsPrice }}</view>
-        <view class="money" v-else>
-          ¥{{
+							</view>
+						</view>
+					</view>
+				</scroll-view>
+			</view>
+		</view>
+		<!-- 商品相关 -->
+		<view class="abount" style="margin-top: 20rpx">
+			<view class="u-flex u-row-between" style="margin-bottom: 40rpx">
+				<view class="name">{{ i18n.Commodityamount }}</view>
+				<view class="" v-if="typea == 'shop'">{{ goodsPrice }}</view>
+				<view class="money" v-else>
+					¥{{
             goodinfo.is_discount == 1
               ? (Number(sku_info.price * 100) * Number(value * 100)) / 10000
               : (Number(sku_info.discount_price * 100) * Number(value * 100)) /
                 10000
           }}
-        </view>
-      </view>
-      <view class="u-flex u-row-between" v-show="containname1">
-        <view class="name">{{ i18n.Grosscommodityweight }}</view>
-        <!-- 				<view class="money" v-if="typea=='shop'">{{
+				</view>
+			</view>
+			<view class="u-flex u-row-between" v-show="containname1">
+				<view class="name">{{ i18n.Grosscommodityweight }}</view>
+				<!-- 				<view class="money" v-if="typea=='shop'">{{
 					goodsWeight
 				}}kg</view> -->
-        <!-- <view class="money" v-else>{{Number(sku_info.weight)*value}}kg</view> -->
-        <view class="money">{{ weight_total }}</view>
-      </view>
-      <view class="back u-flex" v-if="containname1">
-        <image
-          src="static/images/warning.png"
-          style="width: 32rpx; height: 32rpx"
-          mode=""
-        ></image>
-        <text style="margin-left: 12rpx; font-size: 24rpx"
-          >{{ i18n.buy }}{{ recommend_weight }}kg{{ i18n.price }}¥{{
+				<!-- <view class="money" v-else>{{Number(sku_info.weight)*value}}kg</view> -->
+				<view class="money">{{ weight_total }}</view>
+			</view>
+			<view class="back u-flex" v-if="containname1">
+				<image src="static/images/warning.png" style="width: 32rpx; height: 32rpx" mode=""></image>
+				<text
+					style="margin-left: 12rpx; font-size: 24rpx">{{ i18n.buy }}{{ recommend_weight }}kg{{ i18n.price }}¥{{
             unit_fee
-          }},{{ i18n.morefavorable }}</text
-        >
-      </view>
-      <view
-        class="u-flex u-row-between"
-        style="margin-bottom: 40rpx; margin-top: 20rpx"
-      >
-        <view class="name">{{ i18n.Costperkilogram }}</view>
-        <view class="money">{{
+          }},{{ i18n.morefavorable }}</text>
+			</view>
+			<view class="u-flex u-row-between" style="margin-bottom: 40rpx; margin-top: 20rpx">
+				<view class="name">{{ i18n.Costperkilogram }}</view>
+				<view class="money">{{
           containname1 ? unit_price : i18n.shippingmethod
         }}</view>
-      </view>
-      <view class="u-flex u-row-between">
-        <view class="name">{{ i18n.freight }}</view>
-        <view class="money">{{
+			</view>
+			<view class="u-flex u-row-between">
+				<view class="name">{{ i18n.freight }}</view>
+				<view class="money">{{
           containname1 ? sum : i18n.shippingmethod
         }}</view>
-      </view>
-      <view class="zong u-flex u-row-right">
-        <view class="">
-          <text class="small">{{ i18n.subtotal }}</text>
-          <text class="mon">¥</text>
-          <text class="mon" v-if="typea == 'shop'">{{ goodsPrice }}</text>
-          <text class="mon" v-else style="font-size: 40rpx">{{
+			</view>
+			<view class="zong u-flex u-row-right">
+				<view class="">
+					<text class="small">{{ i18n.subtotal }}</text>
+					<text class="mon">¥</text>
+					<text class="mon" v-if="typea == 'shop'">{{ goodsPrice }}</text>
+					<text class="mon" v-else style="font-size: 40rpx">{{
             goodinfo.is_discount == 1
               ? (Number(sku_info.price * 100) * Number(value * 100)) / 10000
               : (Number(sku_info.discount_price * 100) * Number(value * 100)) /
                 10000
           }}</text>
-        </view>
-      </view>
-    </view>
-    <view class="" style="height: 166rpx"></view>
-    <view class="btn u-flex u-row-right">
-      <view class="u-flex">
-        <!-- 				<text v-if="typea == 'shop'">{{i18n.Atotalof}}{{goodsWeight}}kg,</text>
+				</view>
+			</view>
+		</view>
+		<view class="" style="height: 166rpx"></view>
+		<view class="btn u-flex u-row-right">
+			<view class="u-flex">
+				<!-- 				<text v-if="typea == 'shop'">{{i18n.Atotalof}}{{goodsWeight}}kg,</text>
 				<text v-else class="kg">{{i18n.Atotalof}}{{Number(sku_info.weight) * value}}kg,</text> -->
-        <text class="kg" v-show="containname1"
-          >{{ i18n.Atotalof }}{{ weight_total }}kg,</text
-        >
-        <text>{{ i18n.total }}:</text>
-        <text class="money" style="font-size: 28rpx">¥</text>
-        <text style="font-weight: bold" class="money" v-if="typea == 'shop'">{{
+				<text class="kg" v-show="containname1">{{ i18n.Atotalof }}{{ weight_total }}kg,</text>
+				<text>{{ i18n.total }}:</text>
+				<text class="money" style="font-size: 28rpx">¥</text>
+				<text style="font-weight: bold" class="money" v-if="typea == 'shop'">{{
           Number(sum * 10000 + Number(goodsPrice) * 10000) / 10000
         }}</text>
-        <view class="" v-else>
-          <text
-            class="money"
-            v-if="goodinfo.is_discount == 1"
-            style="font-weight: bold"
-            >{{
+				<view class="" v-else>
+					<text class="money" v-if="goodinfo.is_discount == 1" style="font-weight: bold">{{
               Number(
                 sum * 10000 + Number(sku_info.price) * Number(value) * 10000
               ) / 10000
-            }}</text
-          >
-          <text
-            class="money"
-            v-if="goodinfo.is_discount == 0"
-            style="font-weight: bold"
-            >{{
+            }}</text>
+					<text class="money" v-if="goodinfo.is_discount == 0" style="font-weight: bold">{{
               Number(
                 sum * 10000 +
                   Number(sku_info.discount_price) * Number(value) * 10000
               ) / 10000
-            }}</text
-          >
-        </view>
-      </view>
-      <view class="order" @click="topay">
-        {{ i18n.Submitorder }}
-      </view>
-    </view>
-    <!-- 跨境物流 -->
-    <u-popup
-      :show="show"
-      @close="close"
-      mode="bottom"
-      closeIconPos="top-right"
-      round="28"
-    >
-      <view style="padding: 40rpx 28rpx; box-sizing: border-box">
-        <view class="u-flex u-row-between">
-          <view class="" style="width: 28px; height: 28px"></view>
-          <view class="poptitle">
-            {{ i18n.flow }}
-          </view>
-          <u-icon
-            name="close"
-            @click="close"
-            color="background: #333333;"
-            size="28"
-          ></u-icon>
-        </view>
-        <view
-          class="u-flex"
-          style="margin-top: 60rpx; flex-wrap: wrap; column-gap: 16rpx"
-        >
-          <view
-            :class="index == idx ? 'active' : 'unactive'"
-            v-for="(item, idx) in containerList"
-            @click="change(item, idx)"
-            style="
+            }}</text>
+				</view>
+			</view>
+			<view class="order" @click="topay">
+				{{ i18n.Submitorder }}
+			</view>
+		</view>
+		<!-- 跨境物流 -->
+		<u-popup :show="show" @close="close" mode="bottom" closeIconPos="top-right" round="28">
+			<view style="padding: 40rpx 28rpx; box-sizing: border-box">
+				<view class="u-flex u-row-between">
+					<view class="" style="width: 28px; height: 28px"></view>
+					<view class="poptitle">
+						{{ i18n.flow }}
+					</view>
+					<u-icon name="close" @click="close" color="background: #333333;" size="28"></u-icon>
+				</view>
+				<view class="u-flex" style="margin-top: 60rpx; flex-wrap: wrap; column-gap: 16rpx">
+					<view :class="index == idx ? 'active' : 'unactive'" v-for="(item, idx) in containerList"
+						@click="change(item, idx)" style="
               display: flex;
               flex-direction: column;
               align-items: center;
               justify-content: center;
               margin-bottom: 28rpx;
               position: relative;
-            "
-          >
-            <image
-              v-if="index == idx"
-              src="static/images/change.png"
-              style="
+            ">
+						<image v-if="index == idx" src="static/images/change.png" style="
                 width: 36rpx;
                 height: 32rpx;
                 position: absolute;
                 top: 0;
                 right: 0;
-              "
-              mode=""
-            ></image>
-            <view class="logname" v-if="language == 'zh-CN'">{{
+              " mode=""></image>
+						<view class="logname" v-if="language == 'zh-CN'">{{
               item.name_cn
             }}</view>
-            <view class="logname" v-if="language == 'en-US'">{{
+						<view class="logname" v-if="language == 'en-US'">{{
               item.name_en
             }}</view>
-            <view class="logname" v-if="language == 'es-ES'">{{
+						<view class="logname" v-if="language == 'es-ES'">{{
               item.name_es
             }}</view>
-            <view class="logname" v-if="language == 'it-IT'">{{
+						<view class="logname" v-if="language == 'it-IT'">{{
               item.name_ita
             }}</view>
-            <!-- 						<view class="wei">¥{{goodinfo.cate==0?item.normal_delivery_fee:item.special_delivery_fee}}/kg</view> -->
-            <view class="wei" style="font-size: 32rpx; font-weight: 600"
-              >¥{{ item.unit_price }}/kg</view
-            >
-          </view>
-        </view>
-        <view class="nextto" @click="next">{{ i18n.next }}</view>
-      </view>
-    </u-popup>
-    <!-- 跨境物流下一步 -->
-    <u-popup
-      :safeAreaInsetTop="true"
-      :show="show1"
-      @close="close"
-      mode="bottom"
-      closeIconPos="top-right"
-      round="28"
-      bgColor="#F4F4F4"
-    >
-      <view
-        style="padding: 40rpx 28rpx; box-sizing: border-box; position: relative"
-      >
-        <view class="u-flex u-row-between">
-          <view class="" style="width: 28px; height: 28px"></view>
-          <view class="poptitle">
-            {{ i18n.flow }}
-          </view>
-          <u-icon
-            name="close"
-            @click="close"
-            color="background: #333333;"
-            size="28"
-          ></u-icon>
-        </view>
-        <scroll-view :scroll-y="true" style="500rpx">
-          <view
-            class="transport"
-            style="margin-top: 32rpx"
-            @click="activea(item, idx)"
-            v-for="(item, idx) in containlist"
-            v-if="item.sum != 0"
-          >
-            <view class="u-flex u-row-between">
-              <text class="yundate"
-                >{{ i18n.Shipmentdate }} {{ item.end_date }}</text
-              >
-              <image
-                v-if="datechan == idx"
-                src="/pageA/static/images/active.png"
-                style="width: 36rpx; height: 36rpx"
-                mode=""
-              ></image>
-              <image
-                v-else
-                src="/pageA/static/images/unactive.png"
-                style="width: 36rpx; height: 36rpx"
-                mode=""
-              ></image>
-            </view>
-            <view class="u-flex u-row-between" style="margin-top: 28rpx">
-              <view class="chest">
-                <text v-if="language == 'zh-CN'">{{ item.name_cn }}</text>
-                <text v-if="language == 'en-US'">{{ item.name_en }}</text>
-                <text v-if="language == 'es-ES'">{{ item.name_es }}</text>
-                <text v-if="language == 'it-IT'">{{ item.name_ita }}</text>
-                <text style="margin: 0 16rpx">|</text>
-                <text
-                  >{{ i18n.Estimatedtimeofarrival }}{{ item.transport_days
-                  }}{{ i18n.Workingday }}</text
-                >
-              </view>
-              <view class="mone">
-                <text>¥</text>
-                <text style="font-size: 48rpx; font-weight: 600">{{
+						<!-- 						<view class="wei">¥{{goodinfo.cate==0?item.normal_delivery_fee:item.special_delivery_fee}}/kg</view> -->
+						<view class="wei" style="font-size: 32rpx; font-weight: 600">¥{{ item.unit_price }}/kg</view>
+					</view>
+				</view>
+				<view class="nextto" @click="next">{{ i18n.next }}</view>
+			</view>
+		</u-popup>
+		<!-- 跨境物流下一步 -->
+		<u-popup :safeAreaInsetTop="true" :show="show1" @close="close" mode="bottom" closeIconPos="top-right" round="28"
+			bgColor="#F4F4F4">
+			<view style="padding: 40rpx 28rpx; box-sizing: border-box; position: relative">
+				<view class="u-flex u-row-between">
+					<view class="" style="width: 28px; height: 28px"></view>
+					<view class="poptitle">
+						{{ i18n.flow }}
+					</view>
+					<u-icon name="close" @click="close" color="background: #333333;" size="28"></u-icon>
+				</view>
+				<scroll-view :scroll-y="true" style="500rpx">
+					<view class="transport" style="margin-top: 32rpx" @click="activea(item, idx)"
+						v-for="(item, idx) in containlist" v-if="item.sum != 0">
+						<view class="u-flex u-row-between">
+							<text class="yundate">{{ i18n.Shipmentdate }} {{ item.end_date }}</text>
+							<image v-if="datechan == idx" src="/pageA/static/images/active.png"
+								style="width: 36rpx; height: 36rpx" mode=""></image>
+							<image v-else src="/pageA/static/images/unactive.png" style="width: 36rpx; height: 36rpx"
+								mode=""></image>
+						</view>
+						<view class="u-flex u-row-between" style="margin-top: 28rpx">
+							<view class="chest">
+								<text v-if="language == 'zh-CN'">{{ item.name_cn }}</text>
+								<text v-if="language == 'en-US'">{{ item.name_en }}</text>
+								<text v-if="language == 'es-ES'">{{ item.name_es }}</text>
+								<text v-if="language == 'it-IT'">{{ item.name_ita }}</text>
+								<text style="margin: 0 16rpx">|</text>
+								<text>{{ i18n.Estimatedtimeofarrival }}{{ item.transport_days
+                  }}{{ i18n.Workingday }}</text>
+							</view>
+							<view class="mone">
+								<text>¥</text>
+								<text style="font-size: 48rpx; font-weight: 600">{{
                   item.sum
                 }}</text>
-              </view>
-            </view>
-          </view>
-        </scroll-view>
-        <view class="" style="height: 166rpx"></view>
-        <view class="enbottom u-flex u-row-between">
-          <view class="cancel" @click="close">{{ i18n.Cancel }}</view>
-          <view class="confirm" @click="confirm">{{ i18n.enter }}</view>
-        </view>
-      </view>
-    </u-popup>
-  </view>
+							</view>
+						</view>
+					</view>
+				</scroll-view>
+				<view class="" style="height: 166rpx"></view>
+				<view class="enbottom u-flex u-row-between">
+					<view class="cancel" @click="close">{{ i18n.Cancel }}</view>
+					<view class="confirm" @click="confirm">{{ i18n.enter }}</view>
+				</view>
+			</view>
+		</u-popup>
+	</view>
 </template>
 
 <script>
-export default {
-  data() {
-    return {
-      value: 1,
-      show: false,
-      index: "",
-      show1: false,
-      datechan: "",
-      sku_info: {},
-      goodinfo: {},
-      swiptlist: [], //推荐列表
-      language: "zh-CN",
-      containerList: [], //列表
-      province_id: "",
-      transport_type_id: "",
-      containlist: [],
-      containid: "", //货柜id
-      containname: "", //货柜名称
-      type: "", //货运方式名称
-      containname1: "",
-      type1: "",
-      sum: "",
-      unit_price: "",
-      recommend_weight: "",
-      sum1: "",
-      unit_price1: "",
-      recommend_weight1: "",
-      max_weight: "",
-      min_weight: "",
-      unit_fee: "",
-      addinfo: "",
-      huoid: "",
-      selelist: [],
-      typea: "",
-      goodsPrice: "",
-      goodsWeight: "",
-      stringcheck: "",
-      cartid: "",
-      weight_total: "",
-      valuenum: false,
-    };
-  },
-  computed: {
-    i18n() {
-      return this.$t("index");
-    },
-  },
-  onLoad(options) {
-    // url: '/pageA/order?sku=' + this.sku_info + '&value=' + this.value+'&goodinfo='+this.goodinfo
-    if (options.typea) {
-      this.typea = options.typea;
-      this.selelist = JSON.parse(decodeURIComponent(options.selelist));
-      console.log(this.selelist);
-      this.goodsPrice = options.goodsPrice;
-      this.goodsWeight = options.goodsWeight;
-      this.stringcheck = options.stringcheck;
-      this.cartid = options.cartid;
-    } else if (options) {
-      this.value = options.value;
-      this.sku_info = JSON.parse(decodeURIComponent(options.sku));
-      this.goodinfo = JSON.parse(decodeURIComponent(options.goodinfo));
-      if (options.share_merchant_id) {
-        this.share_merchant_id = options.share_merchant_id;
-      }
-    }
-  },
-  onShow() {
-    if (uni.getStorageSync("language") != "") {
-      this.language = uni.getStorageSync("language");
-    }
-    this.recommend();
-    // this.container()
-  },
-  methods: {
-    changwu() {
-      if (this.addinfo) {
-        this.show = true;
-      } else {
-        this.$u.toast(this.i18n.shippingaddress);
-      }
-    },
-    valChange() {
-      this.valuenum = true;
-    },
-    todetail(id) {
-      uni.navigateTo({
-        url: "/pageA/productdetails?id=" + id,
-      });
-    },
-    //正则匹配手机号
-    replacePhoneToStar: function (phone) {
-      if (phone) {
-        return phone.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
-      }
-    },
-    //推荐重量
-    recommendweight() {
-      uni.$u.http
-        .get("/api/express-order/recommend-container", {
-          params: {
-            container_id: this.containid,
-            type: this.goodinfo.cate == 0 ? "normal" : "special",
-          },
-        })
-        .then((res) => {
-          console.log(res);
-          this.max_weight = res.max_weight;
-          this.min_weight = res.min_weight;
-          this.unit_fee = res.unit_fee;
-        })
-        .catch(() => {});
-    },
-    //货运类型列表
-    transport() {
-      uni.$u.http
-        .get("/api/transport-type", {
-          params: {
-            province_id: this.province_id,
-          },
-        })
-        .then((res) => {
-          this.containerList = res;
-          this.transport_type_id = res[0].id;
-          if (this.language == "zh-CN") {
-            this.type = res[0].name_cn;
-          }
-          if (this.language == "en-US") {
-            this.type = res[0].name_en;
-          }
-          if (this.language == "es-ES") {
-            this.type = res[0].name_es;
-          }
-          if (this.language == "it-IT") {
-            this.type = res[0].name_ita;
-          }
-        })
-        .catch(() => {});
-    },
-    //跳转到填写地址
-    toadd() {
-      var that = this;
-      uni.navigateTo({
-        url: "/pageC/addressManagement/addressManagement?tabs=" + Number(0),
-        events: {
-          getadd(res) {
-            that.addinfo = res;
-            that.province_id = res.province_id;
-            that.transport();
-          },
-        },
-      });
-    },
-    //货柜列表
-    container() {
-      this.containlist = [];
-      uni.$u.http
-        .get("/api/container-base", {
-          params: {
-            is_page: 0,
-            province_id: this.province_id,
-            transport_type_id: this.transport_type_id,
-            weight:
-              this.typea == "shop"
-                ? ""
-                : Number(this.sku_info.weight) * this.value,
-            type:
-              this.typea == "shop"
-                ? ""
-                : this.goodinfo.cate == 0
-                ? "normal"
-                : "special",
-            length:
-              this.typea == "shop"
-                ? ""
-                : Number(this.sku_info.length) * this.value, //		是	String	长
-            width: this.sku_info.width, //		是	String	宽
-            height: this.sku_info.height, //		是	String	高
-            cart_id: this.cartid,
-            // cart_id: '147,148'
-          },
-        })
-        .then((res) => {
-          res.forEach((item) => {
-            if (item.sum != 0) {
-              this.containlist.push(item);
-            }
-            console.log(this.containlist);
-          });
-          if (this.cartid.length == 0 && this.typea == "shop") {
-            console.log("his.cartid.length", this.cartid.length);
-            this.sum = 0;
-          }
-          // this.sum = this.containlist[0].sum
-          // this.unit_price = this.containlist[0].unit_price
-          if (this.goodinfo.is_shipping == 0) {
-            this.sum = 0;
-          } else {
-            this.sum = this.containlist[0].sum;
-          }
-          if (this.goodinfo.is_shipping == 0) {
-            this.unit_price = 0;
-          } else {
-            this.unit_price = this.containlist[0].unit_price;
-          }
-          this.recommend_weight = this.containlist[0].recommend_weight;
-          this.weight_total = this.containlist[0].weight_total;
-          this.containid = this.containlist[0].id;
-          if (this.language == "zh-CN") {
-            this.containname = this.containlist[0].name_cn;
-          }
-          if (this.language == "en-US") {
-            this.containname = this.containlist[0].name_en;
-          }
-          if (this.language == "es-ES") {
-            this.containname = this.containlist[0].name_es;
-          }
-          if (this.language == "it-IT") {
-            this.containname = this.containlist[0].name_ita;
-          }
-        })
-        .catch(() => {});
-    },
-    //运费满减
-    config() {
-      var that = this;
-      uni.$u.http
-        .get("/api/config", {
-          params: {
-            module: "free_shipping",
-          },
-        })
-        .then((res) => {
-          if (
-            Number(that.goodsPrice) > res.free_shipping &&
-            that.typea == "shop"
-          ) {
-            console.log("goodsPrice", that.goodsPrice);
-            console.log("res.free_shipping", res.free_shipping);
-            that.sum = 0;
-            that.unit_price = 0;
-          }
-          let goodsum = "";
-          if (that.goodinfo.is_discount == 1) {
-            goodsum =
-              (Number(that.sku_info.price * 100) * Number(that.value * 100)) /
-              10000;
-            console.log("that.sum", that.sum);
-            console.log("that.goodsum", goodsum);
-            if (goodsum > res.free_shipping) {
-              that.sum = 0;
-              that.unit_price = 0;
-            }
-          } else {
-            goodsum =
-              (Number(that.sku_info.discount_price * 100) *
-                Number(that.value * 100)) /
-              10000;
-            if (goodsum > res.free_shipping) {
-              that.sum = 0;
-              that.unit_price = 0;
-            }
-          }
-        })
-        .catch(() => {});
-    },
-    //商品推荐
-    recommend() {
-      uni.$u.http
-        .post("/api/goods/recommend", {
-          keyword: "",
-        })
-        .then((res) => {
-          this.swiptlist = res;
-        })
-        .catch(() => {});
-    },
-    change(item, index) {
-      this.transport_type_id = item.id;
-      this.index = index;
-      if (this.language == "zh-CN") {
-        this.type = item.name_cn;
-      }
-      if (this.language == "en-US") {
-        this.type = item.name_en;
-      }
-      if (this.language == "es-ES") {
-        this.type = item.name_es;
-      }
-      if (this.language == "it-IT") {
-        this.type = item.name_ita;
-      }
-    },
-    next() {
-      this.show = false;
-      this.show1 = true;
-      this.type1 = this.type;
-      this.container();
-    },
-    activea(item, idx) {
-      this.datechan = idx;
-      this.sum = item.sum;
-      this.unit_price = item.unit_price;
-      this.recommend_weight = item.recommend_weight;
-      this.containid = item.id;
-      this.weight_total = item.weight_total;
-      if (this.language == "zh-CN") {
-        this.containname = item.name_cn;
-      }
-      if (this.language == "en-US") {
-        this.containname = item.name_en;
-      }
-      if (this.language == "es-ES") {
-        this.containname = item.name_es;
-      }
-      if (this.language == "it-IT") {
-        this.containname = item.name_ita;
-      }
-    },
-    //确定
-    confirm() {
-      this.valuenum = false;
-      this.show1 = false;
-      this.containname1 = this.containname;
-      this.recommendweight();
-      this.config();
-    },
-    // 取消
-    close() {
-      this.show = false;
-      this.show1 = false;
-    },
-    //提交订单
-    topay() {
-      if (this.valuenum) {
-        this.$u.toast(this.i18n.newcontainer);
-      } else {
-        uni.$u.http
-          .post("/api/order", {
-            address_id: this.addinfo.id, //3	是	String	地址ID
-            goods_id: this.goodinfo.id, //65	是	String	商品id
-            goods_num: this.value, //2	是	String	商品数量
-            sku_item_id: this.sku_info.id, //60	是	String	规格id
-            cart_ids: this.stringcheck, //8,9	是	String	购物车id
-            remark: "", //备注	是	String	备注
-            merchant_goods_id: this.goodinfo.merchant_goods_id || "", //39	是	String	团长商品id
-            container_id: this.containid, //1	是	String	货柜id
-            share_member_id: this.share_merchant_id, //	是	String	分享团长id 分享商品的时候传
-            belong: this.goodinfo.source || "", //0	是	String	商品归属 0团长 1平台自营 2团长发布或者分享的平台自营商品、供应链商品
-          })
-          .then((res) => {
-            console.log("share_merchant_id", this.share_merchant_id);
-            console.log(res);
-            uni.navigateTo({
-              // url: '/pageA/payorder?sum=' + (Number(this.sum*10000+ Number(this.sku_info.discount_price)*Number(this.value)*10000))/10000 +'&orderid=' + res.id
-              url: "/pageA/payorder?orderid=" + res.id + "&sum=" + res.amount,
-            });
-          })
-          .catch(() => {});
-      }
-    },
-  },
-};
+	export default {
+		data() {
+			return {
+				value: 1,
+				show: false,
+				index: "",
+				show1: false,
+				datechan: "",
+				sku_info: {},
+				goodinfo: {},
+				swiptlist: [], //推荐列表
+				language: "zh-CN",
+				containerList: [], //列表
+				province_id: "",
+				transport_type_id: "",
+				containlist: [],
+				containid: "", //货柜id
+				containname: "", //货柜名称
+				type: "", //货运方式名称
+				containname1: "",
+				type1: "",
+				sum: "",
+				unit_price: "",
+				recommend_weight: "",
+				sum1: "",
+				unit_price1: "",
+				recommend_weight1: "",
+				max_weight: "",
+				min_weight: "",
+				unit_fee: "",
+				addinfo: "",
+				huoid: "",
+				selelist: [],
+				typea: "",
+				goodsPrice: "",
+				goodsWeight: "",
+				stringcheck: "",
+				cartid: "",
+				weight_total: "",
+				valuenum: false,
+			};
+		},
+		computed: {
+			i18n() {
+				return this.$t("index");
+			},
+		},
+		onLoad(options) {
+			// url: '/pageA/order?sku=' + this.sku_info + '&value=' + this.value+'&goodinfo='+this.goodinfo
+			if (options.typea) {
+				this.typea = options.typea;
+				this.selelist = JSON.parse(decodeURIComponent(options.selelist));
+				console.log(this.selelist);
+				this.goodsPrice = options.goodsPrice;
+				this.goodsWeight = options.goodsWeight;
+				this.stringcheck = options.stringcheck;
+				this.cartid = options.cartid;
+			} else if (options) {
+				this.value = options.value;
+				this.sku_info = JSON.parse(decodeURIComponent(options.sku));
+				this.goodinfo = JSON.parse(decodeURIComponent(options.goodinfo));
+				if (options.share_merchant_id) {
+					this.share_merchant_id = options.share_merchant_id;
+				}
+			}
+		},
+		onShow() {
+			if (uni.getStorageSync("language") != "") {
+				this.language = uni.getStorageSync("language");
+			}
+			this.recommend();
+			// this.container()
+		},
+		methods: {
+			changwu() {
+				if (this.addinfo) {
+					this.show = true;
+				} else {
+					this.$u.toast(this.i18n.shippingaddress);
+				}
+			},
+			valChange() {
+				this.valuenum = true;
+			},
+			todetail(id) {
+				uni.navigateTo({
+					url: "/pageA/productdetails?id=" + id,
+				});
+			},
+			//正则匹配手机号
+			replacePhoneToStar: function(phone) {
+				if (phone) {
+					return phone.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
+				}
+			},
+			//推荐重量
+			recommendweight() {
+				uni.$u.http
+					.get("/api/express-order/recommend-container", {
+						params: {
+							container_id: this.containid,
+							type: this.goodinfo.cate == 0 ? "normal" : "special",
+						},
+					})
+					.then((res) => {
+						console.log(res);
+						this.max_weight = res.max_weight;
+						this.min_weight = res.min_weight;
+						this.unit_fee = res.unit_fee;
+					})
+					.catch(() => {});
+			},
+			//货运类型列表
+			transport() {
+				uni.$u.http
+					.get("/api/transport-type", {
+						params: {
+							province_id: this.province_id,
+						},
+					})
+					.then((res) => {
+						this.containerList = res;
+						this.transport_type_id = res[0].id;
+						if (this.language == "zh-CN") {
+							this.type = res[0].name_cn;
+						}
+						if (this.language == "en-US") {
+							this.type = res[0].name_en;
+						}
+						if (this.language == "es-ES") {
+							this.type = res[0].name_es;
+						}
+						if (this.language == "it-IT") {
+							this.type = res[0].name_ita;
+						}
+					})
+					.catch(() => {});
+			},
+			//跳转到填写地址
+			toadd() {
+				var that = this;
+				uni.navigateTo({
+					url: "/pageC/addressManagement/addressManagement?tabs=" + Number(0),
+					events: {
+						getadd(res) {
+							that.addinfo = res;
+							that.province_id = res.province_id;
+							that.transport();
+						},
+					},
+				});
+			},
+			//货柜列表
+			container() {
+				this.containlist = [];
+				uni.$u.http
+					.get("/api/container-base", {
+						params: {
+							is_page: 0,
+							province_id: this.province_id,
+							transport_type_id: this.transport_type_id,
+							weight: this.typea == "shop" ?
+								"" : Number(this.sku_info.weight) * this.value,
+							type: this.typea == "shop" ?
+								"" : this.goodinfo.cate == 0 ?
+								"normal" : "special",
+							length: this.typea == "shop" ?
+								"" : Number(this.sku_info.length) * this.value, //		是	String	长
+							width: this.sku_info.width, //		是	String	宽
+							height: this.sku_info.height, //		是	String	高
+							cart_id: this.cartid,
+							// cart_id: '147,148'
+						},
+					})
+					.then((res) => {
+						res.forEach((item) => {
+							if (item.sum != 0) {
+								this.containlist.push(item);
+							}
+							console.log(this.containlist);
+						});
+						if (this.cartid.length == 0 && this.typea == "shop") {
+							console.log("his.cartid.length", this.cartid.length);
+							this.sum = 0;
+						}
+						// this.sum = this.containlist[0].sum
+						// this.unit_price = this.containlist[0].unit_price
+						if (this.goodinfo.is_shipping == 0) {
+							this.sum = 0;
+						} else {
+							this.sum = this.containlist[0].sum;
+						}
+						if (this.goodinfo.is_shipping == 0) {
+							this.unit_price = 0;
+						} else {
+							this.unit_price = this.containlist[0].unit_price;
+						}
+						this.recommend_weight = this.containlist[0].recommend_weight;
+						this.weight_total = this.containlist[0].weight_total;
+						this.containid = this.containlist[0].id;
+						if (this.language == "zh-CN") {
+							this.containname = this.containlist[0].name_cn;
+						}
+						if (this.language == "en-US") {
+							this.containname = this.containlist[0].name_en;
+						}
+						if (this.language == "es-ES") {
+							this.containname = this.containlist[0].name_es;
+						}
+						if (this.language == "it-IT") {
+							this.containname = this.containlist[0].name_ita;
+						}
+					})
+					.catch(() => {});
+			},
+			//运费满减
+			config() {
+				var that = this;
+				uni.$u.http
+					.get("/api/config", {
+						params: {
+							module: "free_shipping",
+						},
+					})
+					.then((res) => {
+						if (
+							Number(that.goodsPrice) > res.free_shipping &&
+							that.typea == "shop"
+						) {
+							console.log("goodsPrice", that.goodsPrice);
+							console.log("res.free_shipping", res.free_shipping);
+							that.sum = 0;
+							that.unit_price = 0;
+						}
+						let goodsum = "";
+						if (that.goodinfo.is_discount == 1) {
+							goodsum =
+								(Number(that.sku_info.price * 100) * Number(that.value * 100)) /
+								10000;
+							console.log("that.sum", that.sum);
+							console.log("that.goodsum", goodsum);
+							if (goodsum > res.free_shipping) {
+								that.sum = 0;
+								that.unit_price = 0;
+							}
+						} else {
+							goodsum =
+								(Number(that.sku_info.discount_price * 100) *
+									Number(that.value * 100)) /
+								10000;
+							if (goodsum > res.free_shipping) {
+								that.sum = 0;
+								that.unit_price = 0;
+							}
+						}
+					})
+					.catch(() => {});
+			},
+			//商品推荐
+			recommend() {
+				uni.$u.http
+					.post("/api/goods/recommend", {
+						keyword: "",
+					})
+					.then((res) => {
+						this.swiptlist = res;
+					})
+					.catch(() => {});
+			},
+			change(item, index) {
+				this.transport_type_id = item.id;
+				this.index = index;
+				if (this.language == "zh-CN") {
+					this.type = item.name_cn;
+				}
+				if (this.language == "en-US") {
+					this.type = item.name_en;
+				}
+				if (this.language == "es-ES") {
+					this.type = item.name_es;
+				}
+				if (this.language == "it-IT") {
+					this.type = item.name_ita;
+				}
+			},
+			next() {
+				this.show = false;
+				this.show1 = true;
+				this.type1 = this.type;
+				this.container();
+			},
+			activea(item, idx) {
+				this.datechan = idx;
+				this.sum = item.sum;
+				this.unit_price = item.unit_price;
+				this.recommend_weight = item.recommend_weight;
+				this.containid = item.id;
+				this.weight_total = item.weight_total;
+				if (this.language == "zh-CN") {
+					this.containname = item.name_cn;
+				}
+				if (this.language == "en-US") {
+					this.containname = item.name_en;
+				}
+				if (this.language == "es-ES") {
+					this.containname = item.name_es;
+				}
+				if (this.language == "it-IT") {
+					this.containname = item.name_ita;
+				}
+			},
+			//确定
+			confirm() {
+				this.valuenum = false;
+				this.show1 = false;
+				this.containname1 = this.containname;
+				this.recommendweight();
+				this.config();
+			},
+			// 取消
+			close() {
+				this.show = false;
+				this.show1 = false;
+			},
+			//提交订单
+			topay() {
+				if (this.valuenum) {
+					this.$u.toast(this.i18n.newcontainer);
+				} else {
+					uni.$u.http
+						.post("/api/order", {
+							address_id: this.addinfo.id, //3	是	String	地址ID
+							goods_id: this.goodinfo.id, //65	是	String	商品id
+							goods_num: this.value, //2	是	String	商品数量
+							sku_item_id: this.sku_info.id, //60	是	String	规格id
+							cart_ids: this.stringcheck, //8,9	是	String	购物车id
+							remark: "", //备注	是	String	备注
+							merchant_goods_id: this.goodinfo.merchant_goods_id || "", //39	是	String	团长商品id
+							container_id: this.containid, //1	是	String	货柜id
+							share_member_id: this.share_merchant_id, //	是	String	分享团长id 分享商品的时候传
+							belong: this.goodinfo.source || "", //0	是	String	商品归属 0团长 1平台自营 2团长发布或者分享的平台自营商品、供应链商品
+						})
+						.then((res) => {
+							console.log("share_merchant_id", this.share_merchant_id);
+							console.log(res);
+							uni.navigateTo({
+								// url: '/pageA/payorder?sum=' + (Number(this.sum*10000+ Number(this.sku_info.discount_price)*Number(this.value)*10000))/10000 +'&orderid=' + res.id
+								url: "/pageA/payorder?orderid=" + res.id + "&sum=" + res.amount,
+							});
+						})
+						.catch(() => {});
+				}
+			},
+		},
+	};
 </script>
 
 <style lang="scss" scoped>
-.toptitle {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  // font-size: 22rpx;
-  color: #222222;
-  line-height: 32rpx;
-  text-align: left;
-  font-style: normal;
-  // width: 148rpx;
-  width: 100%;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  -webkit-line-clamp: 1;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  word-break: break-all;
-}
+	.toptitle {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		// font-size: 22rpx;
+		color: #222222;
+		line-height: 32rpx;
+		text-align: left;
+		font-style: normal;
+		// width: 148rpx;
+		width: 100%;
+		overflow: hidden;
+		text-overflow: ellipsis;
+		-webkit-line-clamp: 1;
+		display: -webkit-box;
+		-webkit-box-orient: vertical;
+		word-break: break-all;
+	}
 
-::v-deep .u-status-bar {
-  height: 0 !important;
-}
+	::v-deep .u-status-bar {
+		height: 0 !important;
+	}
 
-.confirm {
-  width: 398rpx;
-  height: 84rpx;
-  background: #f83224;
-  border-radius: 42rpx;
-  text-align: center;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 500;
-  font-size: 32rpx;
-  color: #ffffff;
-  line-height: 84rpx;
-  text-align: center;
-  font-style: normal;
-}
+	.confirm {
+		width: 398rpx;
+		height: 84rpx;
+		background: #f83224;
+		border-radius: 42rpx;
+		text-align: center;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 500;
+		font-size: 32rpx;
+		color: #ffffff;
+		line-height: 84rpx;
+		text-align: center;
+		font-style: normal;
+	}
 
-.cancel {
-  width: 280rpx;
-  height: 84rpx;
-  border-radius: 42rpx;
-  border: 2rpx solid rgba(151, 151, 151, 0.3);
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 32rpx;
-  color: #444444;
-  line-height: 84rpx;
-  text-align: center;
-  font-style: normal;
-}
+	.cancel {
+		width: 280rpx;
+		height: 84rpx;
+		border-radius: 42rpx;
+		border: 2rpx solid rgba(151, 151, 151, 0.3);
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 32rpx;
+		color: #444444;
+		line-height: 84rpx;
+		text-align: center;
+		font-style: normal;
+	}
 
-.enbottom {
-  width: 750rpx;
-  height: 166rpx;
-  background: #ffffff;
-  position: absolute;
-  left: 0rpx;
-  bottom: 0;
-  padding: 0 24rpx;
-  box-sizing: border-box;
-}
+	.enbottom {
+		width: 750rpx;
+		height: 166rpx;
+		background: #ffffff;
+		position: absolute;
+		left: 0rpx;
+		bottom: 0;
+		padding: 0 24rpx;
+		box-sizing: border-box;
+	}
 
-.mone {
-  font-family: JDZhengHT, JDZhengHT;
-  font-weight: 400;
-  font-size: 26rpx;
-  color: #f83224;
-  line-height: 32rpx;
-  text-align: left;
-  font-style: normal;
-}
+	.mone {
+		font-family: JDZhengHT, JDZhengHT;
+		font-weight: 400;
+		font-size: 26rpx;
+		color: #f83224;
+		line-height: 32rpx;
+		text-align: left;
+		font-style: normal;
+	}
 
-.yundate {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 550;
-  font-size: 32rpx;
-  color: #333333;
-  line-height: 44rpx;
-  text-align: left;
-  font-style: normal;
-}
+	.yundate {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 550;
+		font-size: 32rpx;
+		color: #333333;
+		line-height: 44rpx;
+		text-align: left;
+		font-style: normal;
+	}
 
-.chest {
-  font-family: SFPro, SFPro;
-  font-weight: 400;
-  font-size: 24rpx;
-  color: #555555;
-  line-height: 28rpx;
-  text-align: left;
-  font-style: normal;
-}
+	.chest {
+		font-family: SFPro, SFPro;
+		font-weight: 400;
+		font-size: 24rpx;
+		color: #555555;
+		line-height: 28rpx;
+		text-align: left;
+		font-style: normal;
+	}
 
-.act {
-  width: 702rpx;
-  height: 164rpx;
-  background: #ffffff;
-  border-radius: 12rpx;
-  padding: 24rpx 20rpx;
-  box-sizing: border-box;
-  border: 1rpx solid #f83224;
-}
+	.act {
+		width: 702rpx;
+		height: 164rpx;
+		background: #ffffff;
+		border-radius: 12rpx;
+		padding: 24rpx 20rpx;
+		box-sizing: border-box;
+		border: 1rpx solid #f83224;
+	}
 
-.transport {
-  width: 702rpx;
-  height: 164rpx;
-  background: #ffffff;
-  border-radius: 12rpx;
-  padding: 24rpx 20rpx;
-  box-sizing: border-box;
-}
+	.transport {
+		width: 702rpx;
+		height: 164rpx;
+		background: #ffffff;
+		border-radius: 12rpx;
+		padding: 24rpx 20rpx;
+		box-sizing: border-box;
+	}
 
-.nextto {
-  width: 702rpx;
-  height: 84rpx;
-  background: #f83224;
-  border-radius: 44rpx;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 500;
-  font-size: 32rpx;
-  color: #ffffff;
-  line-height: 84rpx;
-  text-align: center;
-  font-style: normal;
-  margin-top: 108rpx;
-}
+	.nextto {
+		width: 702rpx;
+		height: 84rpx;
+		background: #f83224;
+		border-radius: 44rpx;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 500;
+		font-size: 32rpx;
+		color: #ffffff;
+		line-height: 84rpx;
+		text-align: center;
+		font-style: normal;
+		margin-top: 108rpx;
+	}
 
-.logname {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 28rpx;
-  color: #333333;
-  line-height: 40rpx;
-  text-align: right;
-  font-style: normal;
-  overflow: hidden;
-  width: 220rpx;
-  white-space: nowrap;
-  text-overflow: ellipsis;
-  text-align: center;
-  word-break: break-all;
-}
+	.logname {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 28rpx;
+		color: #333333;
+		line-height: 40rpx;
+		text-align: right;
+		font-style: normal;
+		overflow: hidden;
+		width: 220rpx;
+		white-space: nowrap;
+		text-overflow: ellipsis;
+		text-align: center;
+		word-break: break-all;
+	}
 
-.wei {
-  font-family: JDZhengHT, JDZhengHT;
-  font-weight: 400;
-  font-size: 32rpx;
-  color: #f83224;
-  line-height: 40rpx;
-  text-align: right;
-  font-style: normal;
-  margin-top: 8rpx;
-}
+	.wei {
+		font-family: JDZhengHT, JDZhengHT;
+		font-weight: 400;
+		font-size: 32rpx;
+		color: #f83224;
+		line-height: 40rpx;
+		text-align: right;
+		font-style: normal;
+		margin-top: 8rpx;
+	}
 
-.active {
-  width: 218rpx;
-  height: 148rpx;
-  background: rgba(247, 50, 36, 0.05);
-  border-radius: 8rpx;
-  border: 1rpx solid #f83224;
-}
+	.active {
+		width: 218rpx;
+		height: 148rpx;
+		background: rgba(247, 50, 36, 0.05);
+		border-radius: 8rpx;
+		border: 1rpx solid #f83224;
+	}
 
-.unactive {
-  width: 218rpx;
-  height: 148rpx;
-  border-radius: 12rpx;
-  border: 1rpx solid #c3c3c3;
-}
+	.unactive {
+		width: 218rpx;
+		height: 148rpx;
+		border-radius: 12rpx;
+		border: 1rpx solid #c3c3c3;
+	}
 
-.poptitle {
-  width: 142rpx;
-  height: 50rpx;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 600;
-  font-size: 36rpx;
-  color: #333333;
-  text-align: center;
-  width: 100%;
-}
+	.poptitle {
+		width: 142rpx;
+		height: 50rpx;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 600;
+		font-size: 36rpx;
+		color: #333333;
+		text-align: center;
+		width: 100%;
+	}
 
-.back {
-  background: rgba(244, 244, 244, 1);
-  padding: 20rpx 24rpx;
-  box-sizing: border-box;
+	.back {
+		background: rgba(244, 244, 244, 1);
+		padding: 20rpx 24rpx;
+		box-sizing: border-box;
 
-  .btn {
-    width: 750rpx;
-    height: 166rpx;
-    background: #ffffff;
-    box-shadow: 0rpx -1rpx 0rpx 0rpx rgba(0, 0, 0, 0.05);
-    position: fixed;
-    bottom: 0;
-    left: 0;
-    padding: 0 24rpx 5rpx 5rpx;
-    box-sizing: border-box;
+		.btn {
+			width: 750rpx;
+			height: 166rpx;
+			background: #ffffff;
+			box-shadow: 0rpx -1rpx 0rpx 0rpx rgba(0, 0, 0, 0.05);
+			position: fixed;
+			bottom: 0;
+			left: 0;
+			padding: 0 24rpx 5rpx 5rpx;
+			box-sizing: border-box;
 
-    .money {
-      font-family: HarmonyOS_Sans_Medium;
-      font-size: 48rpx;
-      color: #f83224;
-      line-height: 38rpx;
-      text-align: left;
-      font-style: normal;
-      // font-weight: 500;
-      font-weight: bold;
-    }
+			.money {
+				font-family: HarmonyOS_Sans_Medium;
+				font-size: 48rpx;
+				color: #f83224;
+				line-height: 38rpx;
+				text-align: left;
+				font-style: normal;
+				// font-weight: 500;
+				font-weight: bold;
+			}
 
-    .kg {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 24rpx;
-      color: #333333;
-      line-height: 34rpx;
-      text-align: left;
-      font-style: normal;
-    }
+			.kg {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #333333;
+				line-height: 34rpx;
+				text-align: left;
+				font-style: normal;
+			}
 
-    .order {
-      width: 232rpx;
-      height: 80rpx;
-      background: #f83224;
-      border-radius: 40rpx;
-      font-family: PingFangTC, PingFangTC;
-      font-weight: 500;
-      font-size: 32rpx;
-      color: #ffffff;
-      line-height: 80rpx;
-      text-align: center;
-      font-style: normal;
-      margin-left: 20rpx;
-    }
-  }
+			.order {
+				width: 232rpx;
+				height: 80rpx;
+				background: #f83224;
+				border-radius: 40rpx;
+				font-family: PingFangTC, PingFangTC;
+				font-weight: 500;
+				font-size: 32rpx;
+				color: #ffffff;
+				line-height: 80rpx;
+				text-align: center;
+				font-style: normal;
+				margin-left: 20rpx;
+			}
+		}
 
-  //商品相关
-  .abount {
-    padding: 28rpx 24rpx;
-    box-sizing: border-box;
-    background: #ffffff;
-    border-radius: 16rpx;
-    width: 702rpx;
+		//商品相关
+		.abount {
+			padding: 28rpx 24rpx;
+			box-sizing: border-box;
+			background: #ffffff;
+			border-radius: 16rpx;
+			width: 702rpx;
 
-    .zong {
-      width: 654rpx;
-      padding: 22rpx 0 0 0;
-      border-top: 2rpx solid rgba(151, 151, 151, 0.1);
-      margin-top: 32rpx;
+			.zong {
+				width: 654rpx;
+				padding: 22rpx 0 0 0;
+				border-top: 2rpx solid rgba(151, 151, 151, 0.1);
+				margin-top: 32rpx;
 
-      .small {
-        font-family: PingFangTC, PingFangTC;
-        font-weight: 400;
-        font-size: 24rpx;
-        color: #444444;
-        line-height: 34rpx;
-        text-align: left;
-        font-style: normal;
-      }
+				.small {
+					font-family: PingFangTC, PingFangTC;
+					font-weight: 400;
+					font-size: 24rpx;
+					color: #444444;
+					line-height: 34rpx;
+					text-align: left;
+					font-style: normal;
+				}
 
-      .mon {
-        font-family: HarmonyOS_Sans_Medium;
-        font-size: 28rpx;
-        color: #f83224;
-        line-height: 38rpx;
-        text-align: left;
-        font-style: normal;
-        margin-left: 12rpx;
-        font-weight: bold;
-      }
-    }
+				.mon {
+					font-family: HarmonyOS_Sans_Medium;
+					font-size: 28rpx;
+					color: #f83224;
+					line-height: 38rpx;
+					text-align: left;
+					font-style: normal;
+					margin-left: 12rpx;
+					font-weight: bold;
+				}
+			}
 
-    .back {
-      background: rgba(244, 244, 244, 1);
-      padding: 22rpx 16rpx;
-      box-sizing: border-box;
-      margin-top: 10rpx;
-      // margin-bottom: 20rpx;
-    }
+			.back {
+				background: rgba(244, 244, 244, 1);
+				padding: 22rpx 16rpx;
+				box-sizing: border-box;
+				margin-top: 10rpx;
+				// margin-bottom: 20rpx;
+			}
 
-    .name {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 28rpx;
-      color: #333333;
-      line-height: 40rpx;
-      text-align: left;
-      font-style: normal;
-    }
+			.name {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 28rpx;
+				color: #333333;
+				line-height: 40rpx;
+				text-align: left;
+				font-style: normal;
+			}
 
-    .money {
-      font-family: HarmonyOS_Sans_Medium;
-      font-size: 28rpx;
-      color: #222222;
-      line-height: 38rpx;
-      text-align: left;
-      font-style: normal;
-      font-weight: 600;
-    }
-  }
+			.money {
+				font-family: HarmonyOS_Sans_Medium;
+				font-size: 28rpx;
+				color: #222222;
+				line-height: 38rpx;
+				text-align: left;
+				font-style: normal;
+				font-weight: 600;
+			}
+		}
 
-  .recommend {
-    margin-top: 20rpx;
+		.recommend {
+			margin-top: 20rpx;
 
-    .title {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 22rpx;
-      color: #222222;
-      line-height: 32rpx;
-      text-align: left;
-      font-style: normal;
-      width: 148rpx;
-      height: 64rpx;
-      overflow: hidden;
-      text-overflow: ellipsis;
-      -webkit-line-clamp: 2;
-      display: -webkit-box;
-      -webkit-box-orient: vertical;
-      word-break: break-all;
-    }
+			.title {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 22rpx;
+				color: #222222;
+				line-height: 32rpx;
+				text-align: left;
+				font-style: normal;
+				width: 148rpx;
+				height: 64rpx;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				-webkit-line-clamp: 2;
+				display: -webkit-box;
+				-webkit-box-orient: vertical;
+				word-break: break-all;
+			}
 
-    .top {
-      width: 702rpx;
-      height: 64rpx;
-      background: linear-gradient(
-        180deg,
-        #ffe7e3 0%,
-        rgba(255, 255, 255, 1) 100%
-      );
-      border-radius: 16rpx 16rpx 0 0;
-      padding: 24rpx 22rpx;
-      box-sizing: border-box;
-    }
+			.top {
+				width: 702rpx;
+				height: 64rpx;
+				background: linear-gradient(180deg,
+						#ffe7e3 0%,
+						rgba(255, 255, 255, 1) 100%);
+				border-radius: 16rpx 16rpx 0 0;
+				padding: 24rpx 22rpx;
+				box-sizing: border-box;
+			}
 
-    .bottom {
-      padding: 0 20rpx 22rpx;
-      box-sizing: border-box;
-      background: #fff;
-    }
-  }
+			.bottom {
+				padding: 0 20rpx 22rpx;
+				box-sizing: border-box;
+				background: #fff;
+			}
+		}
 
-  //物流
-  .logistics {
-    width: 702rpx;
-    // height: 96rpx;
-    background: #ffffff;
-    border-radius: 16rpx;
-    padding: 28rpx 22rpx;
-    box-sizing: border-box;
-    margin-top: 20rpx;
+		//物流
+		.logistics {
+			width: 702rpx;
+			// height: 96rpx;
+			background: #ffffff;
+			border-radius: 16rpx;
+			padding: 28rpx 22rpx;
+			box-sizing: border-box;
+			margin-top: 20rpx;
 
-    .change {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 28rpx;
-      color: #f83224;
-      line-height: 40rpx;
-      text-align: left;
-      font-style: normal;
-      margin-right: 8rpx;
-    }
-  }
+			.change {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 28rpx;
+				color: #f83224;
+				line-height: 40rpx;
+				text-align: left;
+				font-style: normal;
+				margin-right: 8rpx;
+			}
+		}
 
-  //商城
-  .shop {
-    width: 702rpx;
-    // height: 322rpx;
-    background: #ffffff;
-    border-radius: 16rpx;
-    padding: 30rpx 24rpx;
-    margin-top: 20rpx;
-    box-sizing: border-box;
+		//商城
+		.shop {
+			width: 702rpx;
+			// height: 322rpx;
+			background: #ffffff;
+			border-radius: 16rpx;
+			padding: 30rpx 24rpx;
+			margin-top: 20rpx;
+			box-sizing: border-box;
 
-    .bu {
-      width: 120rpx;
-      height: 40rpx;
-      border-radius: 20rpx;
-      border: 1rpx solid rgba(151, 151, 151, 0.3);
-    }
+			.bu {
+				width: 120rpx;
+				height: 40rpx;
+				border-radius: 20rpx;
+				border: 1rpx solid rgba(151, 151, 151, 0.3);
+			}
 
-    .money {
-      font-family: HarmonyOS_Sans_Medium;
-      font-size: 24rpx;
-      color: #f83224;
-      line-height: 34rpx;
-      text-align: left;
-      font-style: normal;
-      font-weight: 600;
-    }
+			.money {
+				font-family: HarmonyOS_Sans_Medium;
+				font-size: 24rpx;
+				color: #f83224;
+				line-height: 34rpx;
+				text-align: left;
+				font-style: normal;
+				font-weight: 600;
+			}
 
-    .name {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 30rpx;
-      color: #222222;
-      line-height: 42rpx;
-      text-align: left;
-      font-style: normal;
-      margin-left: 10rpx;
-    }
+			.name {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 30rpx;
+				color: #222222;
+				line-height: 42rpx;
+				text-align: left;
+				font-style: normal;
+				margin-left: 10rpx;
+			}
 
-    .weight {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 24rpx;
-      color: rgba(34, 34, 34, 0.6);
-      line-height: 34rpx;
-      text-align: left;
-      font-style: normal;
-      margin-top: 16rpx;
-    }
-  }
+			.weight {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 24rpx;
+				color: rgba(34, 34, 34, 0.6);
+				line-height: 34rpx;
+				text-align: left;
+				font-style: normal;
+				margin-top: 16rpx;
+			}
+		}
 
-  // 地址
-  .address {
-    width: 702rpx;
-    // height: 182rpx;
-    background: #ffffff;
-    border-radius: 16rpx;
-    padding: 32rpx 24rpx;
-    box-sizing: border-box;
+		// 地址
+		.address {
+			width: 702rpx;
+			// height: 182rpx;
+			background: #ffffff;
+			border-radius: 16rpx;
+			padding: 32rpx 24rpx;
+			box-sizing: border-box;
 
-    .add {
-      font-family: SFPro, SFPro;
-      font-weight: 500;
-      font-size: 32rpx;
-      color: #222222;
-      line-height: 36rpx;
-      text-align: left;
-      font-style: normal;
-    }
+			.add {
+				font-family: SFPro, SFPro;
+				font-weight: 500;
+				font-size: 32rpx;
+				color: #222222;
+				line-height: 36rpx;
+				text-align: left;
+				font-style: normal;
+			}
 
-    .info {
-      font-family: SFPro, SFPro;
-      font-weight: 400;
-      font-size: 24rpx;
-      color: #555555;
-      line-height: 28rpx;
-      text-align: left;
-      font-style: normal;
-      margin-top: 20rpx;
-    }
-  }
-}
+			.info {
+				font-family: SFPro, SFPro;
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #555555;
+				line-height: 28rpx;
+				text-align: left;
+				font-style: normal;
+				margin-top: 20rpx;
+			}
+		}
+	}
 
-.minus {
-  width: 22px;
-  height: 22px;
-  border-width: 1px;
-  border-color: #e6e6e6;
-  border-style: solid;
-  border-top-left-radius: 100px;
-  border-top-right-radius: 100px;
-  border-bottom-left-radius: 100px;
-  border-bottom-right-radius: 100px;
-  @include flex;
-  justify-content: center;
-  align-items: center;
-}
+	.minus {
+		width: 22px;
+		height: 22px;
+		border-width: 1px;
+		border-color: #e6e6e6;
+		border-style: solid;
+		border-top-left-radius: 100px;
+		border-top-right-radius: 100px;
+		border-bottom-left-radius: 100px;
+		border-bottom-right-radius: 100px;
+		@include flex;
+		justify-content: center;
+		align-items: center;
+	}
 
-.input {
-  padding: 0 10px;
-}
+	.input {
+		padding: 0 10px;
+	}
 
-.plus {
-  width: 22px;
-  height: 22px;
-  background-color: #ff0000;
-  border-radius: 50%;
-  /* #ifndef APP-NVUE */
-  display: flex;
-  /* #endif */
-  justify-content: center;
-  align-items: center;
-}
-</style>
+	.plus {
+		width: 22px;
+		height: 22px;
+		background-color: #ff0000;
+		border-radius: 50%;
+		/* #ifndef APP-NVUE */
+		display: flex;
+		/* #endif */
+		justify-content: center;
+		align-items: center;
+	}
+</style>

文件差異過大導致無法顯示
+ 399 - 625
pageA/productdetails.vue


+ 330 - 137
pageA/rule/rule.vue

@@ -1,153 +1,346 @@
 <template>
-<view>
-	<view class="wp-80 pd-tb-40 mg-auto">
-		<button type="warn" @click="showDrawer('showRight')">筛选</button>
+	<view>
+		<h2>管理规格</h2>
+		<div style="border: 1px solid #000;margin-bottom: 20px;" v-for="(spec, index) in specs" :key="index">
+			<div
+				style="display: flex;justify-content: space-between;background: #ddd;height: 40px;align-items: center;padding: 0 20px;box-sizing: border-box;">
+				<div>
+					<label :for="`spec-${index}`">规格名称: </label>
+					<input type="text" :id="`spec-${index}`" v-model="spec.name" @input="rulea" />
+					<input type="text" :id="`spec-${index}`" v-model="spec.name" @input="rulea" />
+					<input type="text" :id="`spec-${index}`" v-model="spec.name" @input="rulea" />
+					<input type="text" :id="`spec-${index}`" v-model="spec.name" @input="rulea" />
+				</div>
+				<div>
+					<button @click="removeSpec(index)" style="margin-right: 20px;">删除规格</button>
+					<button @click="addValue(index)">添加值</button>
+				</div>
+			</div>
+			<div style="display: flex;flex-wrap: wrap;padding: 0 20px;box-sizing: border-box;">
+				<div style="margin: 10px 0;" v-for="(value, idx) in spec.values" :key="idx">
+					<label :for="`value-${index}-${idx}`">规格值: </label>
+					<input type="text" :id="`value-${idx}`" v-model="spec.values[idx].name" @input="rulea" />
+					<input type="text" :id="`value-${idx}`" v-model="spec.values[idx].name_en" @input="rulea" />
+					<input type="text" :id="`value-${idx}`" v-model="spec.values[idx].name_es" @input="rulea" />
+					<input type="text" :id="`value-${idx}`" v-model="spec.values[idx].name_ita" @input="rulea" />
+					<button style="margin:0 20px;" @click="removeValue(index,name)">删除值</button>
+				</div>
+			</div>
+		</div>
+		<button @click="addSpec">添加规格</button>
 	</view>
-	<!-- 筛选-uni-drawer -->
-	<view class="dra_position safe_area">
-		<scroll-view class="scroll-view-box dra_position" scroll-y="true">
-			<view class="pd-25">
-				<block v-for="(item,n) in drawer_list" :key="n">
-					<view class="pd-b-20">{{item.title}}</view>
-					<view class="fss flex-wrap scroll-view-div">
-					<block v-for="(aitem,index) in item.options" :key="index">
-						<view class="radius5 fcc" :class="subIndex[n] == index?'active':''"
-						@click="chooseItem(n,aitem.name,index)">
-							<text>{{aitem.name}}</text>
-						</view>
-					</block>
-					</view>
-				</block>
-			</view>
-		</scroll-view>
-		<view class="dra_close fbc bg-fff">
-			<view class="btns wp-47 radius50" @click="reset">重置</view>
-			<view class="btns1 wp-47 radius50" @click="closeDrawer('showRight')">确定</view>
-		</view>
-	</view>
-</view>
 </template>
 
 <script>
-export default {
-	data() {
-		return {
-			drawer_list: [
-				{ "title": "客户来源", "name": "source",
-					options:[
-						{ id: 25, "name": "百度贴吧" },
-						{ id: 26, "name": "淘宝" },
-						{ id: 27, "name": "抖音粉丝" },
-						{ id: 28, "name": "官网客服" },
-						{ id: 29, "name": "百度点击" },
-					]
-				},{ "title": "客户级别", "name": "level",
-					options:[
-						{ id: 22, "name": "意向极高" },
-						{ id: 23, "name": "中等意向" },
-						{ id: 24, "name": "一般意向" },
-					]
-				},{ "title": "客服", "name": "kefu",
-					options:[
-						{ id: 1, "name": "男客服" },
-						{ id: 2, "name": "女客服" },
-					]
-				}
-			],
-			selectArr: [],
-			subIndex: [],
-		}
-	},
-	methods: {
-		chooseItem( _pIndex, _name, index) {
-			if (this.selectArr[_pIndex] != _name) {
-				this.$set(this.selectArr, _pIndex, _name);
-				this.$set(this.subIndex, _pIndex, index);
-			} else {
-				this.$set(this.selectArr, _pIndex, '');
-				this.$set(this.subIndex, _pIndex, -1); //去掉选中颜色
+	export default {
+		data() {
+			return {
+				selectArr: [],
+				subIndex: [],
+				specs: [],
+				zu: [],
+				formattedItems: []
 			}
-			console.log(this.selectArr)
 		},
-		// 抽屉状态发生变化触发
-		change(e, type) { this[type] = e },
-		// 打开抽屉
-		showDrawer(e) { this.$refs[e].open() },
-		// 关闭抽屉
-		closeDrawer(e) { this.$refs[e].close() },
-		// 重置
-		reset() {
-			this.selectArr=[]
-			this.subIndex=[]
+		onLoad() {
+
+		},
+		created() {
+			this.rulea()
 		},
+		methods: {
+			addValue(index) {
+				// this.specs[index].values.push('');
+				this.specs[index].values.push('');
+			},
+			addSpec() {
+				this.specs.push({
+					name: '',
+					values: []
+				});
+			},
+			rulea() {
+				var all = []
+				console.log('specs', this.specs);
+				this.specs.forEach((item) => {
+					all.push(item.values)
+				})
+				this.$nextTick(() => {
+					this.zu = this.cartesianProductOf.apply(this, all)
+					// console.log(('ruleaaaa', this.zu));
+					if (this.zu) {
+						this.formatItems();
+					}
+				})
+			},
+			removeValue(specIndex, valueIndex) {
+				console.log('specIndex', specIndex);
+				console.log('valueIndex', valueIndex);
+				this.specs[specIndex].values.splice(valueIndex, 1);
+				this.rulea()
+			},
+			// 多规格组合
+			cartesianProductOf() { //笛卡尔积
+				return Array.prototype.reduce.call(arguments, (a, b) => {
+					var ret = [];
+					a.forEach((item) => {
+						b.forEach((child) => {
+							// var c = item.concat([child.name])
+							// console.log(c);
+							// ret.push({item:c});
+							ret.push(item.concat([child]))
+						});
+					});
+					console.log('ret', ret);
+					return ret;
+				}, [
+					[]
+				]);
+			},
+			formatItems() {
+				// 遍历原始数组并转换格式
+				var obj = {}
+				this.formattedItems.map(item => {})
+				console.log('this.formattedItems', this.formattedItems);
+				let formlist = (JSON.parse(JSON.stringify(this.formattedItems)))
+				this.formattedItems = []
+				let resultList = []
+				this.zu.forEach((item, index) => {
+					if (this.zu) {
+						let newlist = []
+						newlist.push({
+							height: item.height,
+							stock_total: item.stock_total,
+							weight: item.weight,
+							length: item.length,
+							width: item.width,
+							price: item.price,
+							image: item.image,
+							is_sales: item.is_sales
+						})
+						let itemV0 = []
+						let itemV1 = []
+						let itemV2 = []
+						let itemV3 = []
+						// resultList.push(itemV)
+						item.forEach((itemC, indexC) => {
+							itemV0.push(itemC.name)
+							itemV1.push(itemC.name_en)
+							itemV2.push(itemC.name_es)
+							itemV3.push(itemC.name_ita)
+						})
+						console.log('itemV1', itemV0);
+						console.log('itemV2', itemV1);
+						console.log('itemV3', itemV2);
+						console.log('itemV4', itemV3);
+
+						this.formattedItems.push({
+							item: itemV0.join(","),
+							item_en: itemV1.join(","),
+							item_es: itemV2.join(","),
+							item_ita: itemV3.join(","),
+							// ...newlist[index]
+							height: '0', // 假设高度为20
+							stock_total: '0', // 库存
+							weight: '0', // 重量
+							length: '0', // 长度
+							width: '0', // 宽度
+							price: '0.00', // 价格
+							image: '', // 图片
+							is_sales: true, // 是否售卖
+						});
+					} else {
+						this.formattedItems = []
+					}
+
+
+
+				});
+
+				// this.formattedItems = newlist.concat(this.formattedItems)
+				console.log('formlist', formlist);
+				console.log('formattedItems', this.formattedItems);
+				this.formattedItems.forEach((item, index) => {
+					formlist.forEach((child, indexC) => {
+						if (formlist.length == this.formattedItems.length) {
+							if (index == indexC) {
+								item.stock_total = child.stock_total // 库存
+								item.height = child.height // 假设高度为20
+								item.weight = child.weight // 重量
+								item.weight = child.weight // 长度
+								item.width = child.width // 宽度
+								item.price = child.price // 价格
+								item.image = child.image // 图片
+								item.is_sales = child.is_sales // 是否售卖
+							}
+						} else {
+							if (item.item == child.item) {
+								item.height = child.height // 假设高度为20
+								item.stock_total = child.stock_total // 库存
+								item.weight = child.weight // 重量
+								item.weight = child.weight // 长度
+								item.width = child.width // 宽度
+								item.price = child.price // 价格
+								item.image = child.image // 图片
+								item.is_sales = child.is_sales // 是否售卖
+							}
+						}
+					})
+				})
+			},
+		}
 	}
-}
 </script>
 
 <style lang="scss">
-.wp-80{ width: 80%; }
-.wp-47{ width: 47%; }
-.mg-auto{ margin: 0 auto; }
-.pd-25{ padding: 25rpx; }
-.pd-b-20{ padding: 0 0 20rpx; }
-.pd-tb-40{ padding: 40rpx 0; }
-.bg-fff{ background-color: #FFFFFF; }
-.radius5{ border-radius: 5rpx; }
-.radius50{ border-radius: 50rpx; }
-.flex-wrap{ flex-wrap: wrap; }
-.fss{
-	display: flex;
-	justify-content: flex-start;
-	align-items: flex-start;
-}
-.fbc{
-	display: flex;
-	justify-content: space-between;
-	align-items: center;
-}
-.fcc{
-	display: flex;
-	justify-content: center;
-	align-items: center;
-}
-.safe_area{
-	margin-bottom: constant(safe-area-inset-bottom);  
-	margin-bottom: env(safe-area-inset-bottom); 
-}
-.dra_position{
-	position: absolute;
-	top: 0;
-	bottom: 0;
-	width: 100%;
-	height: auto;
-}
-.scroll-view-box{ font-size: 28rpx; bottom: 84rpx; }
-.dra_close{
-	box-sizing: border-box;
-	position: absolute;
-	bottom: 0;
-	width: 100%;
-	padding: 15rpx 30rpx 20rpx;
-	>view{
-		height: 68rpx;
-		line-height: 68rpx;
-		text-align: center;
+	.avatar {
+		width: 60%;
+		float: left;
+	}
+
+	.avatar-uploader .el-upload {
+		border: 1px dashed #d9d9d9;
+		border-radius: 6px;
+		cursor: pointer;
+		position: relative;
+		overflow: hidden;
+	}
+
+	.avatar-uploader .el-upload:hover {
+		border-color: #409EFF;
 	}
-	.btns{ color: #a12a30; border: 1px solid #a12a30; }
-	.btns1{ color: #FFFFFF; background-color: #a12a30; }
-}
-.scroll-view-div{
-	>view:nth-child(3n-1){ margin: 0 10rpx; }
-	>view{
-		width: 32%;
-		height: 72rpx;
-		margin-bottom: 16rpx;
+
+	.avatar-uploader-icon {
+		font-size: 28px;
+		color: #8c939d;
+		width: 178px;
+		height: 178px;
+		line-height: 178px;
 		text-align: center;
-		background-color: #F5F5F5;
 	}
-	.active{
-		color: #ff000b;
-		background-color: #fff4f3;
+
+	.avatara {
+		width: 178px;
+		height: 178px;
+		display: block;
+	}
+
+	.wp-80 {
+		width: 80%;
+	}
+
+	.wp-47 {
+		width: 47%;
+	}
+
+	.mg-auto {
+		margin: 0 auto;
+	}
+
+	.pd-25 {
+		padding: 25rpx;
+	}
+
+	.pd-b-20 {
+		padding: 0 0 20rpx;
+	}
+
+	.pd-tb-40 {
+		padding: 40rpx 0;
+	}
+
+	.bg-fff {
+		background-color: #FFFFFF;
+	}
+
+	.radius5 {
+		border-radius: 5rpx;
+	}
+
+	.radius50 {
+		border-radius: 50rpx;
+	}
+
+	.flex-wrap {
+		flex-wrap: wrap;
+	}
+
+	.fss {
+		display: flex;
+		justify-content: flex-start;
+		align-items: flex-start;
+	}
+
+	.fbc {
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+	}
+
+	.fcc {
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+
+	.safe_area {
+		margin-bottom: constant(safe-area-inset-bottom);
+		margin-bottom: env(safe-area-inset-bottom);
+	}
+
+	.dra_position {
+		position: absolute;
+		top: 0;
+		bottom: 0;
+		width: 100%;
+		height: auto;
+	}
+
+	.scroll-view-box {
+		font-size: 28rpx;
+		bottom: 84rpx;
+	}
+
+	.dra_close {
+		box-sizing: border-box;
+		position: absolute;
+		bottom: 0;
+		width: 100%;
+		padding: 15rpx 30rpx 20rpx;
+
+		>view {
+			height: 68rpx;
+			line-height: 68rpx;
+			text-align: center;
+		}
+
+		.btns {
+			color: #a12a30;
+			border: 1px solid #a12a30;
+		}
+
+		.btns1 {
+			color: #FFFFFF;
+			background-color: #a12a30;
+		}
+	}
+
+	.scroll-view-div {
+		>view:nth-child(3n-1) {
+			margin: 0 10rpx;
+		}
+
+		>view {
+			width: 32%;
+			height: 72rpx;
+			margin-bottom: 16rpx;
+			text-align: center;
+			background-color: #F5F5F5;
+		}
+
+		.active {
+			color: #ff000b;
+			background-color: #fff4f3;
+		}
 	}
-}
-</style>
+</style>

+ 813 - 899
pages/cart/cart.vue

@@ -1,929 +1,843 @@
 <template>
-  <!-- 购物车 -->
-  <view class="page" @click="num = ''">
-    <u-navbar :safeAreaInsetTop="true" :placeholder="true">
-      <view class="u-nav-slot" slot="left">
-        <view class="">
-          <text class="shopcart">{{ i18n.Shopping }}</text>
-          <text class="sum">({{ goodsNum }})</text>
-        </view>
-      </view>
-      <view class="u-nav-slot" slot="right">
-        <view class="u-flex">
-          <text @click="admin" v-if="success">{{ i18n.manage }}</text>
-          <text @click="admin" v-else>{{ i18n.complete }}</text>
-          <view class="" style="width: 200rpx"></view>
-        </view>
-      </view>
-    </u-navbar>
-    <u-checkbox-group
-      v-model="checkboxValue1"
-      placement="column"
-      @change="checkboxChange"
-    >
-      <view class="box" v-for="(item, idx) in goodsList" :key="idx">
-        <view class="item">
-          <view class="shopname u-flex">
-            <image
-              src="/static/mine/354.png"
-              class="circle"
-              mode="scaleToFill"
-              @click="shopSelectAll(item.goods)"
-              v-if="shop(item.goods)"
-            />
-            <image
-              src="/static/mine/353.png"
-              class="circle"
-              mode="scaleToFill"
-              @click="shopSelectAll(item.goods)"
-              v-else
-            />
-
-            <image
-              :src="item.image"
-              style="width: 28rpx; height: 28rpx"
-              mode=""
-            ></image>
-            <text>{{ item.merchant_name }}</text>
-            <image
-              src="/static/express/next1.png"
-              style="width: 32rpx; height: 32rpx"
-              mode=""
-            ></image>
-          </view>
-          <u-swipe-action>
-            <view
-              class="u-flex"
-              style="margin-top: 30rpx; width: 100%"
-              v-for="(chid, index) in item.goods"
-              :key="index"
-            >
-              <u-swipe-action-item
-                ref="show"
-                :options="options2"
-                @click="followOrdelete"
-                :autoClose="true"
-                :name="chid.cart.id"
-                :disabled="chid.status == 'down' || chid.sku_item.length == 0"
-              >
-                <!-- 				<view class="" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 100;background-color: rgba(255, 255, 255, 0.5);"></view> -->
-                <u-checkbox
-                  shape="circle"
-                  :customStyle="{ marginBottom: '8px' }"
-                  :name="chid.cart.id"
-                  activeColor="#F83224"
-                  :disabled="chid.status == 'down' || chid.sku_item.length == 0"
-                >
-                </u-checkbox>
-                <view
-                  class=""
-                  style="
+	<!-- 购物车 -->
+	<view class="page" @click="num = ''">
+		<u-navbar :safeAreaInsetTop="true" :placeholder="true">
+			<view class="u-nav-slot" slot="left">
+				<view class="">
+					<text class="shopcart">{{ i18n.Shopping }}</text>
+					<text class="sum">({{ goodsNum }})</text>
+				</view>
+			</view>
+			<view class="u-nav-slot" slot="right">
+				<view class="u-flex">
+					<text @click="admin" v-if="success">{{ i18n.manage }}</text>
+					<text @click="admin" v-else>{{ i18n.complete }}</text>
+					<view class="" style="width: 200rpx"></view>
+				</view>
+			</view>
+		</u-navbar>
+		<u-checkbox-group v-model="checkboxValue1" placement="column" @change="checkboxChange">
+			<view class="box" v-for="(item, idx) in goodsList" :key="idx">
+				<view class="item">
+					<view class="shopname u-flex">
+						<image src="/static/mine/354.png" class="circle" mode="scaleToFill"
+							@click="shopSelectAll(item.goods)" v-if="shop(item.goods)" />
+						<image src="/static/mine/353.png" class="circle" mode="scaleToFill"
+							@click="shopSelectAll(item.goods)" v-else />
+
+						<image :src="item.image" style="width: 28rpx; height: 28rpx" mode=""></image>
+						<text>{{ item.merchant_name }}</text>
+						<image src="/static/express/next1.png" style="width: 32rpx; height: 32rpx" mode=""></image>
+					</view>
+					<u-swipe-action>
+						<view class="u-flex" style="margin-top: 30rpx; width: 100%" v-for="(chid, index) in item.goods"
+							:key="index">
+							<u-swipe-action-item ref="show" :options="options2" @click="followOrdelete"
+								:autoClose="true" :name="chid.cart.id"
+								:disabled="chid.status == 'down' || chid.sku_item.length == 0">
+								<!-- 				<view class="" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 100;background-color: rgba(255, 255, 255, 0.5);"></view> -->
+								<u-checkbox shape="circle" :customStyle="{ marginBottom: '8px' }" :name="chid.cart.id"
+									activeColor="#F83224"
+									:disabled="chid.status == 'down' || chid.sku_item.length == 0">
+								</u-checkbox>
+								<view class="" style="
                     position: relative;
                     width: 172rpx;
                     height: 172rpx;
                     border-radius: 16rpx;
-                  "
-                >
-                  <image
-                    :src="chid.sku_item[0].image"
-                    style="width: 172rpx; height: 172rpx; border-radius: 20rpx"
-                    mode=""
-                  >
-                  </image>
-                  <view
-                    class="down"
-                    v-if="chid.status == 'down' || chid.sku_item.length == 0"
-                  >
-                    <view class="sold"> {{ i18n.offtheshelves }} </view>
-                  </view>
-                </view>
-                <view
-                  class="good"
-                  style="flex: 1; margin-left: 10rpx; width: 65%"
-                >
-                  <view class="goodname">{{ chid.name_cn }}</view>
-                  <view class="goods" v-if="chid.sku_item.length > 0">{{
-                    chid.sku_item[0].item
-                  }}</view>
-                  <view class="" style="margin-top: 21rpx">
-                    <view
-                      class="goodtab"
-                      v-for="itemLabel in chid.label_arr"
-                      :key="itemLabel.id"
-                    >
-                      {{ itemLabel.name_cn }}
-                    </view>
-                  </view>
-                  <view
-                    class="u-flex u-row-between"
-                    style="width: 100%; margin-top: 20rpx"
-                  >
-                    <view class="" v-if="chid.sku_item.length > 0">
-                      <text class="money">¥</text>
-                      <text class="money" style="font-size: 30rpx">{{
-                        chid.sku_item[0].discount_price.split(".")[0]
+                  ">
+									<image :src="chid.sku_item[0].image"
+										style="width: 172rpx; height: 172rpx; border-radius: 20rpx" mode="">
+									</image>
+									<view class="down" v-if="chid.status == 'down' || chid.sku_item.length == 0">
+										<view class="sold"> {{ i18n.offtheshelves }} </view>
+									</view>
+								</view>
+								<view class="good" style="flex: 1; margin-left: 10rpx; width: 65%">
+									<view class="goodname" v-if="language == 'zh-CN'">{{ chid.name_cn }}</view>
+									<view class="goodname" v-if="language == 'en-US'">{{ chid.name_en }}</view>
+									<view class="goodname" v-if="language == 'es-ES'">{{ chid.name_es }}</view>
+									<view class="goodname" v-if="language == 'it-IT'">{{ chid.name_ita }}</view>
+									<view class="goods" v-if="chid.sku_item.length > 0">
+										<text v-if="language == 'zh-CN'">{{chid.sku_item[0].item}}</text>
+										<text v-if="language == 'en-US'">{{chid.sku_item[0].item_en}}</text>  
+										<text v-if="language == 'es-ES'">{{chid.sku_item[0].item_es}}</text>
+										<text v-if="language == 'it-IT'">{{chid.sku_item[0].item_ita}}</text>
+									</view>
+									<view class="" style="margin-top: 21rpx">
+										<view class="goodtab" v-for="itemLabel in chid.label_arr" :key="itemLabel.id">
+											<text v-if="language == 'zh-CN'">{{ itemLabel.name_cn }}</text>
+											<text v-if="language == 'en-US'">{{ itemLabel.name_en }}</text>
+											<text v-if="language == 'es-ES'">{{ itemLabel.name_es }}</text>
+											<text v-if="language == 'it-IT'">{{ itemLabel.name_ita }}</text>
+										</view>
+									</view>
+									<view class="u-flex u-row-between" style="width: 100%; margin-top: 20rpx">
+										<view class="" v-if="chid.sku_item.length > 0">
+											<text class="money">¥</text>
+											<text class="money" style="font-size: 30rpx">{{
+                        chid.sku_item[0].discount_price.split(".")[0]    
                       }}</text>
-                      <text class="money"
-                        >.{{
+											<text class="money">.{{
                           chid.sku_item[0].discount_price.split(".")[1]
-                        }}</text
-                      >
-                      <text class="weight"
-                        >{{ chid.sku_item[0].weight }}kg</text
-                      >
-                    </view>
-                    <view class="aaaaaa">
-                      <!-- <view class="delect" v-if='dele'>{{i18n.delete}}</view> -->
-                      <view class="" v-if="num == chid.cart.id && success">
-                        <!-- <u-number-box v-model="value" @change="valChange"></u-number-box> -->
-                        <u-number-box
-                          v-model="chid.cart.goods_num"
-                          @change="addOrReduce"
-                        >
-                          <view slot="minus" class="minus">
-                            <u-icon
-                              name="minus"
-                              color="#B5B5B5"
-                              size="12"
-                            ></u-icon>
-                          </view>
-                          <text
-                            slot="input"
-                            style="
+                        }}</text>
+											<text class="weight">{{ chid.sku_item[0].weight }}kg</text>
+										</view>
+										<view class="aaaaaa">
+											<!-- <view class="delect" v-if='dele'>{{i18n.delete}}</view> -->
+											<view class="" v-if="num == chid.cart.id && success">
+												<!-- <u-number-box v-model="value" @change="valChange"></u-number-box> -->
+												<u-number-box v-model="chid.cart.goods_num" @change="addOrReduce">
+													<view slot="minus" class="minus">
+														<u-icon name="minus" color="#B5B5B5" size="12"></u-icon>
+													</view>
+													<text slot="input" style="
                               width: 50px;
                               text-align: center;
                               font-size: 20rpx;
-                            "
-                            class="input"
-                            >{{ chid.cart.goods_num }}</text
-                          >
-                          <view slot="plus" class="plus">
-                            <u-icon
-                              name="plus"
-                              color="#B5B5B5"
-                              size="12"
-                            ></u-icon>
-                          </view>
-                        </u-number-box>
-                      </view>
-                      <view
-                        class="num"
-                        v-if="
+                            " class="input">{{ chid.cart.goods_num }}</text>
+													<view slot="plus" class="plus">
+														<u-icon name="plus" color="#B5B5B5" size="12"></u-icon>
+													</view>
+												</u-number-box>
+											</view>
+											<view class="num" v-if="
                           num != chid.cart.id &&
                           success &&
                           chid.status == 'normal' &&
                           chid.sku_item.length != 0
-                        "
-                        @click.stop="num = chid.cart.id"
-                      >
-                        x{{ chid.cart.goods_num }}
-                      </view>
-                      <view
-                        v-if="
+                        " @click.stop="num = chid.cart.id">
+												x{{ chid.cart.goods_num }}
+											</view>
+											<view v-if="
                           success &&
                           (chid.status == 'down' || chid.sku_item.length == 0)
-                        "
-                        class="del"
-                        @click="
+                        " class="del" @click="
                           followOrdelete({
                             index: 1,
                             name: chid.cart.id,
                           })
-                        "
-                        >{{ i18n.delete }}</view
-                      >
-                    </view>
-                    <view
-                      v-if="success == false"
-                      class="icon delete-1"
-                      @click="
+                        ">{{ i18n.delete }}</view>
+										</view>
+										<view v-if="success == false" class="icon delete-1" @click="
                         followOrdelete({
                           index: 1,
                           name: chid.cart.id,
                         })
-                      "
-                    >
-                      <u-icon name="trash" color="#fff" size="20"></u-icon>
-                    </view>
-                  </view>
-                </view>
-              </u-swipe-action-item>
-            </view>
-          </u-swipe-action>
-        </view>
-      </view>
-    </u-checkbox-group>
-    <u-toast ref="uToast"></u-toast>
-    <view class="" style="height: 260rpx"></view>
-    <view class="back-top" @click="backTop">
-      <image
-        class="back-icon"
-        src="../../static/mine/355.png"
-        mode="scaleToFill"
-      />
-      <text class="back-text">{{ i18n.top }}</text>
-    </view>
-    <kj-tabbar
-      ref="tabbar1"
-      :value1="3"
-      :success="success"
-      @allSelect="allSelect"
-      :goodsWeight="goodsWeight"
-      :goodsPrice="String(goodsPrice.toFixed(2))"
-      :goodsList="goodsList"
-      :checkboxValue1="checkboxValue1"
-      @selectDelete="selectDelete"
-    ></kj-tabbar>
-  </view>
+                      ">
+											<u-icon name="trash" color="#fff" size="20"></u-icon>
+										</view>
+									</view>
+								</view>
+							</u-swipe-action-item>
+						</view>
+					</u-swipe-action>
+				</view>
+			</view>
+		</u-checkbox-group>
+		<u-toast ref="uToast"></u-toast>
+		<view class="" style="height: 260rpx"></view>
+		<view class="back-top" @click="backTop">
+			<image class="back-icon" src="../../static/mine/355.png" mode="scaleToFill" />
+			<text class="back-text">{{ i18n.top }}</text>
+		</view>
+		<kj-tabbar ref="tabbar1" :value1="3" :success="success" @allSelect="allSelect" :goodsWeight="goodsWeight"
+			:goodsPrice="String(goodsPrice.toFixed(2))" :goodsList="goodsList" :checkboxValue1="checkboxValue1"
+			@selectDelete="selectDelete"></kj-tabbar>
+	</view>
 </template>
 
 <script>
-export default {
-  data() {
-    return {
-      dele: true,
-      success: true,
-      shopitem: -1,
-      checkboxValue1: [], //商品数组
-      value: 0,
-      all: [], //全选数组
-      goodsList: [],
-      selectall: -1,
-      goodsNum: 0, //购物车商品数量
-      num: false,
-      goodsWeight: 0, //商品重量
-      goodsPrice: 0, //商品价格
-      tabarheight: "",
-      removeProducts: 0, //已下架的商品数量
-    };
-  },
-  watch: {},
-  computed: {
-    i18n() {
-      return this.$t("index");
-    },
-    options2() {
-      var options = [
-        {
-          text: this.i18n.Shiftfocus,
-          style: {
-            backgroundColor: "#FFB115",
-          },
-        },
-        {
-          text: this.i18n.delete,
-          style: {
-            backgroundColor: "#F83224",
-          },
-        },
-      ];
-      return options;
-    },
-  },
-  onLoad() {
-    const systemInfo = wx.getSystemInfoSync();
-    const tab =
-      systemInfo.screenHeight -
-      systemInfo.safeArea.bottom +
-      systemInfo.statusBarHeight;
-    this.tabarheight = tab;
-  },
-  onShow() {
-    this.goodsNum = 0; //购物车商品数量
-    this.goodsWeight = 0; //商品重量
-    this.goodsPrice = 0; //商品价格
-    this.checkboxValue1 = [];
-    this.getShopCarList();
-  },
-  methods: {
-    //返回顶部
-    backTop() {
-      uni.pageScrollTo({
-        scrollTop: 0, // 滚动到页面的目标位置  这个是滚动到顶部, 0
-        duration: 300, // 滚动动画的时长
-      });
-    },
-    //商品下架之后的商品字体颜色
-    getFontColor(status) {
-      if (status == "down") {
-        return "color:rgba(51, 51, 51, .6)";
-      }
-    },
-
-    //关注商品 or 删除商品
-    followOrdelete(e) {
-      //关注商品
-      if (e.index == 0) {
-        this.goodsList.map((item) => {
-          item.goods.map((items) => {
-            if (e.name == items.cart.id) {
-              console.log(items);
-              uni.$u.http
-                .post(`/api/interest/follow`, {
-                  interest_type: 0,
-                  interest_id: items.merchant_goods.id,
-                })
-                .then((res) => {
-                  this.$refs.show.forEach((item) => item.closeHandler(true));
-                  console.log(res);
-                  uni.showToast({
-                    title: "关注成功",
-                    icon: "none",
-                  });
-                });
-            }
-          });
-        });
-      } else {
-        //删除商品
-        this.goodsList.map((item) => {
-          item.goods.map((items) => {
-            if (e.name == items.cart.id) {
-              uni.$u.http
-                .delete(`/api/cart?ids=${items.cart.id}`)
-                .then((res) => {
-                  this.$refs.uToast.show({
-                    type: "default",
-                    title: this.i18n.defaultTheme,
-                    message: this.i18n.successfullydelete,
-                  });
-                  //删除后关闭滑动打开的单元格
-                  this.$refs.show.forEach((item) => item.closeHandler(true));
-                  this.getShopCarList();
-                });
-            }
-          });
-        });
-      }
-    },
-
-    //多选删除
-    selectDelete() {
-      let goodsIdList = []; //筛选选中的商品id
-      this.goodsList.map((item) => {
-        item.goods.map((items) => {
-          if (this.checkboxValue1.indexOf(items.cart.id) >= 0) {
-            goodsIdList.push(items.cart.id);
-          }
-        });
-      });
-      uni.$u.http
-        .delete(`/api/cart`, {
-          ids: goodsIdList.join(","),
-        })
-        .then((res) => {
-          this.$refs.uToast.show({
-            type: "default",
-            title: this.i18n.defaultTheme,
-            message: this.i18n.successfullydelete,
-          });
-          this.checkboxValue1 = [];
-          this.getShopCarList();
-        });
-    },
-
-    shop(value) {
-      let num = 0;
-      value.map((item) => {
-        if (this.checkboxValue1.indexOf(item.cart.id) >= 0) {
-          num++;
-        }
-      });
-      return num;
-    },
-
-    //获取排除下架的商品之后的商品数量
-    getNormalGoodsNum(value) {
-      let num = 0;
-      value.map((item) => {
-        if (item.status != "down") {
-          num++;
-        }
-      });
-      return num;
-    },
-
-    //修改购物车商品数量
-    addOrReduce(n) {
-      console.log(n);
-      uni.$u.http
-        .post(`/api/cart/num/${this.num}`, {
-          goods_num: n.value,
-          type: "",
-        })
-        .then((res) => {
-          this.goodsPrice = 0;
-          this.goodsWeight = 0;
-          this.goodsList.map((item) => {
-            item.goods.map((items) => {
-              //判断是否有商品已被选中
-              if (
-                this.checkboxValue1.indexOf(items.cart.id) != -1 &&
-                items.status != "down"
-              ) {
-                this.goodsWeight +=
-                  items.sku_item[0].weight * items.cart.goods_num;
-                this.goodsPrice +=
-                  Number(items.sku_item[0].discount_price) *
-                  items.cart.goods_num;
-              }
-            });
-          });
-        });
-    },
-
-    //店铺商品全选
-    shopSelectAll(value) {
-      this.goodsPrice = 0;
-      this.goodsWeight = 0;
-      //先判断存放选中的数组有没有选中的数据
-      if (this.checkboxValue1.length == 0) {
-        //没有数据则直接将选中店铺中的商品存入数组
-        value.map((item) => {
-          //商品下架不得选中
-          if (item.status != "down") {
-            this.checkboxValue1.push(item.cart.id);
-          }
-        });
-      } else {
-        if (
-          this.shop(value) > 0 &&
-          this.shop(value) == this.getNormalGoodsNum(value)
-        ) {
-          value.map((item) => {
-            //先判断选中的商品数组中该店铺商品是否已被选中,已被选中则取消选中
-            if (this.checkboxValue1.indexOf(item.cart.id) >= 0) {
-              this.checkboxValue1.splice(
-                this.checkboxValue1.indexOf(item.cart.id),
-                1
-              );
-            }
-          });
-        } else if (
-          (this.shop(value) > 0 &&
-            this.shop(value) != this.getNormalGoodsNum(value)) ||
-          this.shop(value) == 0
-        ) {
-          value.map((item) => {
-            //先判断选中的商品数组中该店铺商品是否已被选中,未被选中则推入选中状态,商品下架不得选中
-            if (
-              this.checkboxValue1.indexOf(item.cart.id) == -1 &&
-              item.status != "down"
-            ) {
-              this.checkboxValue1.push(item.cart.id);
-            }
-          });
-        }
-      }
-      if (this.checkboxValue1.length == this.goodsNum - this.removeProducts) {
-        this.$refs.tabbar1.cancelAll();
-      } else {
-        this.$refs.tabbar1.cancelAll(this.i18n.Cancel);
-      }
-
-      //将选中的商品价格相加
-      this.goodsList.map((item) => {
-        item.goods.map((items) => {
-          if (this.checkboxValue1.indexOf(items.cart.id) > -1) {
-            this.goodsWeight += items.sku_item[0].weight * items.cart.goods_num;
-            this.goodsPrice +=
-              Number(items.sku_item[0].discount_price) * items.cart.goods_num;
-          }
-        });
-      });
-      this.shop(value);
-    },
-    admin() {
-      console.log(this.checkboxValue1);
-      this.success = !this.success;
-    },
-    valChange(e) {
-      console.log("当前值为: " + e.value);
-    },
-    //全选
-    checkAll(e) {
-      console.log("all", e);
-    },
-    //购物车单选
-    checkboxChange(n) {
-      console.log(n);
-      //首先将价格和商品重量重置
-      this.goodsWeight = 0;
-      this.goodsPrice = 0;
-      this.checkboxValue1 = n;
-      this.goodsList.map((item) => {
-        item.goods.map((items) => {
-          if (n.indexOf(items.cart.id) > -1) {
-            this.goodsWeight += items.sku_item[0].weight * items.cart.goods_num;
-            this.goodsPrice +=
-              Number(items.sku_item[0].discount_price) * items.cart.goods_num;
-          }
-        });
-      });
-      //判断是否全部选中
-      if (
-        this.checkboxValue1.length == this.goodsNum - this.removeProducts &&
-        this.goodsNum != 0
-      ) {
-        this.$refs.tabbar1.cancelAll();
-      } else if (
-        this.checkboxValue1.length <
-        this.goodsNum - this.removeProducts
-      ) {
-        this.$refs.tabbar1.cancelAll(this.i18n.Cancel);
-      }
-    },
-    //购物车全选
-    allSelect() {
-      const all = this.$refs.tabbar1.cancelAll(this.i18n.selectall);
-      if (
-        this.checkboxValue1.length == this.goodsNum - this.removeProducts &&
-        all.length == 0
-      ) {
-        return;
-      }
-      //判断是否已经全选,如已全选,则取消全选
-      if (this.checkboxValue1.length == this.goodsNum - this.removeProducts) {
-        this.checkboxValue1 = [];
-        this.goodsPrice = 0;
-        this.goodsWeight = 0;
-      } else {
-        this.goodsList.map((item) => {
-          item.goods.map((items) => {
-            //判断是否有商品已被选中
-            if (
-              this.checkboxValue1.indexOf(items.cart.id) == -1 &&
-              items.status != "down"
-            ) {
-              this.checkboxValue1.push(items.cart.id);
-              this.goodsWeight +=
-                items.sku_item[0].weight * items.cart.goods_num;
-              this.goodsPrice +=
-                Number(items.sku_item[0].discount_price) * items.cart.goods_num;
-            }
-          });
-        });
-      }
-    },
-    //获取购物车数据
-    getShopCarList() {
-      this.goodsNum = 0;
-      uni.$u.http.get(`/api/cart`).then((res) => {
-        this.goodsList = res.data;
-        //循环店铺,获取购物车商品数量
-        this.goodsList.map((item) => {
-          this.goodsNum += item.goods.length;
-          item.goods.map((items) => {
-            if (items.status == "down") {
-              this.removeProducts++;
-            }
-          });
-        });
-      });
-    },
-  },
-  // mounted() {
-  //   this.getShopCarList();
-  // },
-};
+	export default {
+		data() {
+			return {
+				dele: true,
+				success: true,
+				shopitem: -1,
+				checkboxValue1: [], //商品数组
+				value: 0,
+				all: [], //全选数组
+				goodsList: [],
+				selectall: -1,
+				goodsNum: 0, //购物车商品数量
+				num: false,
+				goodsWeight: 0, //商品重量
+				goodsPrice: 0, //商品价格
+				tabarheight: "",
+				removeProducts: 0, //已下架的商品数量
+				language: "zh-CN",
+			};
+		},
+		watch: {},
+		computed: {
+			i18n() {
+				return this.$t("index");
+			},
+			options2() {
+				var options = [{
+						text: this.i18n.Shiftfocus,
+						style: {
+							backgroundColor: "#FFB115",
+						},
+					},
+					{
+						text: this.i18n.delete,
+						style: {
+							backgroundColor: "#F83224",
+						},
+					},
+				];
+				return options;
+			},
+		},
+		onLoad() {
+			const systemInfo = wx.getSystemInfoSync();
+			const tab =
+				systemInfo.screenHeight -
+				systemInfo.safeArea.bottom +
+				systemInfo.statusBarHeight;
+			this.tabarheight = tab;
+		},
+		onShow() {
+			this.goodsNum = 0; //购物车商品数量
+			this.goodsWeight = 0; //商品重量
+			this.goodsPrice = 0; //商品价格
+			this.checkboxValue1 = [];
+			this.getShopCarList();
+			if (uni.getStorageSync("language") != "") {
+				this.language = uni.getStorageSync("language");
+			}
+		},
+		methods: {
+			//返回顶部
+			backTop() {
+				uni.pageScrollTo({
+					scrollTop: 0, // 滚动到页面的目标位置  这个是滚动到顶部, 0
+					duration: 300, // 滚动动画的时长
+				});
+			},
+			//商品下架之后的商品字体颜色
+			getFontColor(status) {
+				if (status == "down") {
+					return "color:rgba(51, 51, 51, .6)";
+				}
+			},
+
+			//关注商品 or 删除商品
+			followOrdelete(e) {
+				//关注商品
+				if (e.index == 0) {
+					this.goodsList.map((item) => {
+						item.goods.map((items) => {
+							if (e.name == items.cart.id) {
+								console.log(items);
+								uni.$u.http
+									.post(`/api/interest/follow`, {
+										interest_type: 0,
+										interest_id: items.merchant_goods.id,
+									})
+									.then((res) => {
+										this.$refs.show.forEach((item) => item.closeHandler(true));
+										console.log(res);
+										uni.showToast({
+											title: "关注成功",
+											icon: "none",
+										});
+									});
+							}
+						});
+					});
+				} else {
+					//删除商品
+					this.goodsList.map((item) => {
+						item.goods.map((items) => {
+							if (e.name == items.cart.id) {
+								uni.$u.http
+									.delete(`/api/cart?ids=${items.cart.id}`)
+									.then((res) => {
+										this.$refs.uToast.show({
+											type: "default",
+											title: this.i18n.defaultTheme,
+											message: this.i18n.successfullydelete,
+										});
+										//删除后关闭滑动打开的单元格
+										this.$refs.show.forEach((item) => item.closeHandler(true));
+										this.getShopCarList();
+									});
+							}
+						});
+					});
+				}
+			},
+
+			//多选删除
+			selectDelete() {
+				let goodsIdList = []; //筛选选中的商品id
+				this.goodsList.map((item) => {
+					item.goods.map((items) => {
+						if (this.checkboxValue1.indexOf(items.cart.id) >= 0) {
+							goodsIdList.push(items.cart.id);
+						}
+					});
+				});
+				uni.$u.http
+					.delete(`/api/cart`, {
+						ids: goodsIdList.join(","),
+					})
+					.then((res) => {
+						this.$refs.uToast.show({
+							type: "default",
+							title: this.i18n.defaultTheme,
+							message: this.i18n.successfullydelete,
+						});
+						this.checkboxValue1 = [];
+						this.getShopCarList();
+					});
+			},
+
+			shop(value) {
+				let num = 0;
+				value.map((item) => {
+					if (this.checkboxValue1.indexOf(item.cart.id) >= 0) {
+						num++;
+					}
+				});
+				return num;
+			},
+
+			//获取排除下架的商品之后的商品数量
+			getNormalGoodsNum(value) {
+				let num = 0;
+				value.map((item) => {
+					if (item.status != "down") {
+						num++;
+					}
+				});
+				return num;
+			},
+
+			//修改购物车商品数量
+			addOrReduce(n) {
+				console.log(n);
+				uni.$u.http
+					.post(`/api/cart/num/${this.num}`, {
+						goods_num: n.value,
+						type: "",
+					})
+					.then((res) => {
+						this.goodsPrice = 0;
+						this.goodsWeight = 0;
+						this.goodsList.map((item) => {
+							item.goods.map((items) => {
+								//判断是否有商品已被选中
+								if (
+									this.checkboxValue1.indexOf(items.cart.id) != -1 &&
+									items.status != "down"
+								) {
+									this.goodsWeight +=
+										items.sku_item[0].weight * items.cart.goods_num;
+									this.goodsPrice +=
+										Number(items.sku_item[0].discount_price) *
+										items.cart.goods_num;
+								}
+							});
+						});
+					});
+			},
+
+			//店铺商品全选
+			shopSelectAll(value) {
+				this.goodsPrice = 0;
+				this.goodsWeight = 0;
+				//先判断存放选中的数组有没有选中的数据
+				if (this.checkboxValue1.length == 0) {
+					//没有数据则直接将选中店铺中的商品存入数组
+					value.map((item) => {
+						//商品下架不得选中
+						if (item.status != "down") {
+							this.checkboxValue1.push(item.cart.id);
+						}
+					});
+				} else {
+					if (
+						this.shop(value) > 0 &&
+						this.shop(value) == this.getNormalGoodsNum(value)
+					) {
+						value.map((item) => {
+							//先判断选中的商品数组中该店铺商品是否已被选中,已被选中则取消选中
+							if (this.checkboxValue1.indexOf(item.cart.id) >= 0) {
+								this.checkboxValue1.splice(
+									this.checkboxValue1.indexOf(item.cart.id),
+									1
+								);
+							}
+						});
+					} else if (
+						(this.shop(value) > 0 &&
+							this.shop(value) != this.getNormalGoodsNum(value)) ||
+						this.shop(value) == 0
+					) {
+						value.map((item) => {
+							//先判断选中的商品数组中该店铺商品是否已被选中,未被选中则推入选中状态,商品下架不得选中
+							if (
+								this.checkboxValue1.indexOf(item.cart.id) == -1 &&
+								item.status != "down"
+							) {
+								this.checkboxValue1.push(item.cart.id);
+							}
+						});
+					}
+				}
+				if (this.checkboxValue1.length == this.goodsNum - this.removeProducts) {
+					this.$refs.tabbar1.cancelAll();
+				} else {
+					this.$refs.tabbar1.cancelAll(this.i18n.Cancel);
+				}
+
+				//将选中的商品价格相加
+				this.goodsList.map((item) => {
+					item.goods.map((items) => {
+						if (this.checkboxValue1.indexOf(items.cart.id) > -1) {
+							this.goodsWeight += items.sku_item[0].weight * items.cart.goods_num;
+							this.goodsPrice +=
+								Number(items.sku_item[0].discount_price) * items.cart.goods_num;
+						}
+					});
+				});
+				this.shop(value);
+			},
+			admin() {
+				console.log(this.checkboxValue1);
+				this.success = !this.success;
+			},
+			valChange(e) {
+				console.log("当前值为: " + e.value);
+			},
+			//全选
+			checkAll(e) {
+				console.log("all", e);
+			},
+			//购物车单选
+			checkboxChange(n) {
+				console.log(n);
+				//首先将价格和商品重量重置
+				this.goodsWeight = 0;
+				this.goodsPrice = 0;
+				this.checkboxValue1 = n;
+				this.goodsList.map((item) => {
+					item.goods.map((items) => {
+						if (n.indexOf(items.cart.id) > -1) {
+							this.goodsWeight += items.sku_item[0].weight * items.cart.goods_num;
+							this.goodsPrice +=
+								Number(items.sku_item[0].discount_price) * items.cart.goods_num;
+						}
+					});
+				});
+				//判断是否全部选中
+				if (
+					this.checkboxValue1.length == this.goodsNum - this.removeProducts &&
+					this.goodsNum != 0
+				) {
+					this.$refs.tabbar1.cancelAll();
+				} else if (
+					this.checkboxValue1.length <
+					this.goodsNum - this.removeProducts
+				) {
+					this.$refs.tabbar1.cancelAll(this.i18n.Cancel);
+				}
+			},
+			//购物车全选
+			allSelect() {
+				const all = this.$refs.tabbar1.cancelAll(this.i18n.selectall);
+				if (
+					this.checkboxValue1.length == this.goodsNum - this.removeProducts &&
+					all.length == 0
+				) {
+					return;
+				}
+				//判断是否已经全选,如已全选,则取消全选
+				if (this.checkboxValue1.length == this.goodsNum - this.removeProducts) {
+					this.checkboxValue1 = [];
+					this.goodsPrice = 0;
+					this.goodsWeight = 0;
+				} else {
+					this.goodsList.map((item) => {
+						item.goods.map((items) => {
+							//判断是否有商品已被选中
+							if (
+								this.checkboxValue1.indexOf(items.cart.id) == -1 &&
+								items.status != "down"
+							) {
+								this.checkboxValue1.push(items.cart.id);
+								this.goodsWeight +=
+									items.sku_item[0].weight * items.cart.goods_num;
+								this.goodsPrice +=
+									Number(items.sku_item[0].discount_price) * items.cart.goods_num;
+							}
+						});
+					});
+				}
+			},
+			//获取购物车数据
+			getShopCarList() {
+				this.goodsNum = 0;
+				uni.$u.http.get(`/api/cart`).then((res) => {
+					this.goodsList = res.data;
+					//循环店铺,获取购物车商品数量
+					this.goodsList.map((item) => {
+						this.goodsNum += item.goods.length;
+						item.goods.map((items) => {
+							if (items.status == "down") {
+								this.removeProducts++;
+							}
+						});
+					});
+				});
+			},
+		},
+		// mounted() {
+		//   this.getShopCarList();
+		// },
+	};
 </script>
 
 <style lang="scss" scoped>
-.page {
-  position: relative;
-
-  .back-top {
-    position: fixed;
-    display: flex;
-    flex-direction: column;
-    justify-content: center;
-    align-items: center;
-    width: 88rpx;
-    height: 88rpx;
-    background-color: #fff;
-    border-radius: 50%;
-    bottom: 280rpx;
-    right: 20rpx;
-    z-index: 1000;
-
-    .back-icon {
-      width: 32rpx;
-      height: 30rpx;
-    }
-
-    .back-text {
-      font-size: 20rpx;
-      color: #555;
-    }
-  }
-}
-
-.sold {
-  width: 108rpx;
-  height: 36rpx;
-  background: rgba(0, 0, 0, 0.4);
-  border-radius: 18rpx;
-  // padding: 0 14rpx;
-  text-align: center;
-  box-sizing: border-box;
-  line-height: 36rpx;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 20rpx;
-  color: #ffffff;
-  font-style: normal;
-  position: absolute;
-  top: 50%;
-  left: 50%;
-  margin-top: -18rpx;
-  margin-left: -54rpx;
-}
-
-.aaaaaa {
-  float: right;
-}
-.u-row-between {
-  // flex-direction: row-reverse;
-  position: relative;
-}
-
-.delect {
-  // width: 68rpx;
-  height: 44rpx;
-  line-height: 44rpx;
-  border-radius: 22rpx;
-  border: 1rpx solid #ff1515;
-  padding: 0 14rpx;
-  box-sizing: border-box;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 20rpx;
-  color: #ff1515;
-  text-align: center;
-  font-style: normal;
-}
-
-.allweight {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 22rpx;
-  color: #333333;
-  line-height: 32rpx;
-  text-align: left;
-  font-style: normal;
-}
-
-.sum {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 22rpx;
-  color: #333333;
-  line-height: 32rpx;
-  text-align: left;
-  font-style: normal;
-}
-
-.summon {
-  font-family: JDZhengHT, JDZhengHT;
-  font-weight: 400;
-  font-size: 24rpx;
-  color: #ff1515;
-  line-height: 30rpx;
-  text-align: left;
-  font-style: normal;
-}
-
-.settle {
-  width: 176rpx;
-  height: 68rpx;
-  background: #f83224;
-  border-radius: 38rpx;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 500;
-  font-size: 28rpx;
-  color: #ffffff;
-  line-height: 68rpx;
-  text-align: center;
-  font-style: normal;
-  margin-left: 20rpx;
-}
-
-.icon {
-  width: 40rpx;
-  height: 40rpx;
-  background: #f83224;
-  border-radius: 12rpx;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-}
-
-.dle {
-  width: 136rpx;
-  height: 60rpx;
-  border-radius: 38rpx;
-  border: 1rpx solid #979797;
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 400;
-  font-size: 26rpx;
-  color: #333333;
-  line-height: 60rpx;
-  text-align: center;
-  font-style: normal;
-}
-
-::v-deep .u-swipe-action-item__content {
-  flex-direction: row !important;
-}
-
-::v-deep .u-swipe-action-item__right__button__wrapper {
-  width: 32px;
-  word-wrap: break-word;
-  font-size: 20rpx !important;
-}
-
-::v-deep .u-swipe-action-item__right__button__wrapper__text {
-  word-wrap: break-word;
-}
-
-::v-deep .u-swipe-action-item {
-  width: 100% !important;
-}
-
-::v-deep .u-swipe-action-item__right {
-  top: 2rpx !important;
-  right: 2rpx !important;
-  bottom: 2rpx !important;
-}
-
-.bottom {
-  width: 750rpx;
-  height: 100rpx;
-  background: #ffffff;
-  padding: 0 24rpx;
-  box-sizing: border-box;
-}
-
-.num {
-  width: 40rpx;
-  height: 40rpx;
-  border-radius: 20rpx;
-  border: 1rpx solid rgba(151, 151, 151, 0.4);
-  font-family: HarmonyOS_Sans;
-  font-size: 20rpx;
-  color: #222222;
-  line-height: 40rpx;
-  text-align: center;
-  font-style: normal;
-}
-
-.del {
-  width: 68rpx;
-  height: 44rpx;
-  text-align: center;
-  line-height: 44rpx;
-  border: 2rpx solid #f83224;
-  color: #f83224;
-  font-size: 20rpx;
-  border-radius: 22rpx;
-  position: absolute;
-  right: 10rpx;
-}
-
-.box {
-  padding: 0rpx 24rpx 20rpx;
-  margin-top: 20rpx;
-  box-sizing: border-box;
-
-  .item {
-    padding: 36rpx 20rpx;
-    box-sizing: border-box;
-    width: 702rpx;
-    // height: 556rpx;
-    background: #ffffff;
-    border-radius: 16rpx;
-
-    .money {
-      font-family: HarmonyOS_Sans_Medium;
-      font-size: 20rpx;
-      color: #ff1515;
-      line-height: 26rpx;
-      text-align: left;
-      font-style: normal;
-    }
-
-    .weight {
-      font-family: SFPro, SFPro;
-      font-weight: 400;
-      font-size: 20rpx;
-      color: #333333;
-      line-height: 24rpx;
-      text-align: left;
-      font-style: normal;
-      margin-left: 12rpx;
-    }
-
-    .goodtab {
-      // width: 96rpx;
-      height: 32rpx;
-      border-radius: 4rpx;
-      border: 1rpx solid #ff1515;
-      padding: 2rpx 8rpx;
-      box-sizing: border-box;
-      text-align: center;
-      line-height: 32rpx;
-      display: inline;
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 20rpx;
-      color: #ff1515;
-      line-height: 28rpx;
-      text-align: left;
-      font-style: normal;
-      margin-right: 6rpx;
-    }
-
-    .goods {
-      // width: 284rpx;
-      height: 40rpx;
-      background: #f4f4f4;
-      border-radius: 8rpx;
-      display: inline;
-      text-align: center;
-      line-height: 40rpx;
-      margin-top: 20rpx;
-      padding: 6rpx 12rpx;
-      box-sizing: border-box;
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 400;
-      font-size: 20rpx;
-      color: #555555;
-      line-height: 28rpx;
-      text-align: left;
-      font-style: normal;
-    }
-
-    .goodname {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 500;
-      font-size: 28rpx;
-      color: #333333;
-      line-height: 40rpx;
-      text-align: left;
-      font-style: normal;
-      overflow: hidden;
-      text-overflow: ellipsis;
-      word-break: break-all;
-      white-space: nowrap;
-      width: 100%;
-    }
-
-    .shopname {
-      font-family: PingFangSC, PingFang SC;
-      font-weight: 500;
-      font-size: 26rpx;
-      color: #333333;
-      line-height: 36rpx;
-      text-align: left;
-      font-style: normal;
-
-      .circle {
-        width: 32rpx;
-        height: 32rpx;
-        margin-right: 10rpx;
-      }
-    }
-  }
-}
-
-.shopcart {
-  font-family: PingFangSC, PingFang SC;
-  font-weight: 500;
-  font-size: 36rpx;
-  color: #222222;
-  line-height: 50rpx;
-  text-align: right;
-  font-style: normal;
-}
-
-.sum {
-  font-family: HarmonyOS_Sans;
-  font-size: 22rpx;
-  color: #333333;
-  line-height: 32rpx;
-  text-align: left;
-  font-style: normal;
-}
-
-.down {
-  position: absolute;
-  top: 0;
-  left: 0;
-  background-color: #c7c7c7;
-  opacity: 0.7;
-  width: 100%;
-  height: 100%;
-  z-index: 10000;
-  border-radius: 20rpx;
-}
-</style>
+	.page {
+		position: relative;
+
+		.back-top {
+			position: fixed;
+			display: flex;
+			flex-direction: column;
+			justify-content: center;
+			align-items: center;
+			width: 88rpx;
+			height: 88rpx;
+			background-color: #fff;
+			border-radius: 50%;
+			bottom: 280rpx;
+			right: 20rpx;
+			z-index: 1000;
+
+			.back-icon {
+				width: 32rpx;
+				height: 30rpx;
+			}
+
+			.back-text {
+				font-size: 20rpx;
+				color: #555;
+			}
+		}
+	}
+
+	.sold {
+		width: 108rpx;
+		height: 36rpx;
+		background: rgba(0, 0, 0, 0.4);
+		border-radius: 18rpx;
+		// padding: 0 14rpx;
+		text-align: center;
+		box-sizing: border-box;
+		line-height: 36rpx;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 20rpx;
+		color: #ffffff;
+		font-style: normal;
+		position: absolute;
+		top: 50%;
+		left: 50%;
+		margin-top: -18rpx;
+		margin-left: -54rpx;
+	}
+
+	.aaaaaa {
+		float: right;
+	}
+
+	.u-row-between {
+		// flex-direction: row-reverse;
+		position: relative;
+	}
+
+	.delect {
+		// width: 68rpx;
+		height: 44rpx;
+		line-height: 44rpx;
+		border-radius: 22rpx;
+		border: 1rpx solid #ff1515;
+		padding: 0 14rpx;
+		box-sizing: border-box;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 20rpx;
+		color: #ff1515;
+		text-align: center;
+		font-style: normal;
+	}
+
+	.allweight {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 22rpx;
+		color: #333333;
+		line-height: 32rpx;
+		text-align: left;
+		font-style: normal;
+	}
+
+	.sum {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 22rpx;
+		color: #333333;
+		line-height: 32rpx;
+		text-align: left;
+		font-style: normal;
+	}
+
+	.summon {
+		font-family: JDZhengHT, JDZhengHT;
+		font-weight: 400;
+		font-size: 24rpx;
+		color: #ff1515;
+		line-height: 30rpx;
+		text-align: left;
+		font-style: normal;
+	}
+
+	.settle {
+		width: 176rpx;
+		height: 68rpx;
+		background: #f83224;
+		border-radius: 38rpx;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 500;
+		font-size: 28rpx;
+		color: #ffffff;
+		line-height: 68rpx;
+		text-align: center;
+		font-style: normal;
+		margin-left: 20rpx;
+	}
+
+	.icon {
+		width: 40rpx;
+		height: 40rpx;
+		background: #f83224;
+		border-radius: 12rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+
+	.dle {
+		width: 136rpx;
+		height: 60rpx;
+		border-radius: 38rpx;
+		border: 1rpx solid #979797;
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 400;
+		font-size: 26rpx;
+		color: #333333;
+		line-height: 60rpx;
+		text-align: center;
+		font-style: normal;
+	}
+
+	::v-deep .u-swipe-action-item__content {
+		flex-direction: row !important;
+	}
+
+	::v-deep .u-swipe-action-item__right__button__wrapper {
+		width: 32px;
+		word-wrap: break-word;
+		font-size: 20rpx !important;
+	}
+
+	::v-deep .u-swipe-action-item__right__button__wrapper__text {
+		word-wrap: break-word;
+	}
+
+	::v-deep .u-swipe-action-item {
+		width: 100% !important;
+	}
+
+	::v-deep .u-swipe-action-item__right {
+		top: 2rpx !important;
+		right: 2rpx !important;
+		bottom: 2rpx !important;
+	}
+
+	.bottom {
+		width: 750rpx;
+		height: 100rpx;
+		background: #ffffff;
+		padding: 0 24rpx;
+		box-sizing: border-box;
+	}
+
+	.num {
+		width: 40rpx;
+		height: 40rpx;
+		border-radius: 20rpx;
+		border: 1rpx solid rgba(151, 151, 151, 0.4);
+		font-family: HarmonyOS_Sans;
+		font-size: 20rpx;
+		color: #222222;
+		line-height: 40rpx;
+		text-align: center;
+		font-style: normal;
+	}
+
+	.del {
+		width: 68rpx;
+		height: 44rpx;
+		text-align: center;
+		line-height: 44rpx;
+		border: 2rpx solid #f83224;
+		color: #f83224;
+		font-size: 20rpx;
+		border-radius: 22rpx;
+		position: absolute;
+		right: 10rpx;
+	}
+
+	.box {
+		padding: 0rpx 24rpx 20rpx;
+		margin-top: 20rpx;
+		box-sizing: border-box;
+
+		.item {
+			padding: 36rpx 20rpx;
+			box-sizing: border-box;
+			width: 702rpx;
+			// height: 556rpx;
+			background: #ffffff;
+			border-radius: 16rpx;
+
+			.money {
+				font-family: HarmonyOS_Sans_Medium;
+				font-size: 20rpx;
+				color: #ff1515;
+				line-height: 26rpx;
+				text-align: left;
+				font-style: normal;
+			}
+
+			.weight {
+				font-family: SFPro, SFPro;
+				font-weight: 400;
+				font-size: 20rpx;
+				color: #333333;
+				line-height: 24rpx;
+				text-align: left;
+				font-style: normal;
+				margin-left: 12rpx;
+			}
+
+			.goodtab {
+				// width: 96rpx;
+				height: 32rpx;
+				border-radius: 4rpx;
+				border: 1rpx solid #ff1515;
+				padding: 2rpx 8rpx;
+				box-sizing: border-box;
+				text-align: center;
+				line-height: 32rpx;
+				display: inline;
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 20rpx;
+				color: #ff1515;
+				line-height: 28rpx;
+				text-align: left;
+				font-style: normal;
+				margin-right: 6rpx;
+			}
+
+			.goods {
+				// width: 284rpx;
+				height: 40rpx;
+				background: #f4f4f4;
+				border-radius: 8rpx;
+				display: inline;
+				text-align: center;
+				line-height: 40rpx;
+				margin-top: 20rpx;
+				padding: 6rpx 12rpx;
+				box-sizing: border-box;
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 20rpx;
+				color: #555555;
+				line-height: 28rpx;
+				text-align: left;
+				font-style: normal;
+			}
+
+			.goodname {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 500;
+				font-size: 28rpx;
+				color: #333333;
+				line-height: 40rpx;
+				text-align: left;
+				font-style: normal;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				word-break: break-all;
+				white-space: nowrap;
+				width: 100%;
+			}
+
+			.shopname {
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 500;
+				font-size: 26rpx;
+				color: #333333;
+				line-height: 36rpx;
+				text-align: left;
+				font-style: normal;
+
+				.circle {
+					width: 32rpx;
+					height: 32rpx;
+					margin-right: 10rpx;
+				}
+			}
+		}
+	}
+
+	.shopcart {
+		font-family: PingFangSC, PingFang SC;
+		font-weight: 500;
+		font-size: 36rpx;
+		color: #222222;
+		line-height: 50rpx;
+		text-align: right;
+		font-style: normal;
+	}
+
+	.sum {
+		font-family: HarmonyOS_Sans;
+		font-size: 22rpx;
+		color: #333333;
+		line-height: 32rpx;
+		text-align: left;
+		font-style: normal;
+	}
+
+	.down {
+		position: absolute;
+		top: 0;
+		left: 0;
+		background-color: #c7c7c7;
+		opacity: 0.7;
+		width: 100%;
+		height: 100%;
+		z-index: 10000;
+		border-radius: 20rpx;
+	}
+</style>

+ 4 - 0
unpackage/dist/build/mp-weixin/app.js

@@ -0,0 +1,4 @@
+
+require('./common/runtime.js')
+require('./common/vendor.js')
+require('./common/main.js')

+ 143 - 0
unpackage/dist/build/mp-weixin/app.json

@@ -0,0 +1,143 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/mine/mine",
+    "pages/express/express",
+    "pages/shopping/shopping",
+    "pages/cart/cart",
+    "pages/login/login"
+  ],
+  "subPackages": [
+    {
+      "root": "pageA",
+      "pages": [
+        "index",
+        "productdetails",
+        "order",
+        "balance",
+        "counter",
+        "logisticsinfo",
+        "subsidy",
+        "chat/chat",
+        "chat/news",
+        "service/service",
+        "payorder",
+        "confirm",
+        "shoptype",
+        "shoplist",
+        "rule/rule",
+        "comment",
+        "changelange"
+      ]
+    },
+    {
+      "root": "pageB",
+      "pages": [
+        "index",
+        "parcel",
+        "delivery",
+        "goods",
+        "Senderinfor",
+        "recipientinfo",
+        "citychange",
+        "list/list",
+        "ParcelExpress",
+        "account",
+        "myPackage",
+        "end",
+        "expresstype",
+        "orderinfo",
+        "search",
+        "xieyi"
+      ]
+    },
+    {
+      "root": "pageC",
+      "pages": [
+        "index",
+        "accountBalance/accountBalance",
+        "balanceDetail/balanceDetail",
+        "recharge/recharge",
+        "withdrawal/withdrawal",
+        "withdrawalDetail/withdrawalDetail",
+        "ensureMoney/ensureMoney",
+        "ensureExplain/ensureExplain",
+        "mineFollow/mineFollow",
+        "accountSetup/accountSetup",
+        "switchLanguage/switchLanguage",
+        "personalInformation/personalInformation",
+        "editName/editName",
+        "addressManagement/addressManagement",
+        "addEditAddress/addEditAddress",
+        "orderForm/orderForm",
+        "internationalAddress/internationalAddress",
+        "accountSecurity/accountSecurity",
+        "accountCancellation/accountCancellation",
+        "privacyPolicy/privacyPolicy",
+        "orderFormDetail/orderFormDetail",
+        "myPackage/myPackage",
+        "applicationRefund/applicationRefund",
+        "refundDetail/refundDetail"
+      ]
+    },
+    {
+      "root": "pageD",
+      "pages": [
+        "index",
+        "supplyChainGoods/supplyChainGoods",
+        "productDetails/productDetails",
+        "commodityManage/commodityManage",
+        "platformProducts/platformProducts",
+        "settleIn/settleIn",
+        "orderFormManage/orderFormManage",
+        "orderInformation/orderInformation",
+        "logisticsProgress/logisticsProgress",
+        "paymentOrder/paymentOrder",
+        "afterSalesManage/afterSalesManage",
+        "afterSalesDetail/afterSalesDetail",
+        "sending/sending",
+        "deliverGoods/deliverGoods",
+        "evaluate/evaluate",
+        "homepage/homepage",
+        "ensureRecharge/ensureRecharge",
+        "orderDetail/orderDetail",
+        "resultFeedback/resultFeedback",
+        "userAgreement/userAgreement",
+        "joinPlatfrom/joinPlatfrom",
+        "newBulitOrder/newBulitOrder"
+      ]
+    }
+  ],
+  "window": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "跨境电商",
+    "navigationBarBackgroundColor": "#fff",
+    "backgroundColor": "#222"
+  },
+  "tabBar": {
+    "color": "#222",
+    "selectedColor": "#F83224",
+    "custom": true,
+    "list": [
+      {
+        "pagePath": "pages/express/express"
+      },
+      {
+        "pagePath": "pages/index/index"
+      },
+      {
+        "pagePath": "pages/shopping/shopping"
+      },
+      {
+        "pagePath": "pages/cart/cart"
+      },
+      {
+        "pagePath": "pages/mine/mine"
+      }
+    ]
+  },
+  "requiredPrivateInfos": [
+    "chooseAddress"
+  ],
+  "usingComponents": {}
+}

+ 3 - 0
unpackage/dist/build/mp-weixin/app.wxss

@@ -0,0 +1,3 @@
+@import './common/main.wxss';
+
+[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/common/main.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/common/main.wxss


文件差異過大導致無法顯示
+ 2 - 0
unpackage/dist/build/mp-weixin/common/runtime.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/common/vendor.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.js


+ 4 - 0
unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.json

@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-chat/kj-chat.wxss


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.js


+ 6 - 0
unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "u-icon": "/uview-ui/components/u-icon/u-icon"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/components/kj-flow/kj-flow.wxss

@@ -0,0 +1 @@
+.iitem.data-v-85ac47b2{border-bottom:2rpx solid hsla(0,0%,59.2%,.1);box-sizing:border-box}.price.data-v-85ac47b2{font-family:SFPro;font-weight:500;font-size:24rpx;color:#f83224;line-height:28rpx;text-align:left;font-style:normal}.right.data-v-85ac47b2{flex:1;width:474rpx;height:642rpx}.bottom.data-v-85ac47b2{width:750rpx;height:166rpx;background:#fff;padding:20rpx 24rpx;box-sizing:border-box}.btn.data-v-85ac47b2{width:702rpx;height:84rpx;background:#f83224;border-radius:44rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:32rpx;color:#fff;line-height:84rpx;text-align:center;font-style:normal}.title.data-v-85ac47b2{font-family:PingFangSC,PingFang SC;font-weight:500;font-size:36rpx;color:#333;line-height:50rpx;text-align:left;font-style:normal}.left.data-v-85ac47b2{width:212rpx;height:642rpx}.ititle.data-v-85ac47b2{font-family:PingFangSC,PingFang SC;font-weight:500;font-size:28rpx;color:#222;line-height:40rpx;text-align:left;font-style:normal}.itime.data-v-85ac47b2{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:20rpx;color:#333;line-height:28rpx;text-align:center;font-style:normal}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.js


+ 9 - 0
unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.json

@@ -0,0 +1,9 @@
+{
+  "component": true,
+  "usingComponents": {
+    "u-checkbox-group": "/uview-ui/components/u-checkbox-group/u-checkbox-group",
+    "u-checkbox": "/uview-ui/components/u-checkbox/u-checkbox",
+    "u-tabbar": "/uview-ui/components/u-tabbar/u-tabbar",
+    "u-tabbar-item": "/uview-ui/components/u-tabbar-item/u-tabbar-item"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/components/kj-tabbar/kj-tabbar.wxss

@@ -0,0 +1 @@
+.all.data-v-0e4880d5{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:22rpx;color:#444;line-height:32rpx;text-align:left;font-style:normal}.bottom.data-v-0e4880d5{width:750rpx;height:100rpx;background:#fff;padding:0 24rpx;box-sizing:border-box}.bottom .dle.data-v-0e4880d5{width:136rpx;height:60rpx;text-align:center;line-height:60rpx;border-radius:38rpx;border:2rpx solid #979797;font-size:26rpx;color:#333}.bottom .allweight.data-v-0e4880d5{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:22rpx;color:#333;line-height:32rpx;text-align:left;font-style:normal}.bottom .sum.data-v-0e4880d5{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:22rpx;color:#333;line-height:32rpx;text-align:left;font-style:normal}.bottom .summon.data-v-0e4880d5{font-family:JDZhengHT;font-weight:400;font-size:24rpx;color:#ff1515;line-height:30rpx;text-align:left;font-style:normal}.bottom .settle.data-v-0e4880d5{width:176rpx;height:68rpx;background:#f83224;border-radius:38rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:28rpx;color:#fff;line-height:68rpx;text-align:center;font-style:normal;margin-left:20rpx}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/balance.js

@@ -0,0 +1 @@
+require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/balance"],{"0148":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={data:function(){return{}}};n.default=u},"2a70":function(e,n,t){"use strict";t.r(n);var u=t("0148"),a=t.n(u);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);n["default"]=a.a},5536:function(e,n,t){"use strict";t.r(n);var u=t("cdee"),a=t("2a70");for(var r in a)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(r);var c,f=t("f0c5"),i=Object(f["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);n["default"]=i.exports},5605:function(e,n,t){"use strict";(function(e,n){var u=t("4ea4");t("f93b");u(t("66fd"));var a=u(t("5536"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},cdee:function(e,n,t){"use strict";var u;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return u}));var a=function(){var e=this,n=e.$createElement;e._self._c},r=[]}},[["5605","common/runtime","common/vendor"]]]);

+ 5 - 0
unpackage/dist/build/mp-weixin/pageA/balance.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "支付订单",
+  "enablePullDownRefresh": false,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/balance.wxml

@@ -0,0 +1 @@
+<view></view>

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/changelange.js


+ 9 - 0
unpackage/dist/build/mp-weixin/pageA/changelange.json

@@ -0,0 +1,9 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "navigationStyle": "custom",
+  "usingComponents": {
+    "u-navbar": "/uview-ui/components/u-navbar/u-navbar",
+    "u-icon": "/uview-ui/components/u-icon/u-icon"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/changelange.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/changelange.wxss

@@ -0,0 +1 @@
+.page.data-v-0d782a6c{padding:20rpx 24rpx;background-color:#fff!important;height:calc(100vh - 40rpx)}.page .btnleft.data-v-0d782a6c{width:280rpx;height:88rpx;border-radius:48rpx;border:2rpx solid hsla(0,0%,59.2%,.4);line-height:88rpx;text-align:center;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:32rpx;color:#333}.page .btnright.data-v-0d782a6c{width:380rpx;height:88rpx;background:#f83224;border-radius:48rpx;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:32rpx;color:#fff;line-height:88rpx;text-align:center;font-style:normal}.page .btn-list.data-v-0d782a6c{background-color:#fff;border-radius:16rpx;padding:0 20rpx}.page .btn-list .language.data-v-0d782a6c{display:flex;align-items:center;justify-content:space-between;height:110rpx;border-bottom:2rpx solid hsla(0,0%,59.2%,.2)}.page .btn-list .language .selected.data-v-0d782a6c{width:36rpx;height:36rpx}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/chat/chat.js


+ 10 - 0
unpackage/dist/build/mp-weixin/pageA/chat/chat.json

@@ -0,0 +1,10 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "navigationStyle": "custom",
+  "usingComponents": {
+    "u-navbar": "/uview-ui/components/u-navbar/u-navbar",
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "kj-chat": "/components/kj-chat/kj-chat"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/chat/chat.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/chat/chat.wxss


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/chat/news.js


+ 8 - 0
unpackage/dist/build/mp-weixin/pageA/chat/news.json

@@ -0,0 +1,8 @@
+{
+  "navigationBarTitleText": "消息",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "u-badge": "/uview-ui/components/u-badge/u-badge"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/chat/news.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/chat/news.wxss

@@ -0,0 +1 @@
+.back{width:750rpx;background:#f4f4f4;padding:20rpx 24rpx;box-sizing:border-box}.back .input{width:702rpx;height:72rpx;background:#fff;border-radius:36rpx;padding:0 24rpx;box-sizing:border-box}.back .kefu{width:702rpx;height:156rpx;background:#fff;border-radius:16rpx;padding:36rpx 24rpx 32rpx;box-sizing:border-box;margin-top:24rpx}.back .name{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:32rpx;color:#222;line-height:44rpx;text-align:left;font-style:normal}.back .time{font-family:SFPro;font-weight:400;font-size:20rpx;color:#666;line-height:24rpx;text-align:left;font-style:normal}.back .news{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:24rpx;color:#666;line-height:34rpx;text-align:left;font-style:normal}.back .box{width:702rpx;min-height:1156rpx;background:#fff;border-radius:16rpx;padding:40rpx 24rpx 20rpx;box-sizing:border-box;margin-top:20rpx}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/comment.js


+ 7 - 0
unpackage/dist/build/mp-weixin/pageA/comment.json

@@ -0,0 +1,7 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "uni-rate": "/uni_modules/uni-rate/components/uni-rate/uni-rate"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/comment.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/comment.wxss

@@ -0,0 +1 @@
+.back.data-v-1bc68d93{padding:20rpx;box-sizing:border-box}.back .box.data-v-1bc68d93{background:#fff;border-radius:16rpx;padding:24rpx 20rpx;box-sizing:border-box;margin-bottom:20rpx}.back .day.data-v-1bc68d93{font-family:SFPro;font-weight:400;font-size:20rpx;color:#9e9e9e;line-height:24rpx;text-align:justify;font-style:normal}.back .content.data-v-1bc68d93{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:26rpx;color:#444;line-height:36rpx;text-align:justify;font-style:normal}.back .name.data-v-1bc68d93{font-family:PingFangSC,PingFang SC;font-weight:500;font-size:22rpx;color:#444;line-height:32rpx;text-align:left;font-style:normal;margin-bottom:34rpx}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/common/vendor.js

@@ -0,0 +1 @@
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/common/vendor"],{fbb8:function(e,t,o){"use strict";function n(e){var t=new Date(parseInt(e)),o=(t.getFullYear(),t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1),n=t.getDate()<10?"0"+t.getDate():t.getDate(),a=t.getHours()<10?"0"+t.getHours():t.getHours(),g=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();t.getSeconds(),t.getSeconds();return"".concat(o,"-").concat(n," ").concat(a,":").concat(g)}function a(e){var t=["Bytes","KB","MB","GB","TB","PB"],o=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(o))).toFixed(2)+" "+t[o]}Object.defineProperty(t,"__esModule",{value:!0}),t.readablizeBytes=a,t.renderTime=n}}]);

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.js


+ 7 - 0
unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.json

@@ -0,0 +1,7 @@
+{
+  "componentGenerics": {
+    "scoped-slots-default": true
+  },
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.wxml

@@ -0,0 +1 @@
+<view class="content data-v-7dc13ffa" style="{{'height:'+(scrollH+'px')+';'}}"><view class="cont data-v-7dc13ffa"><scroll-view class="cont_view menu-scroll-view data-v-7dc13ffa" style="{{$root.s0}}" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-top="{{scrollTop}}" scroll-into-view="{{itemId}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['swichMenu',[index]]]]]}}" class="menu_item data-v-7dc13ffa" style="{{item.s1}}" catchtap="__e"><view class="menu_item_name data-v-7dc13ffa">{{item.$orig[keyName]}}</view><block wx:if="{{current==index&&isTeg}}"><view class="y_teg data-v-7dc13ffa" style="{{'background:'+(tegColor)+';'}}"></view></block></view></block></scroll-view><scroll-view style="{{$root.s2}}" scroll-top="{{scrollRightTop}}" scroll-y="{{true}}" scroll-with-animation="{{true}}" data-event-opts="{{[['scroll',[['rightScroll',['$event']]]]]}}" bindscroll="__e" class="data-v-7dc13ffa"><view class="menu_right_view data-v-7dc13ffa"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="menu_right_item data-v-7dc13ffa" id="{{'item'+index}}"><view class="menu_right_title data-v-7dc13ffa">{{item.$orig[keyName]}}</view><view class="data-v-7dc13ffa"><slot></slot><scoped-slots-default scroll_list="{{item.$orig[tabbarName]}}" language="{{language}}" class="scoped-ref" bind:__l="__l"></scoped-slots-default></view></view></block></view></scroll-view></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.wxss

@@ -0,0 +1 @@
+.content.data-v-7dc13ffa{display:flex;flex-direction:column}.content .cont.data-v-7dc13ffa{flex:1;display:flex;overflow:hidden}.content .cont .cont_view.data-v-7dc13ffa{height:100%}.content .cont .cont_view .menu_item.data-v-7dc13ffa{position:relative;padding:24rpx 12rpx}.content .cont .cont_view .menu_item .menu_item_name.data-v-7dc13ffa{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;text-align:center}.content .cont .cont_view .menu_item .y_teg.data-v-7dc13ffa{width:6rpx;height:40rpx;border-radius:3rpx;position:absolute;left:0;top:50%;z-index:99;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.menu_right_view.data-v-7dc13ffa{padding:24rpx}.menu_right_view .menu_right_item.data-v-7dc13ffa{margin-bottom:30rpx}.menu_right_view .menu_right_item.data-v-7dc13ffa:last-child{min-height:100vh}.menu_right_title.data-v-7dc13ffa{font-family:PingFangSC,PingFang SC;font-size:28rpx;color:#222;font-weight:700;font-size:28rpx;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/confirm.js

@@ -0,0 +1 @@
+require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/confirm"],{6491:function(n,e,t){"use strict";t.r(e);var r=t("92df"),u=t.n(r);for(var a in r)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(a);e["default"]=u.a},"68df":function(n,e,t){"use strict";var r;t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},a=[]},"6e3d":function(n,e,t){"use strict";t.r(e);var r=t("68df"),u=t("6491");for(var a in u)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(a);t("731b");var f,c=t("f0c5"),i=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,"95fe1fe2",null,!1,r["a"],f);e["default"]=i.exports},"731b":function(n,e,t){"use strict";var r=t("fbaa"),u=t.n(r);u.a},"8a38":function(n,e,t){"use strict";(function(n,e){var r=t("4ea4");t("f93b");r(t("66fd"));var u=r(t("6e3d"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(u.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"92df":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{}},computed:{i18n:function(){return this.$t("index")}},methods:{orderinfo:function(){n.reLaunch({url:"/pageC/orderForm/orderForm"})},toindex:function(){n.switchTab({url:"/pages/index/index"})}}};e.default=t}).call(this,t("543d")["default"])},fbaa:function(n,e,t){}},[["8a38","common/runtime","common/vendor"]]]);

+ 5 - 0
unpackage/dist/build/mp-weixin/pageA/confirm.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "支付结果",
+  "enablePullDownRefresh": false,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/confirm.wxml

@@ -0,0 +1 @@
+<view style="background:#fff;height:100vh;" class="data-v-95fe1fe2"><view class="u-row-center data-v-95fe1fe2" style="display:flex;align-items:center;flex-direction:column;"><image style="width:70rpx;height:70rpx;margin-top:152rpx;" src="/pageA/static/images/success.png" mode class="data-v-95fe1fe2"></image><view class="success data-v-95fe1fe2">{{i18n.Paymentsuccess}}</view><view class="order data-v-95fe1fe2">{{i18n.MyOrder}}</view><view data-event-opts="{{[['tap',[['orderinfo',['$event']]]]]}}" class="look data-v-95fe1fe2" bindtap="__e">{{i18n.Vieworder}}</view><view data-event-opts="{{[['tap',[['toindex',['$event']]]]]}}" class="index data-v-95fe1fe2" bindtap="__e">{{i18n.Backtohomepage}}</view></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/confirm.wxss

@@ -0,0 +1 @@
+.success.data-v-95fe1fe2{font-family:PingFangTC;font-weight:600;font-size:32rpx;color:#222;line-height:44rpx;text-align:left;font-style:normal;margin-top:32rpx}.order.data-v-95fe1fe2{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:24rpx;color:#222;line-height:34rpx;text-align:left;font-style:normal;margin-top:16rpx}.look.data-v-95fe1fe2{width:310rpx;height:84rpx;background:#f83224;border-radius:42rpx;margin-top:100rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:30rpx;color:#fff;line-height:84rpx;text-align:center;font-style:normal}.index.data-v-95fe1fe2{width:310rpx;height:84rpx;border-radius:42rpx;border:2rpx solid hsla(0,0%,59.2%,.2);margin-top:36rpx;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:30rpx;color:#333;line-height:84rpx;text-align:center;font-style:normal}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/counter.js


+ 12 - 0
unpackage/dist/build/mp-weixin/pageA/counter.json

@@ -0,0 +1,12 @@
+{
+  "navigationBarTitleText": "物流报价计算器",
+  "enablePullDownRefresh": false,
+  "navigationBarTitleFontSize": 20,
+  "usingComponents": {
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "u-number-box": "/uview-ui/components/u-number-box/u-number-box",
+    "u-picker": "/uview-ui/components/u-picker/u-picker",
+    "u-popup": "/uview-ui/components/u-popup/u-popup",
+    "kj-flow": "/components/kj-flow/kj-flow"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/counter.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/counter.wxss


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/index.js

@@ -0,0 +1 @@
+require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/index"],{"0387":function(e,t,n){"use strict";var a=n("b61b"),r=n.n(a);r.a},"73d5":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement;e._self._c},c=[]},b00b:function(e,t,n){"use strict";n.r(t);var a=n("73d5"),r=n("e3c0");for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);n("0387");var o,u=n("f0c5"),i=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);t["default"]=i.exports},b61b:function(e,t,n){},cde8:function(e,t,n){"use strict";(function(e,t){var a=n("4ea4");n("f93b");a(n("66fd"));var r=a(n("b00b"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},e3c0:function(e,t,n){"use strict";n.r(t);var a=n("f05a"),r=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);t["default"]=r.a},f05a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{code:"",characters:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"}},methods:{generateRandomCode:function(){for(var e="",t=0;t<4;t++){var n=Math.floor(Math.random()*this.characters.length);e+=this.characters[n]}this.code=e,console.log(this.code)},generateCode:function(){this.generateRandomCode()}},mounted:function(){this.generateCode()}};t.default=a}},[["cde8","common/runtime","common/vendor"]]]);

+ 5 - 0
unpackage/dist/build/mp-weixin/pageA/index.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/index.wxml

@@ -0,0 +1 @@
+<view class="dynamic-code _div"><view class="code-container _div"><view data-event-opts="{{[['tap',[['generateCode',['$event']]]]]}}" class="code _div" bindtap="__e">{{code}}</view></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/index.wxss

@@ -0,0 +1 @@
+.dynamic-code{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh}.code-container{font-size:24px;font-weight:700;margin-bottom:20px;padding:10px 20px;border:2px solid #333;border-radius:5px}button{font-size:18px;padding:10px 20px;background-color:#007aff;color:#fff;border:none;border-radius:5px;cursor:pointer}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/logisticsinfo.js


+ 7 - 0
unpackage/dist/build/mp-weixin/pageA/logisticsinfo.json

@@ -0,0 +1,7 @@
+{
+  "navigationBarTitleText": "物流详情",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-parse": "/uview-ui/components/u-parse/u-parse"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/logisticsinfo.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/logisticsinfo.wxss

@@ -0,0 +1 @@
+.back.data-v-c002c5ce{width:750rpx;background:#f4f4f4;padding:20rpx 24rpx;box-sizing:border-box}.back .mode.data-v-c002c5ce{font-family:SFPro;font-weight:400;font-size:28rpx;color:#555;line-height:32rpx;text-align:center;font-style:normal}.back .explain.data-v-c002c5ce{font-family:PingFangSC,PingFang SC;font-weight:600;font-size:32rpx;color:#222;line-height:44rpx;text-align:left;font-style:normal}.back .top.data-v-c002c5ce{width:702rpx;background:#fff;border-radius:16rpx;padding:32rpx 20rpx;box-sizing:border-box}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/order.js


+ 8 - 0
unpackage/dist/build/mp-weixin/pageA/order.json

@@ -0,0 +1,8 @@
+{
+  "navigationBarTitleText": "填写订单",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "u-popup": "/uview-ui/components/u-popup/u-popup"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/order.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/order.wxss


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/payorder.js


+ 7 - 0
unpackage/dist/build/mp-weixin/pageA/payorder.json

@@ -0,0 +1,7 @@
+{
+  "navigationBarTitleText": "支付订单",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-parse": "/uview-ui/components/u-parse/u-parse"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/payorder.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/payorder.wxss

@@ -0,0 +1 @@
+.payment.data-v-691926f6{font-family:PingFangSC,PingFang SC;font-weight:500;font-size:24rpx;color:#222;line-height:34rpx;text-align:left;font-style:normal}.content.data-v-691926f6{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:20rpx;color:#777;line-height:28rpx;text-align:left;font-style:normal}.stateac.data-v-691926f6{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:24rpx;color:#ff1515;line-height:34rpx;text-align:left;font-style:normal}.unstate.data-v-691926f6{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:24rpx;color:#222;line-height:34rpx;text-align:left;font-style:normal}.confirm.data-v-691926f6{position:fixed;bottom:66rpx;width:702rpx;height:84rpx;background:#f83224;border-radius:44rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:32rpx;color:#fff;line-height:84rpx;text-align:center;font-style:normal}.payitem.data-v-691926f6{width:702rpx;height:140rpx;background:#fff;border-radius:12rpx;padding:34rpx 24rpx;box-sizing:border-box}.back.data-v-691926f6{padding:20rpx 24rpx;box-sizing:border-box}.back .topbox.data-v-691926f6{position:relative}.back .topbox .state.data-v-691926f6{background:#fff;border-radius:6rpx;padding:12rpx;box-sizing:border-box}.back .topbox .paysum.data-v-691926f6{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:28rpx;color:#222;line-height:40rpx;text-align:left;font-style:normal}.back .topbox .numbe.data-v-691926f6{font-family:HarmonyOS_Sans_Medium;font-size:28rpx;color:#000;line-height:38rpx;text-align:left;font-style:normal;margin-top:20rpx}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/productdetails.js


+ 18 - 0
unpackage/dist/build/mp-weixin/pageA/productdetails.json

@@ -0,0 +1,18 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "navigationStyle": "custom",
+  "usingComponents": {
+    "u-navbar": "/uview-ui/components/u-navbar/u-navbar",
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "u-tabs": "/uview-ui/components/u-tabs/u-tabs",
+    "uni-rate": "/uni_modules/uni-rate/components/uni-rate/uni-rate",
+    "u-parse": "/uview-ui/components/u-parse/u-parse",
+    "u-popup": "/uview-ui/components/u-popup/u-popup",
+    "u-number-box": "/uview-ui/components/u-number-box/u-number-box",
+    "l-painter": "/uni_modules/lime-painter/components/l-painter/l-painter",
+    "l-painter-image": "/uni_modules/lime-painter/components/l-painter-image/l-painter-image",
+    "l-painter-text": "/uni_modules/lime-painter/components/l-painter-text/l-painter-text",
+    "l-painter-qrcode": "/uni_modules/lime-painter/components/l-painter-qrcode/l-painter-qrcode"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/productdetails.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/productdetails.wxss


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/rule/rule.js


+ 5 - 0
unpackage/dist/build/mp-weixin/pageA/rule/rule.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "usingComponents": {}
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/rule/rule.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/rule/rule.wxss

@@ -0,0 +1 @@
+.avatar{width:60%;float:left}.avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload:hover{border-color:#409eff}.avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatara{width:178px;height:178px;display:block}.wp-80{width:80%}.wp-47{width:47%}.mg-auto{margin:0 auto}.pd-25{padding:25rpx}.pd-b-20{padding:0 0 20rpx}.pd-tb-40{padding:40rpx 0}.bg-fff{background-color:#fff}.radius5{border-radius:5rpx}.radius50{border-radius:50rpx}.flex-wrap{flex-wrap:wrap}.fss{display:flex;justify-content:flex-start;align-items:flex-start}.fbc{display:flex;justify-content:space-between;align-items:center}.fcc{display:flex;justify-content:center;align-items:center}.safe_area{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.dra_position{position:absolute;top:0;bottom:0;width:100%;height:auto}.scroll-view-box{font-size:28rpx;bottom:84rpx}.dra_close{box-sizing:border-box;position:absolute;bottom:0;width:100%;padding:15rpx 30rpx 20rpx}.dra_close > view{height:68rpx;line-height:68rpx;text-align:center}.dra_close .btns{color:#a12a30;border:1px solid #a12a30}.dra_close .btns1{color:#fff;background-color:#a12a30}.scroll-view-div > view:nth-child(3n-1){margin:0 10rpx}.scroll-view-div > view{width:32%;height:72rpx;margin-bottom:16rpx;text-align:center;background-color:#f5f5f5}.scroll-view-div .active{color:#ff000b;background-color:#fff4f3}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/service/service.js


+ 10 - 0
unpackage/dist/build/mp-weixin/pageA/service/service.json

@@ -0,0 +1,10 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "navigationStyle": "custom",
+  "usingComponents": {
+    "u-navbar": "/uview-ui/components/u-navbar/u-navbar",
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "kj-chat": "/components/kj-chat/kj-chat"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/service/service.wxml


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/service/service.wxss


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/shoplist.js


+ 9 - 0
unpackage/dist/build/mp-weixin/pageA/shoplist.json

@@ -0,0 +1,9 @@
+{
+  "navigationBarTitleText": "",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-tabs": "/uview-ui/components/u-tabs/u-tabs",
+    "u-icon": "/uview-ui/components/u-icon/u-icon",
+    "liu-waterfall": "/uni_modules/liu-waterfall/components/liu-waterfall/liu-waterfall"
+  }
+}

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/shoplist.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/shoplist.wxss

@@ -0,0 +1 @@
+.box.data-v-1141e5a4{width:750rpx;min-height:1360rpx;background:#fff;border-radius:28rpx 28rpx 0rpx 0rpx;padding:38rpx 20rpx 20rpx;box-sizing:border-box;margin-top:20rpx}.pop.data-v-1141e5a4{width:750rpx;background:#fff;padding:36rpx 32rpx;box-sizing:border-box}.pop .btn1.data-v-1141e5a4{width:702rpx;height:84rpx;background:rgba(248,50,36,.1);border-radius:42rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:32rpx;color:#f83224;line-height:84rpx;text-align:center;font-style:normal;border-radius:42rpx 0 0 42rpx}.pop .btn2.data-v-1141e5a4{width:702rpx;height:84rpx;background:#f83224;border-radius:42rpx;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:32rpx;color:#fff;line-height:84rpx;text-align:center;font-style:normal;border-radius:0rpx 42rpx 42rpx 0}.pop .item.data-v-1141e5a4{width:206rpx;height:64rpx;background:#f4f4f4;border-radius:36rpx;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:24rpx;color:#131415;line-height:64rpx;text-align:center;font-style:normal;margin-top:26rpx}.pop .acitem.data-v-1141e5a4{width:206rpx;height:64rpx;font-family:PingFangSC,PingFang SC;font-weight:400;border-radius:36rpx;font-size:24rpx;color:#f83224;line-height:64rpx;text-align:center;font-style:normal;margin-top:26rpx;background:rgba(248,50,36,.1);border:1rpx solid #f83224;box-sizing:border-box}.pop .title.data-v-1141e5a4{font-family:PingFangSC,PingFang SC;font-weight:500;font-size:26rpx;color:#131415;line-height:36rpx;text-align:left;font-style:normal;margin-bottom:24rpx}.pop .input.data-v-1141e5a4{width:312rpx;height:64rpx;background:#f4f4f4;border-radius:36rpx}

+ 6 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.js

@@ -0,0 +1,6 @@
+require('./common/vendor.js');
+wx.createComponent({
+    generic:true,
+    props: {scroll_list:{type:null},language:{type:null}},
+    render: function(){}
+})

+ 7 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.json

@@ -0,0 +1,7 @@
+{
+  "component": true,
+  "usingComponents": {
+    "shoptype-zh-sliding-menu-default": "/pageA/shoptype-zh-sliding-menu-default",
+    "zh-sliding-menu": "/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.wxml

@@ -0,0 +1 @@
+<view class="goods data-v-44335539"><block wx:for="{{scroll_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['clickGoods',['$0',index],[[['scroll_list','',index]]]]]]]}}" class="goods_item data-v-44335539" bindtap="__e"><image class="goods_item_img data-v-44335539" src="{{item.image}}" mode></image><block wx:if="{{language=='zh-CN'}}"><view class="goods_item_name data-v-44335539">{{''+item.name_cn+''}}</view></block><block wx:if="{{language=='en-US'}}"><view class="goods_item_name data-v-44335539">{{''+item.name_en+''}}</view></block><block wx:if="{{language=='es-ES'}}"><view class="goods_item_name data-v-44335539">{{''+item.name_es+''}}</view></block><block wx:if="{{language=='it-IT'}}"><view class="goods_item_name data-v-44335539">{{''+item.name_ita+''}}</view></block></view></block></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype-zh-sliding-menu-default.wxss

@@ -0,0 +1 @@
+@import "./shoptype.wxss"

文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype.js


+ 8 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype.json

@@ -0,0 +1,8 @@
+{
+  "navigationBarTitleText": "商品分类",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "shoptype-zh-sliding-menu-default": "/pageA/shoptype-zh-sliding-menu-default",
+    "zh-sliding-menu": "/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype.wxml

@@ -0,0 +1 @@
+<view class="data-v-44335539"><zh-sliding-menu generic:scoped-slots-default="shoptype-zh-sliding-menu-default" data-vue-generic="scoped" vue-id="4583fe6a-1" tabbar="{{list}}" scrollH="{{scrollH}}" data-ref="zhSlidingMenu" class="data-v-44335539 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"></zh-sliding-menu></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pageA/shoptype.wxss

@@ -0,0 +1 @@
+.goods.data-v-44335539{display:flex;flex-wrap:wrap}.goods .goods_item.data-v-44335539{width:33.3%;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:20rpx}.goods .goods_item .goods_item_img.data-v-44335539{width:120rpx;height:120rpx}.goods .goods_item .goods_item_name.data-v-44335539{color:#333;font-size:28rpx;font-weight:500rpx;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;word-break:break-all;text-align:center}

二進制
unpackage/dist/build/mp-weixin/pageA/static/images/Free1.png


二進制
unpackage/dist/build/mp-weixin/pageA/static/images/Free2.png


二進制
unpackage/dist/build/mp-weixin/pageA/static/images/Free3.png


二進制
unpackage/dist/build/mp-weixin/pageA/static/images/Million.png


二進制
unpackage/dist/build/mp-weixin/pageA/static/images/Millones1.png


部分文件因文件數量過多而無法顯示