From 910f2ef56d0d49a4ce24b2f33860dce4d739b1b4 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期三, 03 八月 2022 16:58:06 +0800 Subject: [PATCH] 项目整体细节,新增主页煤仓剩余量图表。 --- pages/edit-my-application/edit-my-application.vue | 286 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 144 insertions(+), 142 deletions(-) diff --git a/pages/edit-my-application/edit-my-application.vue b/pages/edit-my-application/edit-my-application.vue index 1651a03..d1c2892 100644 --- a/pages/edit-my-application/edit-my-application.vue +++ b/pages/edit-my-application/edit-my-application.vue @@ -4,7 +4,7 @@ <!-- page-mete鐨刾age-style灞炴�х浉褰撲簬HTML鐨刡ody灞炴�� --> <!-- <page-meta :page-style="spanStyle"></page-meta> --> <!-- 琛ㄥ崟 --> - + <combination-title class="newApplicationTitle" title="鏂板"></combination-title> <!-- 娉ㄦ剰锛屽鏋滈渶瑕佸吋瀹瑰井淇″皬绋嬪簭锛屾渶濂介�氳繃setRules鏂规硶璁剧疆rules瑙勫垯 --> <!-- <u-notify :message="accountMsg" :show="trueMsg" :type="accountMsgType"></u-notify> --> @@ -27,7 +27,7 @@ </u-form-item> <u-form-item @click="timeShow = true" labelWidth="20%" label="鏃ユ湡" borderBottom ref="timeDataRef"> - <u--input v-model="timeDataStr" border="none" placeholder="璇烽�夋嫨鑼冨洿鏃ユ湡"></u--input> + <u--input v-model="timeDataStr" disabled disabledColor="#ffffff" border="none" placeholder="璇烽�夋嫨鑼冨洿鏃ユ湡"></u--input> <u-icon slot="right" name="arrow-right"></u-icon> </u-form-item> <u-form-item labelWidth="20%" label="缂栧彿" borderBottom> @@ -35,13 +35,13 @@ </u-form-item> </u--form> </view> - + <!-- 鐢宠鏃ュ巻銆佽寖鍥存椂闂� --> <u-calendar :show="timeShow" :mode="mode" @confirm="confirmTime" @close="timeClose" rowHeight="110" :maxDate="maxDate"></u-calendar> <!-- 鐢宠浠樻鏂瑰紡寮瑰嚭鑿滃崟 --> <!-- <u-action-sheet :show="showPayType" :actions="actions" title="璇烽�夋嫨浠樻鏂瑰紡" @close="showPayType = false" @select="sexSelect"></u-action-sheet> --> - + <!-- 閫夋嫨瀹㈡埛寮规 --> <!-- @touchmove.stop.prevent="moveHandleCustomer":闃叉鍥惧眰绌块�� --> <!-- <view class="selectCustomerPopup"> @@ -107,7 +107,7 @@ @select="selectCustomerSelect" ></u-action-sheet> </view> --> - + <!-- 绾у埆鑿滃崟椤� --> <!-- <view class="selectLevelSheet"> <u-action-sheet :show="selectLevelShow" :actions="levelList" title="璇烽�夋嫨绾у埆" @close="selectLevelShow = false" @select="selectLevelSelect"></u-action-sheet> @@ -116,7 +116,7 @@ </scroll-view> </u-popup> </view> --> - + <!-- 閫夋嫨鍚堝悓 --> <!-- @touchmove.stop.prevent="moveHandleContract" --> <!-- <view class="selectCustomerPopup"> @@ -202,7 +202,7 @@ </uni-tr> </uni-table> </view> - + <view class="TableUtilBtn"> <uni-table border emptyText="鏆傛棤鏇村鏁版嵁"> <uni-tr><uni-th align="center">鎿嶄綔</uni-th></uni-tr> @@ -243,8 +243,8 @@ </u-popup> </view> --> - - + + <!-- 娣诲姞鍚堝悓瀛愰」 --> <view class="addContractContainer"> <u-popup :show="addContractShow" @close="addContractClose" @open="addContractOpen" mode="bottom" round="22"> @@ -375,7 +375,7 @@ <uni-td align="center">{{ item.val }}</uni-td> <uni-td align="center">{{ item.price }}</uni-td> </uni-tr> - + </uni-table> </u-checkbox-group> </view> @@ -383,7 +383,7 @@ </view> </template> <u-form-item @click="addContractTransportShow = true" label="杩愯緭" labelWidth="20%" ref="item1"> - <u--input v-model="addContractTransport"></u--input> + <u--input v-model="addContractTransport" disabled disabledColor="#ffffff"></u--input> </u-form-item> </view> <view class="formDownCard"> @@ -400,18 +400,18 @@ v-model="addContractFormdata.quant"></u--input> </u-form-item> </view> - + <!-- <u-form-item label="鍙戠珯" labelWidth="18%" borderBottom ref="item1"><u--input v-model="addContractFormdata.fromStation" border="none"></u--input></u-form-item> <u-form-item label="鍒扮珯" labelWidth="18%" borderBottom ref="item1"><u--input v-model="addContractFormdata.toStation" border="none"></u--input></u-form-item> <u-form-item label="杩愯垂" labelWidth="18%" borderBottom ref="item1"><u--input v-model="addContractFormdata.cost1" border="none"></u--input></u-form-item> <u-form-item label="鎶戝皹璐�" labelWidth="18%" borderBottom ref="item1"><u--input v-model="addContractFormdata.cost2" border="none"></u--input></u-form-item> --> </u--form> - + <view class="addContractConfirm"> <u-button text="娣诲姞" type="primary" @click="addContractSanConfirm"></u-button> </view> </view> - + <!-- 閫夋嫨鐓ゅ巶 --> <view class="coalFiledSelectPopup"> <u-popup :show="coalFiledSelectShow" @close="coalFiledSelectClose" @open="coalFiledSelectOpen" mode="bottom" @@ -444,7 +444,7 @@ </uni-tr> </uni-table> </view> - + <view class="TableUtilBtn"> <uni-table border emptyText="鏆傛棤鏇村鏁版嵁"> <uni-tr> @@ -465,7 +465,7 @@ </scroll-view> </u-popup> </view> - + <!-- 閫夋嫨鏀惰揣浜� --> <view class="selectCustomerPopup"> <u-popup :show="addContractConsigneeShow" @close="addContractConsigneeClose" @@ -482,10 +482,10 @@ @click="searchCustomerForm.compName = ''"></u-icon> </u-form-item> <u-form-item labelWidth="20%" label="瀹㈡埛鍚嶇О" borderBottom ref="timeDataRef"> - <u--input v-model="selectCustomerData.customerName" border="none" + <u--input v-model="selectCustomerData.customerFullName" border="none" placeholder="杈撳叆瀹㈡埛鍚嶇О"></u--input> - <u-icon slot="right" name="close-circle-fill" v-show="selectCustomerData.customerName != ''" - @click="selectCustomerData.customerName = ''"></u-icon> + <u-icon slot="right" name="close-circle-fill" v-show="selectCustomerData.customerFullName != ''" + @click="selectCustomerData.customerFullName = ''"></u-icon> </u-form-item> <u-form-item labelWidth="20%" label="瀹㈡埛绾у埆" borderBottom> <u--input @focus="selectLevelShow = true" border="none" v-model="searchCustomerForm.levelText" @@ -547,7 +547,7 @@ </scroll-view> </u-popup> </view> - + <!-- 鍝佺閫夋嫨鍣� --> <view class="addContractCoalPicker"> <u-picker @@ -560,7 +560,7 @@ keyName="label" ></u-picker> </view> - + <!-- 杩愯緭閫夋嫨鍣� --> <view class="addContractCoalPicker"> <u-picker @@ -576,9 +576,9 @@ </scroll-view> </u-popup> </view> - + <!-- 鐢宠琛ㄦ牸 --> - + <view class="newApplicationTable"> <!-- <uni-table border stripe emptyText="鏆傛棤鏇村鏁版嵁"> <uni-tr v-for="(item, index) in 12" :key="index"> @@ -601,11 +601,11 @@ <view class="balanceNo" v-if="accountDetails.balanceTotal < 0"> <text style="color:red;">瀹㈡埛璐︽埛褰撳墠澶勪簬娆犳鐘舵��</text> </view> - + <view class="messageCustomerBalance" v-if="accountDetails.balanceTotal >= 0"> <text style="color: #FFA500;;">瀹㈡埛璐︽埛鐜版眹浣欓:{{ - accountDetails.balanceTotal - }},鎵垮厬浣欓锛歿{ accountDetails.balance2 == null ? 0 : customerChengdui }} + accountDetails.balance == null ? 0 : accountDetails.balance + }},鎵垮厬浣欓锛歿{ accountDetails.balance2 == null ? 0 : accountDetails.balance2 }} </text> </view> <u-swipe-action> @@ -630,7 +630,7 @@ <text>{{ item.compName }}</text> </view> </view> - + <view class="cardList_item"> <view class=""> 鍝佺锛� @@ -658,28 +658,28 @@ </view> </u-swipe-action-item> </u-swipe-action> - + <view class="addCard" @click="addContractClick"> <view class="addCard-icon"> <u-icon name="plus" size="100"></u-icon> </view> </view> </view> - + <view class="new-application-button"> <u-button text="鍙栨秷" :plain="true" type="primary" @click="backPage"></u-button> <u-button text="纭畾" type="primary" @click="newApplicationFormDataClick"></u-button> </view> - + <!-- 鑿滃崟鏍� --> <popup-menu @menuShow="menushow" ref="menuRef"></popup-menu> </view> </template> - + <script> import combinationTitle from '@/components/common/combined-title/combined-title.vue'; import popupMenu from '@/components/common/popup-menu/popup-menu.vue'; - + // 鏈�澶ф樉绀虹殑鏃ユ湡 const d = new Date(); const year = d.getFullYear(); @@ -761,7 +761,7 @@ // 閫夋嫨瀹㈡埛 selectCustomerData: { compIds: '', - customerName: '', + customerFullName: '', level: '', current: 1, size: 10 @@ -817,7 +817,7 @@ // trigger: ['blur', 'change'] // } // ], - + }, addContractFormdata: { // id:null, @@ -844,7 +844,7 @@ // toStation: '', // trainType: 1, // type: '' - + }, contractDetails: [], // 閫夋嫨鐨勫悎鍚岃鎯� // 閫夋嫨鐓ゅ巶 @@ -858,7 +858,7 @@ addContractCoalShow: false, addContractCoalData: [[]], // 杩愯緭绫诲瀷 - + // 浼樻儬 favouredpolicyListAll: [], //浼樻儬鏀跨瓥鍒楄〃鎵�鏈夌殑 favouredpolicyList: [], // 浼樻儬鏀跨瓥鍒楄〃 @@ -916,7 +916,6 @@ }, onLoad(options) { this.editApplicationTableId = JSON.parse(options.index); - }, onShow() { if (this.menuShow == true) { @@ -979,33 +978,36 @@ } }); this.favouredpolicyList = list; - + return true; }, async currentRowComputed() { - + //鍙樹环鏍肩敤鐨� this.changePriceMode(this.addContractFormdata.priceMode); - + //鍙樿鍗曢噺 if (this.addContractFormdata.id != null) { + console.log('杩涘叆璁$畻涔嬪墠',this.addContractFormdata); if (this.addContractFormdata.price > 0 && (this.addContractFormdata.amount > 0 || this.addContractFormdata.quant > 0)) { + // console.log('杩涘叆绫诲瀷鍓嶈绠�'); let price = this.addContractFormdata.price; if (this.addContractFormdata.trainType == 1) { let q = this.addContractFormdata.amount / price; this.addContractFormdata.quant = q.toFixed(2); + console.log('杈撳叆閲戦',this.addContractFormdata.quant); this.addContractFormdata.cost1 = null; //杩愯垂 this.addContractFormdata.cost2 = null; //鎶戝皹璐� } else if (this.addContractFormdata.trainType == 2) { - //濡傛灉璺繍浠锋牸澧炲姞鎶戝皹璐瑰拰杩愯垂 - let cost1Price = await this.getFreight(this.addContractFormdata.fromStation, this.addContractFormdata.toStation, this.addContractFormdata.customerAddressId); //璺繍杩愯垂 - price += cost1Price; - price += this.dust; - this.addContractFormdata.cost1 = (this.addContractFormdata.quant * cost1Price).toFixed(2); //杩愯垂 - this.addContractFormdata.cost2 = (this.addContractFormdata.quant * this.dust).toFixed(2); //鎶戝皹璐� - - let amount = Number(price * this.addContractFormdata.quant) + Number(this.addContractFormdata.cost1) + Number(this.addContractFormdata.cost2); - this.addContractFormdata.amount = amount.toFixed(2); + //濡傛灉璺繍浠锋牸澧炲姞鎶戝皹璐瑰拰杩愯垂 + let cost1Price = await this.getFreight(this.addContractFormdata.fromStation, this.addContractFormdata.toStation, this.addContractFormdata.customerAddressId); //璺繍杩愯垂 + price += cost1Price; + price += this.dust; + this.addContractFormdata.cost1 = (this.addContractFormdata.quant * cost1Price).toFixed(2); //杩愯垂 + this.addContractFormdata.cost2 = (this.addContractFormdata.quant * this.dust).toFixed(2); //鎶戝皹璐� + + let amount = Number(price * this.addContractFormdata.quant) + Number(this.addContractFormdata.cost1) + Number(this.addContractFormdata.cost2); + this.addContractFormdata.amount = amount.toFixed(2); } } } else { @@ -1097,10 +1099,10 @@ this.newFormData = res.data; this.timeDataStr = this.newFormData.startDate; }) - + // 鑾峰彇鍚堝悓璇︽儏锛岀叅绉� await this.getContractDetails(); - + // 鍒濆鍖栧綋鍓嶇敵璇峰鎴疯处鎴锋儏鍐� if(this.newFormData.customerId){ await this.$reqGet('getAccount', {customerId: this.newFormData.customerId}).then(res => { @@ -1119,8 +1121,8 @@ this.selectOKfavouredpolicyValue.push(Number(item)); }); } - - + + // 鑾峰彇浠锋牸 // this.getNewPriceData = this.addContractFormdata; this.getNewPriceData.compName = this.newFormData.contractOrders[this.applicationOrderIndex].compName; @@ -1137,7 +1139,7 @@ this.getNewPriceData.coalName = this.newFormData.contractOrders[this.applicationOrderIndex].coalName; // 鑾峰彇鍚堝悓鐓ょ浠锋牸 this.getNewPrice(); - + // 鍒濆鍖栫涓�娆′紭鎯犱环鏍艰绠� // this.$nextTick(()=>{ if (this.selectOKfavouredpolicyValue.length == 0) { @@ -1151,7 +1153,7 @@ }) } // }) - + // 璁㈠崟杩愯緭绫诲瀷 switch (this.addContractFormdata.trainType) { case 1: @@ -1161,12 +1163,12 @@ this.addContractTransport = '璺繍'; break; } - - + + this.$nextTick(() => { this.addContractShow = true; }) - + }, getContractDetails() { uni.showLoading({ @@ -1202,7 +1204,7 @@ } }) } - + }, // 閫夋嫨瀹㈡埛 selectCustomer() { @@ -1270,7 +1272,7 @@ // 娓呯┖閫夋嫨瀹㈡埛琛ㄥ崟 selectCustomerResetFields() { this.$refs.selectformRef.resetFields(); // 涓嶈捣鏁堟灉 - this.selectCustomerData.customerName = ''; + this.selectCustomerData.customerFullName = ''; this.searchCustomerForm.compName = ''; this.searchCustomerForm.levelText = ''; this.selectCustomer(); @@ -1280,7 +1282,7 @@ this.newFormData.customerId = v.id; this.$reqGet('getAccount', {customerId: v.id}).then(res => { this.accountDetails = res.data; - + this.searchContractForm.customerName = res.data.customerName; }); this.$nextTick(() => { @@ -1313,7 +1315,7 @@ this.timeDataStr = v[0] + ' 鑷� ' + v[v.length - 1]; }); }, - + // 閫夋嫨鍚堝悓 // selectContract() { // if (this.newFormData.customerName != '') { @@ -1377,7 +1379,7 @@ // selectContractTypeClose(v) { // // 鍒濆鍖栧悎鍚岀被鍨嬮�夋嫨鍣� // this.selectContractTypeData[0] = []; - + // this.selectContractTypeShow = false; // if (v) { // this.searchContractForm.type = v.value[0]; @@ -1412,7 +1414,7 @@ // this.newFormData.contractNum = e.num; // this.newFormData.contractId = e.id; // this.selectContractShow = false; - + // // 浠锋牸鍙傛暟璧嬪�� // this.getNewPriceData.type = e.type; // // 閫夊畾鍚堝悓璇︽儏 @@ -1480,7 +1482,7 @@ trainType: 1, type: '' }; - + // this.getNewPriceData.type = this.newFormData.type; // this.getNewPriceData.customerAddressName = this.addContractFormdata.customerFullName; // this.getNewPriceData.customerAddressId = this.addContractFormdata.id; @@ -1489,7 +1491,7 @@ // this.getNewPriceData.coalName =this.addContractFormdata.coalName; // 鑾峰彇鍚堝悓鐓ょ浠锋牸 // this.getNewPrice(); - + // 杩愯緭绫诲瀷鍒濆鍖� switch (this.addContractFormdata.trainType) { case 1: @@ -1499,10 +1501,10 @@ this.addContractTransport = '璺繍'; break; } - + // 鑾峰彇鍚堝悓璇︽儏锛岀叅绉� this.getContractDetails(); - + this.multipleSelection = []; } } @@ -1534,9 +1536,9 @@ this.addContractFormdata.compId = e.compId; this.addContractFormdata.filedId = e.id; this.addContractFormdata.fromStation = e.toStation; - + this.selectCoalFiledData = e; - + this.coalFiledSelectShow = false; }, // 鏀惰揣浜� @@ -1565,15 +1567,15 @@ this.$nextTick(() => { this.addContractConsigneeShow = false; }); - + // 璧嬪�肩粰鍙栦环鏍艰姹傚弬鏁� this.getNewPriceData.customerAddressName = v.customerFullName; this.getNewPriceData.customerAddressId = v.id; this.getNewPriceData.toStation = v.toStation; - + this.addContractFormdata.toStation = v.toStation; this.addContractFormdata.customerAddressId = v.id; - + // 娣诲姞鐓ょ閫夐」 this.contractDetails.forEach(item => { let a = [{label: '', id: ''}]; @@ -1584,23 +1586,23 @@ } this.addContractCoalData.push(a); }); - + }, // 鍝佺閫夋嫨鍣� addContractCoalConfirm(e) { // console.log('鍝佺閫夋嫨鍣�', e); - + this.addContractCoalShow = false; // 鍏抽棴閫夋嫨鍣� this.addContractFormdata.coalId = e.value[0].id; this.addContractFormdata.coalName = e.value[0].label; // 鐓ょ浠锋牸璇锋眰(鐓ゅ巶=>浠锋牸鍙傛暟) this.getNewPriceData.coalId = e.value[0].id; this.getNewPriceData.coalName = e.value[0].label; - + // this.selectCoalFiledData.compId = e.compId; // this.selectCoalFiledData.compName = e.compName; // this.selectCoalFiledData.toStation = e.fromStation; - + this.getNewPrice(); }, getNewPrice() { @@ -1616,7 +1618,7 @@ this.currentCoal.steelMillPrice = data.steelMillPrice; // 閽㈠巶浠锋牸 this.currentCoal.modifyId = data.modifyId; //淇敼id this.currentCoal.modifyInfoId = data.id; - + this.addContractFormdata.price = data.steelMillPrice; this.addContractFormdata.modifyId = data.modifyId; // this.addContractFormdata.id = data.id; @@ -1638,7 +1640,7 @@ if (e) { this.addContractFormdata.priceMode = e; } - + this.addContractFormdata.price = this.afterPrice.quotePrice; switch (this.addContractFormdata.priceMode) { case '0': @@ -1886,7 +1888,7 @@ } }; </script> - + <style lang="scss" scoped> @include tableMainStyle(); ::v-deep.new-application-form-data { @@ -1896,13 +1898,13 @@ .newApplicationTitle { margin-bottom: 0; } - + // 琛ㄥ崟 .formDataContaniner { .u-form { width: 91%; margin: 0 auto 0; - + .u-form-item { .u-form-item__body { .u-form-item__body__left { @@ -1911,7 +1913,7 @@ } } } - + .u-form-item__body__right { .u-form-item__body__right__content { .u-form-item__body__right__content__slot { @@ -1922,20 +1924,20 @@ } } } - + // 閫夋嫨瀹㈡埛寮规 .selectCustomerPopup { .u-popup { .u-transition { height: 95%; - + .u-popup__content { overflow: scroll !important; - + .selectCustomerTitle { margin-bottom: 0; } - + .selectCustomerContainer { padding: 0 4%; // .loadmoreClass{ @@ -1948,35 +1950,35 @@ // } .searchContainer { } - + .searchCustomerBtn { margin-top: vww(10); display: flex; - + .u-button { width: 30%; } } - + // 鏁版嵁鍒楄〃 .searchResultList { margin-top: vww(16); } - + // 鍚堝悓琛ㄦ牸 .tableContract { margin-top: vww(30); display: flex; justify-content: center; - + .uni-table-scroll { min-width: 0 !important; - + .uni-table { .uni-table-tr { padding: 0; font-size: vww(13); - + .uni-table-th { width: vww(100); height: vww(32); @@ -1986,7 +1988,7 @@ font-weight: 400; background: #f5f5f5; } - + .uni-table-td { line-height: vww(20); padding: vww(5) vww(10); @@ -1995,19 +1997,19 @@ } } } - + .tableBody { width: 80%; } - + .TableUtilBtn { width: 20%; overflow: hidden; - + .uni-table { min-width: 0 !important; } - + .TableUtilBtnContainer { .u-button { width: vww(20); @@ -2015,7 +2017,7 @@ } } } - + // 鍚堝悓绫诲瀷閫夋嫨鍣� .selectContractTypePicker { .u-popup { @@ -2024,7 +2026,7 @@ } } } - + .selectCustomerCompSheet { .u-popup { .u-transition { @@ -2032,7 +2034,7 @@ } } } - + .selectLevelSheet { .u-popup { .u-transition { @@ -2040,7 +2042,7 @@ } } } - + // 鏃堕棿閫夋嫨鍣� .selectContractStartTime { .u-popup { @@ -2049,7 +2051,7 @@ } } } - + .selectContractEndTime { .u-popup { .u-transition { @@ -2062,30 +2064,30 @@ } } } - + // 鐓ゅ巶 .addContractContainer { .u-popup { .u-transition { height: 95%; - + .u-popup__content { overflow: scroll !important; - + .addContractFormTitle { margin-bottom: 0; } - + // 鎼滅储 .coalFiledSelectSearch { } - + // 閫夋嫨鐓ょ .coalFiledSelectPopup { .u-popup { .u-transition { height: 80%; - + .u-popup__content { overflow: scroll !important; // 琛ㄦ牸 @@ -2094,15 +2096,15 @@ display: flex; justify-content: center; margin: 0 auto; - + .uni-table-scroll { min-width: 0 !important; - + .uni-table { .uni-table-tr { padding: 0; font-size: vww(13); - + .uni-table-th { width: vww(100); height: vww(32); @@ -2112,7 +2114,7 @@ font-weight: 400; background: #f5f5f5; } - + .uni-table-td { line-height: vww(20); padding: vww(5) vww(10); @@ -2121,19 +2123,19 @@ } } } - + .tableBody { width: 80%; } - + .TableUtilBtn { width: 20%; overflow: hidden; - + .uni-table { min-width: 0 !important; } - + .TableUtilBtnContainer { .u-button { width: vww(20); @@ -2149,21 +2151,21 @@ } } } - + // 娣诲姞鍚堝悓 .addContractContainer { .u-popup { .u-transition { height: 95%; - + .u-popup__content { // background-color: rgb(247, 247, 247); overflow: scroll !important; - + .addContractForm { width: 92%; margin: 0 auto; - + // 琛ㄥ崟 // .u-form{ // .u-form-item{ @@ -2173,7 +2175,7 @@ // .u-input{ // border:1px solid #dddddd; // .u-input__content{ - + // } // } // } @@ -2181,7 +2183,7 @@ // } // } // } - + .formUpCard { margin-top: vww(10); padding: vww(10); @@ -2196,19 +2198,19 @@ box-shadow: 0 2px 16px #e5e5e5, 0 0 1px #e5e5e5, 0 0 1px #e5e5e5; // margin-top:vww(10); background-color: #ffffff; - + .currentPriceContainer { .currentPriceBox { width: 92%; margin: 0 auto; } } - + .selectPriceContainer { .selectPricebox { width: 92%; margin: 0 auto; - + .selectPriceboxItem { display: flex; justify-content: space-between; @@ -2217,7 +2219,7 @@ } } } - + .formDownCard { border-radius: vww(4); padding: vww(10); @@ -2225,12 +2227,12 @@ margin-top: vww(10); background-color: #ffffff; } - + .addContractConfirm { margin-top: vww(30); } } - + // 鍝佺閫夋嫨鍣� .addContractCoalPicker { .u-popup { @@ -2243,19 +2245,19 @@ } } } - + // 琛ㄦ牸 .newApplicationTable { margin: vww(40) auto; width: 100%; padding: vww(0) vww(10) vww(60) vww(10); box-sizing: border-box; - + .u-swipe-action { .u-swipe-action-item { box-shadow: 0 2px 16px #e5e5e5, 0 0 1px #e5e5e5, 0 0 1px #e5e5e5; margin-top: vww(10); - + .u-swipe-action-item__right { .u-swipe-action-item__right__button { .u-swipe-action-item__right__button__wrapper { @@ -2265,28 +2267,28 @@ } } } - + .cardList { height: vww(130); border-radius: vww(4); padding: vww(10); position: relative; - + .cardListIcon { position: absolute; right: vww(20); top: vww(20); } - + .cardList-container { .cardList_item { margin-top: vww(12); font-size: 14px; display: flex; - + view { width: 50%; - + &:nth-child(2) { margin-left: vww(20); } @@ -2294,7 +2296,7 @@ } } } - + .addCard { width: 100%; height: vww(130); @@ -2306,15 +2308,15 @@ box-shadow: 0 2px 16px #e5e5e5, 0 0 1px #e5e5e5, 0 0 1px #e5e5e5; } } - + // button .new-application-button { display: flex; - + .u-button { width: vww(120); height: vww(40); } } } -</style> \ No newline at end of file +</style> -- Gitblit v1.9.1