inexpress.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. <template>
  2. <div class="content">
  3. <backindex :title="titlename"></backindex>
  4. <!-- 寄件地址 -->
  5. <div class="jjinfo">
  6. <div>
  7. <div class="jj">
  8. <div class="jjaddress">
  9. <p>寄</p>
  10. <div>
  11. <!-- <p v-if="jjname==''||jjname==' '">寄件地址</p>
  12. <p v-else>{{jjname}}</p>
  13. <p v-if="jjadd==''||jjadd==' '" @click="addtype(1)">填写寄件地址</p>
  14. <p v-else @click="addtype(1)">{{jjadd}}</p> -->
  15. <p>{{user.name}} {{user.organization}} {{user.phone}} {{user.telephone}}</p>
  16. <p>{{jjaddress}}</p>
  17. </div>
  18. </div>
  19. <!-- <div class="dzb">
  20. <img src="../assets/images/addlist.png" alt="">
  21. <p>地址簿</p>
  22. </div> -->
  23. </div>
  24. <div class="jj" style="border-top:.01rem solid #ededed">
  25. <div class="jjaddress">
  26. <p style="background: #fa9c22;">收</p>
  27. <div>
  28. <p v-if="sjname==''||sjname==' '">收件地址</p>
  29. <p v-else>{{sjname}} {{sjInfo.receiveMobile}}</p>
  30. <p v-if="sjadd==''||sjadd==' '" @click="addtype(3)">填写收件地址</p>
  31. <p v-else @click="addtype(3)">{{sjadd}}</p>
  32. </div>
  33. </div>
  34. <div class="dzb" @click="link(3)">
  35. <img src="../assets/images/addlist.png" alt="">
  36. <p>地址簿</p>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <!-- 快递公司 -->
  42. <div class="kdshow">
  43. <van-field readonly clickable name="picker" :value="expressInfoShow" label="快递公司" placeholder="请选择快递公司" @click="showPicker = true" />
  44. <van-popup v-model="showPicker" position="bottom">
  45. <van-picker
  46. show-toolbar
  47. :columns="columns"
  48. @confirm="onConfirm"
  49. @cancel="showPicker = false"
  50. />
  51. </van-popup>
  52. </div>
  53. <!-- 主体类型 -->
  54. <!-- <div class="kdshow">
  55. <van-field readonly clickable name="picker" :value="mainType" label="主体类型" placeholder="请选择主体类型" @click="showPicker2 = true" />
  56. <van-popup v-model="showPicker2" position="bottom">
  57. <van-picker
  58. show-toolbar
  59. :columns="columns2"
  60. @confirm="onConfirm0"
  61. @cancel="showPicker2 = false"
  62. />
  63. </van-popup>
  64. </div> -->
  65. <!-- 寄件属性 -->
  66. <div class="choose">
  67. <div>
  68. <div class="type_wp">
  69. <div>
  70. <p>物品类型</p>
  71. <p v-if="wptype==''" @click="wpshow=true">请选择</p>
  72. <p v-else @click="wpshow=true">{{wptype}}</p>
  73. </div>
  74. <div>
  75. <p>
  76. <template v-if="wptype=='产品'">重量(公斤)</template>
  77. <template v-if="wptype=='非产品'">重量(公斤)</template>
  78. <template v-if="wptype=='文件'">数量(件数)</template>
  79. </p>
  80. <p>
  81. <van-field name="stepper" style="padding: 0px;">
  82. <template #input>
  83. <van-stepper v-model="stepper" :max="max"></van-stepper>
  84. </template>
  85. </van-field>
  86. </p>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <!-- 内部调拨 -->
  92. <div class="choose">
  93. <div>
  94. <div class="type_inner">
  95. <div>
  96. <p>地址类型</p>
  97. <p v-if="addresstype==''" @click="addressshow=true">请选择</p>
  98. <p v-else @click="addressshow=true">{{addresstype}}</p>
  99. <!-- <p class="inner_p">内部调拨</p> -->
  100. </div>
  101. <div>
  102. <p>
  103. <template v-if="wptype=='产品'">选择产品</template>
  104. <template v-if="wptype=='非产品'">选择标签</template>
  105. <template v-if="wptype=='文件'">选择标签</template>
  106. </p>
  107. <p v-if="innerType==''" @click="wpshow2=true">请选择</p>
  108. <p v-else @click="wpshow2=true">{{innerType}}</p>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <!--商品订单编号-->
  114. <div class="bz" style="padding-bottom: 0;" v-show="this.accountType == 1">
  115. <div>
  116. <van-field maxlength="50" v-model="goodOrderNo" name="调拨单号" label="调拨单号" placeholder="请输入调拨单号"/>
  117. </div>
  118. </div>
  119. <!-- 备注 -->
  120. <div class="bz">
  121. <div>
  122. <van-field v-model="bz" name="备注" label="备注" placeholder="包装运输等要求"/>
  123. </div>
  124. </div>
  125. <!-- 我同意 -->
  126. <div class="check">
  127. <van-checkbox icon-size=".24rem" v-model="check" shape="">我同意《电子运单契约条款》</van-checkbox>
  128. </div>
  129. <!-- 寄件 -->
  130. <div class="btn-jj">
  131. <van-button type="info" color="#00c4b8" @click="save()">立即寄件</van-button>
  132. </div>
  133. <!-- 弹窗物品类型 -->
  134. <van-popup v-model="wpshow" position="bottom">
  135. <van-picker title="物品类型" show-toolbar :columns="wplist" @confirm="onConfirm1" @cancel="wpshow=false"/>
  136. </van-popup>
  137. <!-- 弹窗内部类型 -->
  138. <van-popup v-model="wpshow2" position="bottom">
  139. <van-picker title="选择" show-toolbar :columns="innerlist" @confirm="onConfirm11" @cancel="wpshow2=false"/>
  140. </van-popup>
  141. <!-- 弹窗地址类型类型 -->
  142. <van-popup v-model="addressshow" position="bottom">
  143. <van-picker title="地址类型" show-toolbar :columns="addlist" @confirm="onConfirm8" @cancel="addressshow=false"/>
  144. </van-popup>
  145. <!-- 弹窗付款方式 -->
  146. <van-popup v-model="priceshow" position="bottom">
  147. <van-picker title="付款方式" show-toolbar :columns="pricelist" @confirm="onConfirm2" @cancel="priceshow=false"/>
  148. </van-popup>
  149. <!-- 填写地址 -->
  150. <van-popup round v-model="addshow" class="whrite_add" closeable @closed="close" :close-on-click-overlay="false">
  151. <div>
  152. <p style="font-size: 16px;text-align: center;margin-bottom: 16px;">{{title}}</p>
  153. <van-form @submit="onSubmit">
  154. <form action="/">
  155. <van-search
  156. shape="round"
  157. v-model="dsname"
  158. show-action
  159. placeholder="请输入搜索关键词"
  160. @search="onSearch"
  161. @cancel="onCancel"
  162. />
  163. </form>
  164. <van-list>
  165. <van-cell v-for="(item,index) in dsList" @click="onSubmit(index)" :key="item.name" :title="item.name + ' ' + item.phone + ' ' + item.telephone " />
  166. </van-list>
  167. <!-- <van-field v-model="name" readonly name="姓名" label="姓名" placeholder="请输入姓名" @click="dsnameshow = true" :rules="[{ required: false}]"/>
  168. <van-field v-model="phone" readonly maxlength="11" type="number" name="手机" label="手机" placeholder="请输入手机" @click="dsnameshow = true" :rules="[{ required: false}]"/>
  169. <van-field v-model="telPhone" readonly maxlength="20" type="text" name="座机" label="座机" placeholder="请输入座机" @click="dsnameshow = true" :rules="[{ required: false}]"/>
  170. <van-field readonly clickable name="area" :value="city" label="省市区" placeholder="请选择省市区" @click="areashow = true" :rules="[{ required: false}]"/>
  171. <van-field v-model="address" readonly maxlength="50" name="详细地址" label="详细地址" placeholder="请输入详细地址" @click="dsnameshow = true" :rules="[{ required: false}]"/> -->
  172. <!-- <div style="margin-top: 16px;">
  173. <van-button color="#00c4b8" block type="info" native-type="submit">确定</van-button>
  174. </div> -->
  175. </van-form>
  176. </div>
  177. </van-popup>
  178. <!-- 代收人列表 -->
  179. <van-popup v-model="dsnameshow" position="bottom">
  180. <van-picker title="内部收件人" show-toolbar :columns="dsList" value-key="text" @confirm="onConfirmDs" @cancel="dsnameshow=false"/>
  181. </van-popup>
  182. <!-- 城市选择 -->
  183. <van-popup v-model="areashow" position="bottom">
  184. <van-area
  185. :area-list="areaList"
  186. @confirm="onConfirm3"
  187. @cancel="areashow = false"
  188. />
  189. </van-popup>
  190. </div>
  191. </template>
  192. <script>
  193. import areaList from "@/script/areas.js"
  194. import { Stepper,Toast } from 'vant';
  195. export default{
  196. data(){
  197. return {
  198. titlename:"内部件",
  199. wptype:"产品",//物品类型
  200. wpshow:false,//物品类型弹窗显示
  201. wplist:["产品","非产品","文件"],
  202. pricetype:"",//付款类型
  203. stepper:'',
  204. max:'',
  205. priceshow:false,//付款类型弹窗显示
  206. pricelist:["自费","月结"],
  207. addshow:false,
  208. name:"",
  209. phone:"",
  210. telPhone:"",
  211. city:"",
  212. address:"",
  213. areashow:false,
  214. index:"",
  215. title:"",
  216. jjname:"",
  217. jjadd:"",
  218. sjname:"",
  219. sjadd:"",
  220. bz:"",
  221. check:false,
  222. showPicker:false,//快递
  223. value:"",
  224. columns:[],
  225. columns2:["个人件","公司件"],
  226. user:{},
  227. expressInfoShow:"",//快递公司展示
  228. expressPhone:"",//快递公司电话传值
  229. expressInfo:"",//快递公司传值
  230. showPicker2:false,
  231. mainType:'',
  232. jjaddress:'',//寄件个人地址
  233. dsList:[],//代收人列表
  234. dsnameshow:false,
  235. dsname:'',
  236. userId:"",
  237. sjInfo:{},
  238. declaredValue:'',
  239. innerType:'可销品',//内部调拨
  240. wpshow2:false,//内部类型弹窗显示
  241. innerlist:['可销品','非卖品'],
  242. addresstype:"办公室",//地址类型
  243. addressTypeSend:'',//上传地址类型字段
  244. addressshow:false,//地址类型弹窗显示
  245. addlist:['办公室','仓库','店铺调拨'],//
  246. goodOrderNo:'',
  247. accountType:''//账号类型
  248. }
  249. },
  250. created:function(){
  251. this.isLogin();
  252. this.userId = localStorage.getItem("userId");
  253. this.getUser();
  254. this.getPersonalAddress()
  255. this.accountType = localStorage.getItem("accountType")
  256. //代收人列表
  257. //this.findCollectAgentList()
  258. //收件地址
  259. if(JSON.stringify(this.$store.state.sjInfo3)!='{}'){
  260. this.sjname = this.$store.state.sjInfo3.sjname
  261. this.sjadd = this.$store.state.sjInfo3.sjadd
  262. this.sjInfo = this.$store.state.sjInfo3
  263. }else{
  264. //收件人记忆
  265. this.getLastRecvUserInfo()
  266. }
  267. //获取快递信息
  268. this.getLogisticsList()
  269. },
  270. methods:{
  271. //代收人搜索
  272. onSearch(){
  273. this.$http.post(this.$store.state.host+"/sendMail/searchInnerContactsList.do",{
  274. userId:this.userId,name:this.dsname},{emulateJSON:true})
  275. .then(res=>{
  276. //发送成功
  277. if(res.body.msg=='success'){
  278. this.dsList = res.body.list
  279. for(var i=0;i<this.dsList.length;i++){
  280. this.dsList[i].text = this.dsList[i].name +' '+ this.dsList[i].phone +' ' + this.dsList[i].telephone
  281. }
  282. //this.dsnameshow=true
  283. }
  284. },res=>{
  285. //发送失败
  286. Toast("网络错误!")
  287. })
  288. },
  289. //搜索取消
  290. onCancel(){
  291. this.onSearch()
  292. },
  293. // 填写地址类型确定
  294. onConfirm8(e){//确定
  295. this.addresstype=e
  296. this.addressshow=false
  297. },
  298. onConfirmDs(e){//确定
  299. if(e != undefined){
  300. this.name = e.name
  301. this.phone=e.phone
  302. this.telPhone = e.telephone
  303. this.address = e.address
  304. this.city = e.province + ' ' + e.area + ' ' + e.city
  305. }
  306. //this.getPersonalAddressById(e.user_id)
  307. this.dsnameshow=false
  308. },
  309. //收件人记忆
  310. getLastRecvUserInfo(){
  311. Toast.loading({
  312. message: '加载中...',
  313. forbidClick: true,
  314. duration:0
  315. });
  316. this.$http.post(this.$store.state.host+"/sendMail/getLastRecvUserInfo.do",{userId:this.userId},{emulateJSON:true})
  317. .then(res=>{
  318. //发送成功
  319. if(res.body.msg=='success'){
  320. if(JSON.stringify(res.body.result)!='{}'){
  321. this.sjname = res.body.result.name+' '+res.body.result.phone
  322. this.sjadd = res.body.result.area+' '+res.body.result.address
  323. this.sjInfo = {}
  324. this.sjInfo.sjname = this.sjname
  325. this.sjInfo.sjadd = this.sjadd
  326. this.sjInfo.receiver = res.body.result.name
  327. this.sjInfo.receiverPhone = res.body.result.phone
  328. this.sjInfo.receiveMobile = res.body.result.telPhone
  329. this.sjInfo.receiveAddr = res.body.result.area
  330. this.sjInfo.receiveAddress = res.body.result.address
  331. this.$store.commit("getSjInfo3",this.sjInfo)
  332. }
  333. }
  334. Toast.clear()
  335. },res=>{
  336. //发送失败
  337. Toast("网络错误!")
  338. })
  339. Toast.clear()
  340. },
  341. //收件
  342. getPersonalAddress(){
  343. Toast.loading({
  344. message: '加载中...',
  345. forbidClick: true,
  346. duration:0
  347. });
  348. this.$http.post(this.$store.state.host+"/personal/getPersonalAddress.do",{userId:this.userId},{emulateJSON:true})
  349. .then(res=>{
  350. //发送成功
  351. if(res.body.msg=='success'){
  352. this.jjaddress = res.body.address
  353. this.jjadd = res.body.provinceAndCity
  354. }
  355. Toast.clear()
  356. },res=>{
  357. //发送失败
  358. Toast("网络错误!")
  359. })
  360. Toast.clear()
  361. },
  362. // 选择快递公司
  363. onConfirm(e){
  364. this.expressInfoShow=e.text
  365. this.expressInfo=e.id
  366. this.expressPhone=e.phone
  367. this.showPicker=false
  368. },
  369. onConfirm0(e){
  370. this.mainType=e
  371. this.showPicker2=false
  372. },
  373. // 选择物品确定
  374. onConfirm1(e){//确定
  375. if(e == '产品'){
  376. this.innerlist = ['可销品','非卖品']
  377. this.innerType = '可销品'
  378. }else{
  379. this.innerlist = ["小样","物料"]
  380. this.innerType = '小样'
  381. }
  382. if(e == '文件'){
  383. this.max = '10'
  384. }else{
  385. this.max = '1'
  386. }
  387. this.wptype=e
  388. this.wpshow=false
  389. },
  390. // 选择内部确定
  391. onConfirm11(e){//确定
  392. this.innerType=e
  393. this.wpshow2=false
  394. },
  395. // 选择付款方式确定
  396. onConfirm2(e){//确定
  397. this.pricetype=e
  398. this.priceshow=false
  399. },
  400. // 填写地址确定
  401. onConfirm3(e){//确定
  402. this.city=e[0].name+' '+e[1].name+' '+e[2].name
  403. this.areashow=false
  404. },
  405. // 寄件地址1与收件地址2
  406. addtype(obj){
  407. this.index=obj
  408. if(obj==1){
  409. this.title="寄件地址"
  410. }
  411. if(obj==3){
  412. this.title="内部收件地址"
  413. }
  414. this.addshow=true
  415. this.onSearch()
  416. },
  417. // 填写地址确定
  418. onSubmit(index){
  419. this.name = this.dsList[index].name
  420. this.phone = this.dsList[index].phone
  421. this.city = this.dsList[index].province + ' '+ this.dsList[index].city+' ' + this.dsList[index].area
  422. this.address = this.dsList[index].address
  423. this.telPhone = this.dsList[index].telPhone
  424. if(this.index==3){
  425. this.sjname=this.name+' '+this.phone
  426. this.sjadd=this.city+' '+this.address
  427. this.sjInfo = {}
  428. this.sjInfo.sjname = this.sjname
  429. this.sjInfo.sjadd = this.sjadd
  430. this.sjInfo.receiver = this.name
  431. this.sjInfo.receiverPhone = this.phone
  432. this.sjInfo.receiveMobile = this.telPhone
  433. this.sjInfo.receiveAddr = this.city
  434. this.sjInfo.receiveAddress = this.address
  435. this.$store.commit("getSjInfo3",this.sjInfo)
  436. }
  437. this.addshow=false
  438. this.name=""
  439. this.phone=""
  440. this.telPhone=""
  441. this.city=""
  442. this.address=""
  443. },
  444. close(){
  445. this.name=""
  446. this.phone=""
  447. this.telPhone=""
  448. this.city=""
  449. this.address=""
  450. },
  451. // 地址簿跳转
  452. link(obj){
  453. this.$router.push({path:'/Inaddressbook',query:{active:obj}})
  454. },
  455. //立即寄件交互
  456. save(){
  457. if(this.user.name == '' || this.user.name == undefined){
  458. Toast('请填写寄件人信息')
  459. return
  460. }
  461. if(this.sjname == '' || this.sjname == undefined ||
  462. this.sjadd == '' || this.sjadd == undefined){
  463. Toast('请填写收件人信息')
  464. return
  465. }
  466. if(this.expressInfo == '' || this.expressInfo == undefined){
  467. Toast('请选择快递公司')
  468. return
  469. }
  470. if(this.wptype == '' || this.wptype == undefined){
  471. Toast('请选择物品类型')
  472. return
  473. }
  474. if(this.stepper == '' || this.stepper == undefined){
  475. Toast('请选择数量')
  476. return
  477. }
  478. if(this.accountType == 1){//柜台
  479. if(this.goodOrderNo == ''){
  480. Toast('请填写调拨单号')
  481. return
  482. }
  483. }else{//没有绑定账号类型
  484. Toast('当前账号没有绑定账号类型,请联系管理员')
  485. return
  486. }
  487. if(this.addresstype == '店铺调拨'){
  488. this.addressTypeSend = '3'
  489. }else if(this.addresstype == '仓库'){
  490. this.addressTypeSend = '2'
  491. }else if(this.addresstype == '办公室'){
  492. this.addressTypeSend = '1'
  493. }
  494. if(this.check == false){
  495. Toast('请点击同意《电子运单契约条款》')
  496. return
  497. }
  498. Toast.loading({
  499. message: '保存中...',
  500. forbidClick: true,
  501. duration:0
  502. });
  503. this.$http.post(this.$store.state.host+"/sendMail/saveMail.do",{userId:this.userId,
  504. sender:this.user.name,
  505. senderPhone:this.user.phone,
  506. senderMobile:this.user.telephone,
  507. sendAddr:this.jjadd,
  508. sendAddress:this.jjaddress,
  509. receiver:this.sjInfo.receiver,
  510. receiverPhone:this.sjInfo.receiverPhone,
  511. receiveMobile:this.sjInfo.receiveMobile,
  512. receiveAddr:this.sjInfo.receiveAddr,
  513. receiveAddress:this.sjInfo.receiveAddress,
  514. expressInfo:this.expressInfo,
  515. itemType:this.wptype,
  516. mainType:this.mainType,
  517. weight:this.stepper,
  518. itemNum:this.stepper,
  519. payWay:this.pricetype,
  520. mainType:'公司件',
  521. expressType:'内部件',
  522. declaredValue:this.declaredValue,
  523. itemRemark:this.bz,
  524. expressPhone:this.expressPhone,
  525. innerType:this.innerType,
  526. goodOrderNo:this.goodOrderNo,
  527. addressType:this.addressTypeSend
  528. },{emulateJSON:true})
  529. .then(res=>{
  530. //发送成功
  531. if(res.body.msg=='success'){
  532. Toast("下单成功,快递员将尽快上门取件!")
  533. let that = this;
  534. setTimeout(function(){
  535. that.$router.push({path:'/'})
  536. },1000)
  537. }else if(res.body.msg != '' && res.body.msg != 'success'){
  538. Toast(res.body.msg);
  539. }else{
  540. Toast("寄件失败");
  541. }
  542. },res=>{
  543. //发送失败
  544. Toast("网络错误");
  545. })
  546. Toast.clear()
  547. }
  548. },
  549. computed:{
  550. areaList(){
  551. return areaList
  552. }
  553. }
  554. }
  555. </script>
  556. <style scoped lang="less">
  557. .content{
  558. .jjinfo{
  559. font-size: .24rem;
  560. color: #999999;
  561. padding: .33rem;
  562. word-break: break-word;
  563. >div{
  564. background: white;
  565. border-radius: .05rem;
  566. padding: .1rem .3rem;
  567. .jj{
  568. display: flex;
  569. justify-content: space-between;
  570. padding: .2rem 0rem;
  571. .jjaddress{
  572. display: flex;
  573. padding: .1rem 0rem;
  574. >p{
  575. font-size: .24rem;
  576. font-weight: bold;
  577. display: inline-block;
  578. width:.5rem;
  579. height: .5rem;
  580. background: #00c4b8;
  581. text-align: center;
  582. line-height: .5rem;
  583. color: white;
  584. border-radius: 50%;
  585. margin-right: .3rem;
  586. }
  587. div{
  588. //font-weight: bold;
  589. max-width: 4.2rem;
  590. p:nth-of-type(1){
  591. font-size: .24rem;
  592. color: #333;
  593. margin-bottom: .2rem;
  594. }
  595. p:nth-of-type(2){
  596. font-size: .3rem;
  597. }
  598. }
  599. }
  600. .dzb{
  601. text-align: center;
  602. border-left: .01rem solid #ededed;
  603. padding-left: .3rem;
  604. img{
  605. width:.39rem;
  606. height: .42rem;
  607. padding-top: .2rem;
  608. }
  609. p{
  610. font-size: .2rem;
  611. }
  612. }
  613. }
  614. }
  615. }
  616. .kdshow{
  617. font-size: .3rem;
  618. padding: .3rem 0px;
  619. width: 6.84rem;
  620. background: white;
  621. border-radius: .05rem;
  622. margin: 0rem auto .2rem;
  623. /deep/.van-cell{
  624. padding: 0px .3rem;
  625. overflow: unset;
  626. input{
  627. text-align: right;
  628. height: .5rem;
  629. padding-right: .25rem;
  630. }
  631. }
  632. /deep/.van-cell::after{
  633. content: "";
  634. display: inline-block;
  635. border-right: .01rem solid #b0b0b0;
  636. border-bottom: .01rem solid #b0b0b0;
  637. transform: rotate(-45deg);
  638. left: unset;
  639. position: absolute;
  640. right: .3rem;
  641. bottom: .15rem;
  642. width: .2rem;
  643. height: .2rem;
  644. }
  645. }
  646. .choose{
  647. font-size: .3rem;
  648. color: #999999;
  649. font-weight: bold;
  650. padding: 0rem .33rem;
  651. >div{
  652. background: white;
  653. padding: .3rem .3rem;
  654. border-radius: .05rem;
  655. .type_wp{
  656. display: flex;
  657. justify-content: center;
  658. div{
  659. flex: 1;
  660. text-align: center;
  661. p:nth-of-type(2){
  662. color: #333;
  663. margin-top: .2rem;
  664. font-size: .36rem;
  665. //position: relative;
  666. }
  667. }
  668. div:nth-of-type(1){
  669. border-right: .01rem solid #ededed;
  670. p:nth-of-type(2):after{
  671. content: "";
  672. display: inline-block;
  673. width: .15rem;
  674. height: .15rem;
  675. border-bottom: .01rem solid #999;
  676. border-right: .01rem solid #999;
  677. transform: rotate(45deg);
  678. margin-left: .15rem;
  679. position: relative;
  680. top: -.08rem;
  681. }
  682. }
  683. }
  684. .type_inner{
  685. display: flex;
  686. justify-content: center;
  687. div{
  688. flex: 1;
  689. text-align: center;
  690. p:nth-of-type(2){
  691. color: #333;
  692. margin-top: .2rem;
  693. font-size: .36rem;
  694. //position: relative;
  695. }
  696. p:nth-of-type(2):after{
  697. content: "";
  698. display: inline-block;
  699. width: .15rem;
  700. height: .15rem;
  701. border-bottom: .01rem solid #999;
  702. border-right: .01rem solid #999;
  703. transform: rotate(45deg);
  704. margin-left: .15rem;
  705. position: relative;
  706. top: -.08rem;
  707. }
  708. /* .inner_p{
  709. color: black;
  710. margin-top: .2rem;
  711. font-size: .36rem;
  712. } */
  713. }
  714. div:nth-of-type(2){
  715. border-right: .01rem solid #ededed;
  716. p:nth-of-type(2):after{
  717. content: "";
  718. display: inline-block;
  719. width: .15rem;
  720. height: .15rem;
  721. border-bottom: .01rem solid #999;
  722. border-right: .01rem solid #999;
  723. transform: rotate(45deg);
  724. margin-left: .15rem;
  725. position: relative;
  726. top: -.08rem;
  727. }
  728. }
  729. }
  730. }
  731. }
  732. .bz{
  733. padding: .33rem;
  734. font-size: .3rem;
  735. /deep/.van-field__value{
  736. input{
  737. text-align: right;
  738. }
  739. }
  740. }
  741. .check{
  742. font-size: .24rem;
  743. text-align: center;
  744. /deep/.van-checkbox{
  745. justify-content: center;
  746. .van-checkbox__label{
  747. color: #999;
  748. }
  749. }
  750. }
  751. .btn-jj{
  752. padding: .33rem;
  753. button{
  754. width: 100%;
  755. }
  756. }
  757. }
  758. .whrite_add{
  759. width: 6.6rem;
  760. padding: .4rem .2rem;
  761. /deep/.van-field__value{
  762. input{
  763. text-align: right;
  764. }
  765. }
  766. /deep/.van-popup__close-icon--top-right{
  767. top: 5px;
  768. right: 10px;
  769. }
  770. }
  771. </style>