| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | <!-- | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |  * @Descripttion: | 
					
						
							|  |  |  |  * @version: | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |  * @Author: kBank | 
					
						
							|  |  |  |  * @Date: 2022-11-21 15:11:22 | 
					
						
							|  |  |  | --> | 
					
						
							|  |  |  | <template> | 
					
						
							|  |  |  |   <view class="content"> | 
					
						
							|  |  |  |     <view class="context"> | 
					
						
							|  |  |  |       <view | 
					
						
							|  |  |  |         class="kuang" | 
					
						
							|  |  |  |         v-for="(item, index) in shopCarList" | 
					
						
							|  |  |  |         :key="item.specialArea" | 
					
						
							|  |  |  |       > | 
					
						
							|  |  |  |         <view class="kuang_t"> | 
					
						
							|  |  |  |           <u-checkbox-group | 
					
						
							|  |  |  |             v-model="item.isSelectAll" | 
					
						
							|  |  |  |             @change="checkAll(index, $event)" | 
					
						
							|  |  |  |           > | 
					
						
							|  |  |  |             <u-checkbox | 
					
						
							| 
									
										
										
										
											2025-04-22 17:47:02 +08:00
										 |  |  |               activeColor="#005BAC" | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |               shape="circle" | 
					
						
							|  |  |  |               :name="item.specialArea" | 
					
						
							|  |  |  |             > | 
					
						
							|  |  |  |             </u-checkbox> | 
					
						
							|  |  |  |             {{ item.specialAreaVal }} | 
					
						
							|  |  |  |           </u-checkbox-group> | 
					
						
							|  |  |  |         </view> | 
					
						
							|  |  |  |         <u-checkbox-group | 
					
						
							|  |  |  |           v-model="item.isSelect" | 
					
						
							|  |  |  |           shape="circle" | 
					
						
							|  |  |  |           placement="column" | 
					
						
							|  |  |  |           @change="checkboxChange($event, item)" | 
					
						
							|  |  |  |         > | 
					
						
							|  |  |  |           <view | 
					
						
							|  |  |  |             v-for="(ctem, cndex) in item.shoppingCartList" | 
					
						
							|  |  |  |             :key="cndex" | 
					
						
							|  |  |  |             class="goodList" | 
					
						
							|  |  |  |           > | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             <u-checkbox | 
					
						
							|  |  |  |               activeColor="#005BAC" | 
					
						
							|  |  |  |               :name="ctem.shoppingId" | 
					
						
							|  |  |  |             ></u-checkbox> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             <view class="goodList_i"> | 
					
						
							|  |  |  |               <view class="goodList_it"> | 
					
						
							|  |  |  |                 <img :src="ctem.cover1" class="cover" alt="" /> | 
					
						
							|  |  |  |                 <view class="goodList_ir"> | 
					
						
							|  |  |  |                   <view class="tit1"> | 
					
						
							|  |  |  |                     {{ ctem.waresName }} | 
					
						
							|  |  |  |                   </view> | 
					
						
							|  |  |  |                   <view class="goodList_ib"> | 
					
						
							|  |  |  |                     <view class="tit2"> | 
					
						
							|  |  |  |                       {{ ctem.waresPrice | numberToCurrency | isLocal }} | 
					
						
							|  |  |  |                     </view> | 
					
						
							|  |  |  |                     <view class="tit3" | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                       >业绩: | 
					
						
							|  |  |  |                       {{ ctem.achieve | numberToCurrency | isLocal }}</view | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                     > | 
					
						
							|  |  |  |                   </view> | 
					
						
							|  |  |  |                 </view> | 
					
						
							|  |  |  |               </view> | 
					
						
							|  |  |  |               <view | 
					
						
							|  |  |  |                 v-for="(stem, sndex) in ctem.productParams" | 
					
						
							|  |  |  |                 :key="sndex" | 
					
						
							|  |  |  |                 class="product_i" | 
					
						
							|  |  |  |               > | 
					
						
							|  |  |  |                 <img :src="stem.cover" alt="" /> | 
					
						
							|  |  |  |                 <view class="product_il"> | 
					
						
							|  |  |  |                   <view class="tit4" | 
					
						
							|  |  |  |                     >{{ stem.productName | 
					
						
							|  |  |  |                     }}{{ | 
					
						
							|  |  |  |                       (stem.waresItemsParamsList.length > 0 && | 
					
						
							|  |  |  |                         stem.waresItemsParamsList[0].specsName) || | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                       '' | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                     }}</view | 
					
						
							|  |  |  |                   > | 
					
						
							|  |  |  |                   <!-- <view class="tit4"></view> --> | 
					
						
							|  |  |  |                   <view class="tit5" | 
					
						
							|  |  |  |                     >x{{ | 
					
						
							|  |  |  |                       (stem.waresItemsParamsList.length > 0 && | 
					
						
							|  |  |  |                         stem.waresItemsParamsList[0].quantity) || | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                       '' | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                     }}</view | 
					
						
							|  |  |  |                   > | 
					
						
							|  |  |  |                 </view> | 
					
						
							|  |  |  |               </view> | 
					
						
							|  |  |  |               <view class="goodsSet"> | 
					
						
							|  |  |  |                 <u-number-box | 
					
						
							|  |  |  |                   :min="1" | 
					
						
							|  |  |  |                   @change="changeCar($event, item, ctem)" | 
					
						
							|  |  |  |                   v-model="ctem.number" | 
					
						
							|  |  |  |                 ></u-number-box> | 
					
						
							|  |  |  |                 <u-icon | 
					
						
							|  |  |  |                   name="trash" | 
					
						
							|  |  |  |                   @tap="delOne(ctem)" | 
					
						
							|  |  |  |                   size="26" | 
					
						
							|  |  |  |                   color="#BFBFBF" | 
					
						
							|  |  |  |                 ></u-icon> | 
					
						
							|  |  |  |               </view> | 
					
						
							|  |  |  |             </view> | 
					
						
							|  |  |  |           </view> | 
					
						
							|  |  |  |         </u-checkbox-group> | 
					
						
							|  |  |  |       </view> | 
					
						
							|  |  |  |     </view> | 
					
						
							|  |  |  |     <view class="kong_t"> | 
					
						
							|  |  |  |       <img | 
					
						
							|  |  |  |         class="kong" | 
					
						
							|  |  |  |         v-show="shopCarList.length == 0" | 
					
						
							|  |  |  |         src="@/static/images/kong.png" | 
					
						
							|  |  |  |         alt="" | 
					
						
							|  |  |  |     /></view> | 
					
						
							|  |  |  |     <view class="zhan"></view> | 
					
						
							|  |  |  |     <!-- 底部 --> | 
					
						
							|  |  |  |     <view class="footer_f"> | 
					
						
							|  |  |  |       <view class="footer"> | 
					
						
							|  |  |  |         <view class="footer_l"> | 
					
						
							|  |  |  |           <view class="footer_ll"> | 
					
						
							|  |  |  |             <u-icon size="36" name="shopping-cart"> </u-icon> | 
					
						
							|  |  |  |             <view class="footer_lr"> | 
					
						
							|  |  |  |               <view class="r1">{{ | 
					
						
							|  |  |  |                 totalPrice | numberToCurrency | isLocal | 
					
						
							|  |  |  |               }}</view> | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |               <view class="l1">业绩:{{ totalAchive | numberToCurrency }}</view> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             </view> | 
					
						
							|  |  |  |           </view> | 
					
						
							|  |  |  |         </view> | 
					
						
							|  |  |  |         <view class="footer_r"> | 
					
						
							|  |  |  |           <u-button | 
					
						
							|  |  |  |             type="success" | 
					
						
							|  |  |  |             class="uBtn" | 
					
						
							|  |  |  |             shape="circle" | 
					
						
							|  |  |  |             :loading="isLoading" | 
					
						
							| 
									
										
										
										
											2025-04-01 21:35:18 +08:00
										 |  |  |             :loadingText="'购买中'" | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             @tap="goBuy" | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |             :disabled="checkoutDisabled" | 
					
						
							| 
									
										
										
										
											2025-04-22 17:47:02 +08:00
										 |  |  |             color="#005BAC" | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |             >去结算 | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           </u-button> | 
					
						
							|  |  |  |         </view> | 
					
						
							|  |  |  |       </view> | 
					
						
							|  |  |  |     </view> | 
					
						
							| 
									
										
										
										
											2025-09-02 16:34:45 +08:00
										 |  |  |     <cl-tabbar :current="2"></cl-tabbar> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     <view class="pp"> | 
					
						
							|  |  |  |       <u-popup | 
					
						
							|  |  |  |         :show="dialogVisible2" | 
					
						
							|  |  |  |         :closeable="true" | 
					
						
							|  |  |  |         :closeOnClickOverlay="false" | 
					
						
							|  |  |  |         mode="center" | 
					
						
							|  |  |  |         @close="dialogVisible2 = false" | 
					
						
							|  |  |  |       > | 
					
						
							|  |  |  |         <view class="popList"> | 
					
						
							|  |  |  |           <u-checkbox-group | 
					
						
							|  |  |  |             v-model="allTable" | 
					
						
							|  |  |  |             placement="column" | 
					
						
							|  |  |  |             @change="handleSelectionChange" | 
					
						
							|  |  |  |           > | 
					
						
							|  |  |  |             <view class="popList_i" v-for="item in tableData" :key="item.pkId"> | 
					
						
							|  |  |  |               <u-checkbox :name="item.pkId"> </u-checkbox> | 
					
						
							|  |  |  |               <view class="popList_ii"> | 
					
						
							|  |  |  |                 <img :src="item.cover1" alt="" /> | 
					
						
							|  |  |  |                 <view> | 
					
						
							|  |  |  |                   <view>{{ item.waresName }}</view> | 
					
						
							|  |  |  |                   <view>{{ item.waresCode }}</view> | 
					
						
							|  |  |  |                   <view>{{ item.waresPrice }}</view> | 
					
						
							|  |  |  |                   <!-- <view>{{ item.quantity }}</view> --> | 
					
						
							|  |  |  |                   <u-number-box v-model="item.quantity" :min="1"></u-number-box> | 
					
						
							|  |  |  |                 </view> | 
					
						
							|  |  |  |               </view> | 
					
						
							|  |  |  |             </view> | 
					
						
							|  |  |  |           </u-checkbox-group> | 
					
						
							|  |  |  |           <view class="popBtm"> | 
					
						
							|  |  |  |             <view>合计:{{ total | toThousandthAndKeepDecimal }}</view> | 
					
						
							|  |  |  |             <view class="que" @click="tableTrue">确定</view> | 
					
						
							|  |  |  |           </view> | 
					
						
							|  |  |  |         </view> | 
					
						
							|  |  |  |       </u-popup> | 
					
						
							|  |  |  |     </view> | 
					
						
							|  |  |  |   </view> | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  | import * as api from '@/config/goods' | 
					
						
							|  |  |  | import clTabbar from '@/components/cl-tabbar.vue' | 
					
						
							| 
									
										
										
										
											2025-06-09 17:22:32 +08:00
										 |  |  | import { | 
					
						
							|  |  |  |   REGIEST_AREA, | 
					
						
							|  |  |  |   UPGRADE_AREA, | 
					
						
							|  |  |  |   REPURCHASE_AREA, | 
					
						
							|  |  |  |   REISSUE_AREA, | 
					
						
							|  |  |  | } from '@/util/specialAreaMap' | 
					
						
							|  |  |  | import { MEMBER_SIGN } from '@/util/common' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | export default { | 
					
						
							|  |  |  |   components: { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |     'cl-tabbar': clTabbar, | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   }, | 
					
						
							|  |  |  |   data() { | 
					
						
							|  |  |  |     return { | 
					
						
							|  |  |  |       isSelectAll: [], | 
					
						
							|  |  |  |       shopCarList: [], | 
					
						
							|  |  |  |       isLoading: false, | 
					
						
							|  |  |  |       goodsCheck: [], | 
					
						
							|  |  |  |       totalPrice: 0, | 
					
						
							|  |  |  |       totalAchive: 0, | 
					
						
							|  |  |  |       num: 0, | 
					
						
							|  |  |  |       pkCountry: 1, | 
					
						
							|  |  |  |       tableData: [], | 
					
						
							|  |  |  |       dialogVisible2: false, | 
					
						
							|  |  |  |       selTable: [], | 
					
						
							|  |  |  |       allTable: [], | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       total: '0.00', | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   }, | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |   computed: { | 
					
						
							|  |  |  |     checkoutDisabled() { | 
					
						
							|  |  |  |       return this.shopCarList.filter(item => item.isSelected).length !== 1 | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |   }, | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   watch: { | 
					
						
							|  |  |  |     selTable: { | 
					
						
							|  |  |  |       handler(n, o) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         let total = 0 | 
					
						
							|  |  |  |         n.forEach(item => { | 
					
						
							|  |  |  |           total += Number(item.waresPrice) * item.quantity | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         this.total = total | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       }, | 
					
						
							|  |  |  |       deep: true, | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   onLoad(options) { | 
					
						
							|  |  |  |     // this.getCarList()
 | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   onShow() { | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |     this.getCarList() | 
					
						
							|  |  |  |     this.initCarList() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   }, | 
					
						
							|  |  |  |   methods: { | 
					
						
							|  |  |  |     tableTrue() { | 
					
						
							|  |  |  |       if (this.selTable.length > 0) { | 
					
						
							|  |  |  |         let a = { | 
					
						
							|  |  |  |           specialArea: this.goodsCheck[0].specialArea, | 
					
						
							|  |  |  |           orderItemsParams: [], | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         } | 
					
						
							|  |  |  |         a.orderItemsParams = this.selTable.map(item => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           return { | 
					
						
							|  |  |  |             waresCode: item.waresCode, | 
					
						
							|  |  |  |             quantity: item.quantity, | 
					
						
							|  |  |  |             waresItemsParamList: item.productGroup, | 
					
						
							|  |  |  |             energySilo: 1, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           } | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         a.orderItemsParams.forEach(item => { | 
					
						
							|  |  |  |           item.waresItemsParamList = item.waresItemsParamList.map(ctem => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             return { | 
					
						
							|  |  |  |               pkWaresSpecsSku: ctem.pkSkuId, | 
					
						
							|  |  |  |               quantity: ctem.quantity, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             } | 
					
						
							|  |  |  |           }) | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         api.energyShopSilo(a).then(res => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           if (res.code == 200) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             this.dialogVisible2 = false | 
					
						
							|  |  |  |             let shoppArr = this.goodsCheck[0].orderItemsParams.map(item => { | 
					
						
							|  |  |  |               return item.shoppingId | 
					
						
							|  |  |  |             }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             if (this.goodsCheck[0].specialArea == 1) { | 
					
						
							|  |  |  |               uni.navigateTo({ | 
					
						
							|  |  |  |                 url: | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '/pages/regiest/index?specialArea=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   this.goodsCheck[0].specialArea + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '&shoppArr=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   JSON.stringify(shoppArr) + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '&selTable=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   JSON.stringify(this.selTable), | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |               }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             } else if (this.goodsCheck[0].specialArea == 2) { | 
					
						
							|  |  |  |               uni.navigateTo({ | 
					
						
							|  |  |  |                 url: | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '/pages/other/index?specialArea=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   this.goodsCheck[0].specialArea + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '&shoppArr=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   JSON.stringify(shoppArr) + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   '&selTable=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                   JSON.stringify(this.selTable), | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |               }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } else { | 
					
						
							|  |  |  |         uni.showToast({ | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           title: '请选择赠品', | 
					
						
							|  |  |  |           icon: 'none', | 
					
						
							|  |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     handleSelectionChange(val) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       let arr = [] | 
					
						
							|  |  |  |       this.tableData.forEach(item => { | 
					
						
							|  |  |  |         val.forEach(ctem => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           if (item.pkId == ctem) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             arr.push(item) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       this.selTable = arr | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     }, | 
					
						
							|  |  |  |     checkAll(index, e) { | 
					
						
							|  |  |  |       if (e.length > 0) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         this.$set(this.shopCarList[index], 'isSelected', true) | 
					
						
							|  |  |  |         this.shopCarList[index].shoppingCartList.forEach(ctem => { | 
					
						
							|  |  |  |           this.shopCarList[index].isSelect.push(ctem.shoppingId) | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         this.checkArea() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } else { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         this.$set(this.shopCarList[index], 'isSelected', false) | 
					
						
							|  |  |  |         this.shopCarList[index].shoppingCartList.forEach(ctem => { | 
					
						
							|  |  |  |           this.$set(this.shopCarList[index], 'isSelect', []) | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         this.checkArea() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     goBuy() { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       let shoppArr = this.goodsCheck[0].orderItemsParams.map(item => { | 
					
						
							|  |  |  |         return item.shoppingId | 
					
						
							|  |  |  |       }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       if ( | 
					
						
							| 
									
										
										
										
											2025-06-09 17:22:32 +08:00
										 |  |  |         [REGIEST_AREA.id, UPGRADE_AREA.id].includes( | 
					
						
							|  |  |  |           this.goodsCheck[0].specialArea | 
					
						
							|  |  |  |         ) | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       ) { | 
					
						
							|  |  |  |         let deleteList = [] | 
					
						
							|  |  |  |         shoppArr.forEach(item => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           deleteList.push({ | 
					
						
							|  |  |  |             shoppingId: item, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           }) | 
					
						
							|  |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-06-11 11:24:56 +08:00
										 |  |  |         const area = | 
					
						
							|  |  |  |           this.goodsCheck[0].specialArea == REGIEST_AREA.id | 
					
						
							|  |  |  |             ? 'regiest' | 
					
						
							|  |  |  |             : 'upgrade' | 
					
						
							| 
									
										
										
										
											2025-04-07 11:21:11 +08:00
										 |  |  |         uni.navigateTo({ | 
					
						
							|  |  |  |           url: | 
					
						
							| 
									
										
										
										
											2025-06-11 11:24:56 +08:00
										 |  |  |             `/pages/${area}/index?specialArea=` + | 
					
						
							| 
									
										
										
										
											2025-04-07 11:21:11 +08:00
										 |  |  |             this.goodsCheck[0].specialArea + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             '&shoppArr=' + | 
					
						
							| 
									
										
										
										
											2025-04-07 11:21:11 +08:00
										 |  |  |             JSON.stringify(shoppArr), | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-06-09 17:22:32 +08:00
										 |  |  |       } else { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |         uni.navigateTo({ | 
					
						
							|  |  |  |           url: | 
					
						
							| 
									
										
										
										
											2025-06-09 17:22:32 +08:00
										 |  |  |             '/pages/other/index?specialArea=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             this.goodsCheck[0].specialArea + | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             '&shoppArr=' + | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             JSON.stringify(shoppArr), | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     // 修改数量
 | 
					
						
							|  |  |  |     changeCar(e, item, ctem) { | 
					
						
							|  |  |  |       api | 
					
						
							|  |  |  |         .plusReduceShopping({ | 
					
						
							|  |  |  |           shoppingId: ctem.shoppingId, | 
					
						
							|  |  |  |           number: e.value, | 
					
						
							|  |  |  |           specialArea: item.specialArea, | 
					
						
							|  |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         .then(res => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           if (res.code == 200) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             this.checkArea() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           } else { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             this.getCarList() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           this.$store.dispatch('getCarLength') | 
					
						
							|  |  |  |         }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     }, | 
					
						
							|  |  |  |     checkArea() { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       let arr = [] | 
					
						
							|  |  |  |       this.shopCarList.forEach(item => { | 
					
						
							|  |  |  |         item.shoppingCartList.forEach(ctem => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           if (item.isSelect.indexOf(ctem.shoppingId) > -1) { | 
					
						
							|  |  |  |             arr.push({ | 
					
						
							|  |  |  |               specialArea: item.specialArea, | 
					
						
							|  |  |  |               orderItemsParams: [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   waresCode: ctem.waresCode, | 
					
						
							|  |  |  |                   shoppingId: ctem.shoppingId, | 
					
						
							|  |  |  |                   waresName: ctem.waresName, | 
					
						
							|  |  |  |                   achieve: ctem.achieve, | 
					
						
							|  |  |  |                   waresPrice: ctem.waresPrice, | 
					
						
							|  |  |  |                   cover1: ctem.cover1, | 
					
						
							|  |  |  |                   quantity: ctem.number, | 
					
						
							|  |  |  |                   waresItemsParamList: ctem.waresItemsParamList, | 
					
						
							|  |  |  |                   waresSkuList: ctem.waresSkuList || [], | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                   source: ctem.source || '', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |             }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							|  |  |  |       }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       const arrayHashmap = arr.reduce((obj, item) => { | 
					
						
							|  |  |  |         obj[item.specialArea] | 
					
						
							|  |  |  |           ? obj[item.specialArea].orderItemsParams.push( | 
					
						
							|  |  |  |               ...item.orderItemsParams | 
					
						
							|  |  |  |             ) | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           : (obj[item.specialArea] = item) | 
					
						
							|  |  |  |         return obj | 
					
						
							|  |  |  |       }, {}) | 
					
						
							|  |  |  |       this.goodsCheck = Object.values(arrayHashmap) | 
					
						
							|  |  |  |       this.checkPrice() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     }, | 
					
						
							|  |  |  |     // 计算价格
 | 
					
						
							|  |  |  |     checkPrice() { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       let totalPrice = 0 | 
					
						
							|  |  |  |       let totalAchive = 0 | 
					
						
							|  |  |  |       let num = 0 | 
					
						
							|  |  |  |       this.goodsCheck.forEach(item => { | 
					
						
							|  |  |  |         item.orderItemsParams.forEach(ctem => { | 
					
						
							|  |  |  |           totalPrice += parseFloat(ctem.waresPrice * ctem.quantity) | 
					
						
							|  |  |  |           totalAchive += parseFloat(ctem.achieve * ctem.quantity) | 
					
						
							|  |  |  |           num += ctem.quantity | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |       }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       // if (this.goodsCheck.length != 1) {
 | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       this.totalPrice = totalPrice.toFixed(2) | 
					
						
							|  |  |  |       this.totalAchive = totalAchive.toFixed(2) | 
					
						
							|  |  |  |       this.num = num | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       // }
 | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     checkboxChange(e, item) { | 
					
						
							|  |  |  |       if (e.length > 0) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         this.$set(item, 'isSelected', true) | 
					
						
							|  |  |  |         this.$set(item, 'isSelect', e) | 
					
						
							|  |  |  |         this.checkArea() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } else { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         this.$set(item, 'isSelected', false) | 
					
						
							|  |  |  |         this.$set(item, 'isSelect', e) | 
					
						
							|  |  |  |         this.checkArea() | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     // 单删
 | 
					
						
							|  |  |  |     delOne(ctem) { | 
					
						
							|  |  |  |       let deleteList = [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           shoppingId: ctem.shoppingId, | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       ] | 
					
						
							|  |  |  |       api.batchDelShopping({ deleteList: deleteList }).then(res => { | 
					
						
							|  |  |  |         this.getCarList() | 
					
						
							|  |  |  |         this.$store.dispatch('getCarLength') | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |         // this.getShoppingCount()
 | 
					
						
							|  |  |  |         uni.showToast({ | 
					
						
							| 
									
										
										
										
											2025-04-01 21:35:18 +08:00
										 |  |  |           title: '删除成功', | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           icon: 'none', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           duration: 1500, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         }) | 
					
						
							|  |  |  |       }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-04-10 09:20:26 +08:00
										 |  |  |     initCarList() { | 
					
						
							|  |  |  |       this.shopCarList = [] | 
					
						
							|  |  |  |       this.goodsCheck = [] | 
					
						
							|  |  |  |       this.totalPrice = 0 | 
					
						
							|  |  |  |       this.totalAchive = 0 | 
					
						
							|  |  |  |       this.num = 0 | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     getCarList() { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |       api.getShopping().then(res => { | 
					
						
							|  |  |  |         res.data.forEach(item => { | 
					
						
							|  |  |  |           item.isSelected = false | 
					
						
							|  |  |  |           item.isSelect = [] | 
					
						
							|  |  |  |           item.isSelectAll = [] | 
					
						
							|  |  |  |           item.shoppingCartList.forEach(ctem => { | 
					
						
							|  |  |  |             ctem.waresItemsParamList = [] | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             if (item.specialArea != 21) { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |               ctem.productParams.forEach(stem => { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                 if (stem.waresItemsParamsList.length > 0) { | 
					
						
							|  |  |  |                   stem.waresItemsParamsList[0].pkWaresSpecsSku = | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |                     stem.waresItemsParamsList[0].pkSkuId | 
					
						
							|  |  |  |                   stem.waresItemsParamsList[0].productName = stem.productName | 
					
						
							|  |  |  |                   ctem.waresItemsParamList.push(stem.waresItemsParamsList[0]) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |                 } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |               }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           }) | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         this.shopCarList = res.data | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |         console.log( | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |           '%c [ this.shopCarList ]-337', | 
					
						
							|  |  |  |           'font-size:13px; background:#5f9b00; color:#a3df44;', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |           this.shopCarList | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         ) | 
					
						
							|  |  |  |       }) | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     }, | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <style lang="scss" scoped> | 
					
						
							|  |  |  | .content { | 
					
						
							|  |  |  |   background: #f9f9f9; | 
					
						
							|  |  |  |   height: 100vh; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .context { | 
					
						
							|  |  |  |   // padding: 24rpx;
 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .kuang { | 
					
						
							|  |  |  |   // padding: 20rpx 40rpx;
 | 
					
						
							|  |  |  |   background: #fff; | 
					
						
							|  |  |  |   box-shadow: 0px 2px 10px 0px rgba(204, 204, 204, 0.5); | 
					
						
							|  |  |  |   border-top: 20rpx solid #f6f5f3; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .kuang_t { | 
					
						
							|  |  |  |   border-bottom: 1px solid #eeeeee; | 
					
						
							|  |  |  |   padding: 40rpx 24rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .goodList { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   padding: 0 20rpx; | 
					
						
							|  |  |  |   border-bottom: 1px solid #eee; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .cover { | 
					
						
							|  |  |  |   width: 136rpx; | 
					
						
							|  |  |  |   height: 136rpx; | 
					
						
							|  |  |  |   background: #ffffff; | 
					
						
							|  |  |  |   border: 1px solid #eeeeee; | 
					
						
							|  |  |  |   border-radius: 10rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .goodList_i { | 
					
						
							|  |  |  |   flex: 1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .goodList_it { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   padding: 20rpx 0; | 
					
						
							|  |  |  |   .goodList_ir { | 
					
						
							|  |  |  |     margin-left: 20rpx; | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     flex-direction: column; | 
					
						
							|  |  |  |     justify-content: space-between; | 
					
						
							|  |  |  |     .goodList_ib { | 
					
						
							|  |  |  |       display: flex; | 
					
						
							|  |  |  |       align-items: center; | 
					
						
							|  |  |  |       justify-content: space-between; | 
					
						
							|  |  |  |       img { | 
					
						
							|  |  |  |         width: 56rpx; | 
					
						
							|  |  |  |         height: 56rpx; | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .goodsSet { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   justify-content: space-between; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   padding: 26rpx 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .product_i { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   background: #f6f6f6; | 
					
						
							|  |  |  |   padding: 15rpx; | 
					
						
							|  |  |  |   .product_il { | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							|  |  |  |     justify-content: space-between; | 
					
						
							|  |  |  |     margin-left: 20rpx; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   img { | 
					
						
							|  |  |  |     width: 50rpx; | 
					
						
							|  |  |  |     height: 50rpx; | 
					
						
							|  |  |  |     background: #ffffff; | 
					
						
							|  |  |  |     border: 1px solid #dddddd; | 
					
						
							|  |  |  |     border-radius: 10rpx; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .tit1 { | 
					
						
							|  |  |  |   font-size: 28rpx; | 
					
						
							|  |  |  |   font-family: Source Han Sans CN; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							|  |  |  |   color: #333333; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .tit2 { | 
					
						
							|  |  |  |   font-size: 36rpx; | 
					
						
							|  |  |  |   font-family: Source Han Sans CN; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |   color: #f82c1a; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .tit3 { | 
					
						
							|  |  |  |   font-size: 26rpx; | 
					
						
							|  |  |  |   font-family: Source Han Sans CN; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							|  |  |  |   color: #999999; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .tit4 { | 
					
						
							|  |  |  |   font-size: 28rpx; | 
					
						
							|  |  |  |   font-family: PingFang SC; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							|  |  |  |   color: #333333; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .tit5 { | 
					
						
							|  |  |  |   font-size: 24rpx; | 
					
						
							|  |  |  |   font-family: Source Han Sans CN; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							|  |  |  |   color: #999999; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .footer_f { | 
					
						
							|  |  |  |   position: fixed; | 
					
						
							|  |  |  |   bottom: 80px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   z-index: 1; | 
					
						
							|  |  |  |   box-shadow: 0px -2px 20px 0px rgba(204, 204, 204, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .footer { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   justify-content: space-between; | 
					
						
							|  |  |  |   padding: 20rpx 24rpx; | 
					
						
							|  |  |  |   background: #fff; | 
					
						
							|  |  |  |   .footer_l { | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     .footer_ll { | 
					
						
							|  |  |  |       position: relative; | 
					
						
							|  |  |  |       display: flex; | 
					
						
							|  |  |  |       align-items: center; | 
					
						
							|  |  |  |       .pop { | 
					
						
							|  |  |  |         position: absolute; | 
					
						
							|  |  |  |         top: -16rpx; | 
					
						
							|  |  |  |         right: -16rpx; | 
					
						
							|  |  |  |         width: 28rpx; | 
					
						
							|  |  |  |         height: 28rpx; | 
					
						
							|  |  |  |         line-height: 28rpx; | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |         background: #005bac; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |         box-shadow: 0rpx 3rpx 7rpx 0rpx rgba(0, 0, 0, 0.25); | 
					
						
							|  |  |  |         border-radius: 50%; | 
					
						
							|  |  |  |         text-align: center; | 
					
						
							|  |  |  |         font-size: 22rpx; | 
					
						
							|  |  |  |         font-family: Arial; | 
					
						
							|  |  |  |         font-weight: bold; | 
					
						
							|  |  |  |         color: #f1f2f7; | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .footer_lr { | 
					
						
							|  |  |  |     margin-left: 20rpx; // display: flex;
 | 
					
						
							|  |  |  |     // align-items: center;
 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .footer_r { | 
					
						
							|  |  |  |     // flex: 1;
 | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     font-size: 20rpx; | 
					
						
							|  |  |  |     font-weight: 500; | 
					
						
							|  |  |  |     color: #333333; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .disFlex { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .h1 { | 
					
						
							|  |  |  |   font-size: 10px; | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |   font-family: | 
					
						
							|  |  |  |     PingFang SC-Medium, | 
					
						
							|  |  |  |     PingFang SC; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   font-weight: 500; | 
					
						
							|  |  |  |   color: #333333; | 
					
						
							|  |  |  |   margin-right: 20rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .r1 { | 
					
						
							|  |  |  |   font-size: 36rpx; | 
					
						
							|  |  |  |   font-family: Source Han Sans CN; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							| 
									
										
										
										
											2025-04-23 11:51:12 +08:00
										 |  |  |   color: #f82c1a; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   margin-right: 20rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .l1 { | 
					
						
							|  |  |  |   font-size: 24rpx; | 
					
						
							|  |  |  |   font-family: PingFang SC; | 
					
						
							|  |  |  |   font-weight: 400; | 
					
						
							|  |  |  |   color: #333333; | 
					
						
							|  |  |  |   margin-right: 20rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .uBtn { | 
					
						
							|  |  |  |   padding: 20rpx 70rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .zhan { | 
					
						
							|  |  |  |   height: 240rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .deldel { | 
					
						
							| 
									
										
										
										
											2025-05-28 11:46:27 +08:00
										 |  |  |   color: #005bac; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |   margin-left: 20rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .sel { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .kong_t { | 
					
						
							|  |  |  |   text-align: center; | 
					
						
							|  |  |  |   padding-top: 60%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .kong { | 
					
						
							|  |  |  |   width: 576rpx; | 
					
						
							|  |  |  |   height: 406rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | ::v-deep .pp .u-popup__content { | 
					
						
							|  |  |  |   width: 80%; | 
					
						
							|  |  |  |   height: 60%; | 
					
						
							|  |  |  |   overflow-y: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .popList { | 
					
						
							|  |  |  |   padding-top: 40rpx; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .popList_i { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   padding: 0rpx 40rpx 0rpx 20rpx; | 
					
						
							|  |  |  |   margin-bottom: 40rpx; | 
					
						
							|  |  |  |   .popList_ii { | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   img { | 
					
						
							|  |  |  |     width: 160rpx; | 
					
						
							|  |  |  |     height: 160rpx; | 
					
						
							|  |  |  |     border-radius: 8px; | 
					
						
							|  |  |  |     margin-right: 20rpx; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .popBtm { | 
					
						
							|  |  |  |   position: sticky; | 
					
						
							|  |  |  |   bottom: 0; | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   justify-content: space-between; | 
					
						
							|  |  |  |   background: #fff; | 
					
						
							|  |  |  |   box-shadow: 0px 2px 20px 0px rgba(204, 204, 204, 1); | 
					
						
							|  |  |  |   padding: 20rpx 40rpx; | 
					
						
							|  |  |  |   font-size: 14px; | 
					
						
							|  |  |  |   .que { | 
					
						
							|  |  |  |     background: #e03030; | 
					
						
							|  |  |  |     border-radius: 20px; | 
					
						
							|  |  |  |     color: #fff; | 
					
						
							|  |  |  |     text-align: center; | 
					
						
							|  |  |  |     padding: 10rpx 20rpx; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </style> |