order.vue 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424
  1. <template>
  2. <view>
  3. <view class="order">
  4. <u-tabs :list="list" :is-scroll="false" active-color="#FF7F00" inactive-color=" #666666" :bold="bold"
  5. :current="current" @change="change"></u-tabs>
  6. <!-- 全部 -->
  7. <view class="tabs_box" :class="{dis:current == 0}">
  8. <view class="order_box" v-for="(item,index) in lists" :key="index"
  9. @click="bindorderDetail(item.indentNumber,item.orderId)">
  10. <view class="order_success" v-if="item.indentState=='2'">
  11. <view class="order_name">待支付领取</view>
  12. <view class="order_data">{{item.receivingTime}}</view>
  13. </view>
  14. <view class="order_success" v-if="item.indentState=='3'">
  15. <view class="order_name">待取货</view>
  16. <view class="order_data">{{item.receivingTime}}</view>
  17. </view>
  18. <view class="order_success" v-if="item.indentState=='4'">
  19. <view class="order_name">配送中</view>
  20. <view class="order_data">{{item.receivingTime}}</view>
  21. </view>
  22. <view class="order_success" v-if="item.indentState=='5'">
  23. <view class="order_name">已完成</view>
  24. <view class="order_data">{{item.receivingTime}}</view>
  25. </view>
  26. <view class="order_success" v-if="item.indentState=='6'">
  27. <view class="order_name">已完成</view>
  28. <view class="order_data">{{item.receivingTime}}</view>
  29. </view>
  30. <view class="order_success" v-if="item.indentState=='7'">
  31. <view class="order_name">已完成</view>
  32. <view class="order_data">{{item.receivingTime}}</view>
  33. </view>
  34. <view class="order_success" v-if="item.indentState=='10'">
  35. <view class="order_name">已取消</view>
  36. <view class="order_data">{{item.receivingTime}}</view>
  37. </view>
  38. <view class="order_success" v-if="item.indentState=='9'">
  39. <view class="order_name">已取消</view>
  40. <view class="order_data">{{item.receivingTime}}</view>
  41. </view>
  42. <u-line color="#E6E6E6" />
  43. <view class="order_city">
  44. <view class="city_type">
  45. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  46. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  47. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  48. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  49. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  50. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  51. </view>
  52. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  53. <view class="fh_box">
  54. <view class="fh_image">
  55. <image src="../../static/image/icon_f.png"></image>
  56. </view>
  57. <view class="box">
  58. <view class="fh_name">{{item.shopAddressDetail}}</view>
  59. <view class="fh_type">{{item.shopName}}
  60. <text>{{item.shopPhone}}</text>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="sh_box">
  65. <view class="sh_image">
  66. <image src="../../static/image/icon_s.png"></image>
  67. </view>
  68. <view class="box">
  69. <view class="sh_name">{{item.userAddressDetail}}</view>
  70. <view class="sh_type">{{item.userName}}
  71. <text>{{item.userPhone}}</text>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="city_address" v-if="item.indentType == 3">
  77. <view class="fh_box" v-if="item.buy_type == 1">
  78. <view class="fh_image">
  79. <image src="../../static/image/icon_f.png"></image>
  80. </view>
  81. <view class="box">
  82. <view class="fh_name">{{item.shopAddressDetail}}</view>
  83. <view class="fh_type">{{item.shopName}}
  84. <text>{{item.shopPhone}}</text>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="sh_box">
  89. <view class="sh_image">
  90. <image src="../../static/image/icon_s.png"></image>
  91. </view>
  92. <view class="box">
  93. <view class="sh_name">{{item.userAddressDetail}}</view>
  94. <view class="sh_type">{{item.userName}}
  95. <text>{{item.userPhone}}</text>
  96. </view>
  97. </view>
  98. </view>
  99. </view>
  100. <view class="city_address" v-if="item.indentType == 4">
  101. <view class="sh_box">
  102. <view class="sh_image">
  103. <image src="../../static/image/icon_s.png"></image>
  104. </view>
  105. <view class="box">
  106. <view class="sh_name">{{item.userAddressDetail}}</view>
  107. <view class="sh_type">{{item.userName}}
  108. <text>{{item.userPhone}}</text>
  109. </view>
  110. </view>
  111. </view>
  112. </view>
  113. <view class="city_address" v-if="item.indentType == 5">
  114. <view class="fh_box" v-if="item.buy_type == 1">
  115. <view class="fh_image">
  116. <image src="../../static/image/icon_f.png"></image>
  117. </view>
  118. <view class="box">
  119. <view class="fh_name">{{item.shopAddressDetail}}</view>
  120. <view class="fh_type">{{item.shopName}}
  121. <text>{{item.shopPhone}}</text>
  122. </view>
  123. </view>
  124. </view>
  125. <view class="sh_box">
  126. <view class="sh_image">
  127. <image src="../../static/image/icon_s.png"></image>
  128. </view>
  129. <view class="box">
  130. <view class="sh_name">{{item.userAddressDetail}}</view>
  131. <view class="sh_type">{{item.userName}}
  132. <text>{{item.userPhone}}</text>
  133. </view>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. <u-line color="#E6E6E6" />
  139. <view class="order_btn">
  140. <view class="btn1" v-if="item.indentState=='3'" @click.stop="quxiao(item.indentNumber)">取消订单
  141. </view>
  142. <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
  143. <view class="btn2" v-if="item.indentState=='3'" @click.stop="quhuo(item.indentId)">确认取货</view>
  144. <view class="btn2" v-if="item.indentState=='4'" @click.stop="onshow(item)">确认送达</view>
  145. <view class="btn2" v-if="item.indentState=='9'">已取消</view>
  146. <view class="btn2" v-if="item.indentState=='10'">已取消</view>
  147. </view>
  148. </view>
  149. </view>
  150. <!-- 待取货 -->
  151. <view class="tabs_box" :class="{dis:current == 1}">
  152. <view class="order_box" v-for="(item,index) in lists" :key="index"
  153. @click="bindorderDetail(item.indentNumber,item.orderId)">
  154. <view class="order_success" v-if="item.indentState=='2'">
  155. <view class="order_name">待支付领取</view>
  156. <view class="order_data">{{item.receivingTime}}</view>
  157. </view>
  158. <view class="order_success" v-if="item.indentState=='3'">
  159. <view class="order_name">待取货</view>
  160. <view class="order_data">{{item.receivingTime}}</view>
  161. </view>
  162. <u-line color="#E6E6E6" />
  163. <view class="order_city">
  164. <view class="city_type">
  165. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  166. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  167. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  168. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  169. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  170. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  171. </view>
  172. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  173. <view class="fh_box">
  174. <view class="fh_image">
  175. <image src="../../static/image/icon_f.png"></image>
  176. </view>
  177. <view class="box">
  178. <view class="fh_name">{{item.shopAddressDetail}}</view>
  179. <view class="fh_type">{{item.shopName}}
  180. <text>{{item.shopPhone}}</text>
  181. </view>
  182. </view>
  183. </view>
  184. <view class="sh_box">
  185. <view class="sh_image">
  186. <image src="../../static/image/icon_s.png"></image>
  187. </view>
  188. <view class="box">
  189. <view class="sh_name">{{item.userAddressDetail}}</view>
  190. <view class="sh_type">{{item.userName}}
  191. <text>{{item.userPhone}}</text>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <view class="city_address" v-if="item.indentType == 3">
  197. <view class="fh_box" v-if="item.buy_type == 1">
  198. <view class="fh_image">
  199. <image src="../../static/image/icon_f.png"></image>
  200. </view>
  201. <view class="box">
  202. <view class="fh_name">{{item.shopAddressDetail}}</view>
  203. <view class="fh_type">{{item.shopName}}
  204. <text>{{item.shopPhone}}</text>
  205. </view>
  206. </view>
  207. </view>
  208. <view class="sh_box">
  209. <view class="sh_image">
  210. <image src="../../static/image/icon_s.png"></image>
  211. </view>
  212. <view class="box">
  213. <view class="sh_name">{{item.userAddressDetail}}</view>
  214. <view class="sh_type">{{item.userName}}
  215. <text>{{item.userPhone}}</text>
  216. </view>
  217. </view>
  218. </view>
  219. </view>
  220. <view class="city_address" v-if="item.indentType == 4">
  221. <view class="sh_box">
  222. <view class="sh_image">
  223. <image src="../../static/image/icon_s.png"></image>
  224. </view>
  225. <view class="box">
  226. <view class="sh_name">{{item.userAddressDetail}}</view>
  227. <view class="sh_type">{{item.userName}}
  228. <text>{{item.userPhone}}</text>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. <view class="city_address" v-if="item.indentType == 5">
  234. <view class="fh_box" v-if="item.buy_type == 1">
  235. <view class="fh_image">
  236. <image src="../../static/image/icon_f.png"></image>
  237. </view>
  238. <view class="box">
  239. <view class="fh_name">{{item.shopAddressDetail}}</view>
  240. <view class="fh_type">{{item.shopName}}
  241. <text>{{item.shopPhone}}</text>
  242. </view>
  243. </view>
  244. </view>
  245. <view class="sh_box">
  246. <view class="sh_image">
  247. <image src="../../static/image/icon_s.png"></image>
  248. </view>
  249. <view class="box">
  250. <view class="sh_name">{{item.userAddressDetail}}</view>
  251. <view class="sh_type">{{item.userName}}
  252. <text>{{item.userPhone}}</text>
  253. </view>
  254. </view>
  255. </view>
  256. </view>
  257. </view>
  258. <u-line color="#E6E6E6" />
  259. <view class="order_btn">
  260. <view class="btn1" v-if="item.indentState=='3'" @click.stop="quxiao(item.indentNumber)">取消订单
  261. </view>
  262. <view class="btn2" v-if="item.indentState=='3'" @click.stop="quhuo(item.indentId)">确认取货</view>
  263. </view>
  264. </view>
  265. </view>
  266. <!-- 配送中 -->
  267. <view class="tabs_box" :class="{dis:current == 2}">
  268. <view class="order_box" v-for="(item,index) in lists" :key="index"
  269. @click="bindorderDetail(item.indentNumber,item.orderId)">
  270. <view class="order_success" v-if="item.indentState=='4'">
  271. <view class="order_name">配送中</view>
  272. <view class="order_data">{{item.receivingTime}}</view>
  273. </view>
  274. <view class="order_success" v-if="item.indentState=='5'">
  275. <view class="order_name">已完成</view>
  276. <view class="order_data">{{item.receivingTime}}</view>
  277. </view>
  278. <view class="order_success" v-if="item.indentState=='6'">
  279. <view class="order_name">已完成</view>
  280. <view class="order_data">{{item.receivingTime}}</view>
  281. </view>
  282. <view class="order_success" v-if="item.indentState=='7'">
  283. <view class="order_name">已完成</view>
  284. <view class="order_data">{{item.receivingTime}}</view>
  285. </view>
  286. <u-line color="#E6E6E6" />
  287. <view class="order_city">
  288. <view class="city_type">
  289. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  290. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  291. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  292. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  293. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  294. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  295. </view>
  296. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  297. <view class="fh_box">
  298. <view class="fh_image">
  299. <image src="../../static/image/icon_f.png"></image>
  300. </view>
  301. <view class="box">
  302. <view class="fh_name">{{item.shopAddressDetail}}</view>
  303. <view class="fh_type">{{item.shopName}}
  304. <text>{{item.shopPhone}}</text>
  305. </view>
  306. </view>
  307. </view>
  308. <view class="sh_box">
  309. <view class="sh_image">
  310. <image src="../../static/image/icon_s.png"></image>
  311. </view>
  312. <view class="box">
  313. <view class="sh_name">{{item.userAddressDetail}}</view>
  314. <view class="sh_type">{{item.userName}}
  315. <text>{{item.userPhone}}</text>
  316. </view>
  317. </view>
  318. </view>
  319. </view>
  320. <view class="city_address" v-if="item.indentType == 3">
  321. <view class="fh_box" v-if="item.buy_type == 1">
  322. <view class="fh_image">
  323. <image src="../../static/image/icon_f.png"></image>
  324. </view>
  325. <view class="box">
  326. <view class="fh_name">{{item.shopAddressDetail}}</view>
  327. <view class="fh_type">{{item.shopName}}
  328. <text>{{item.shopPhone}}</text>
  329. </view>
  330. </view>
  331. </view>
  332. <view class="sh_box">
  333. <view class="sh_image">
  334. <image src="../../static/image/icon_s.png"></image>
  335. </view>
  336. <view class="box">
  337. <view class="sh_name">{{item.userAddressDetail}}</view>
  338. <view class="sh_type">{{item.userName}}
  339. <text>{{item.userPhone}}</text>
  340. </view>
  341. </view>
  342. </view>
  343. </view>
  344. <view class="city_address" v-if="item.indentType == 4">
  345. <view class="sh_box">
  346. <view class="sh_image">
  347. <image src="../../static/image/icon_s.png"></image>
  348. </view>
  349. <view class="box">
  350. <view class="sh_name">{{item.userAddressDetail}}</view>
  351. <view class="sh_type">{{item.userName}}
  352. <text>{{item.userPhone}}</text>
  353. </view>
  354. </view>
  355. </view>
  356. </view>
  357. <view class="city_address" v-if="item.indentType == 5">
  358. <view class="fh_box" v-if="item.buy_type == 1">
  359. <view class="fh_image">
  360. <image src="../../static/image/icon_f.png"></image>
  361. </view>
  362. <view class="box">
  363. <view class="fh_name">{{item.shopAddressDetail}}</view>
  364. <view class="fh_type">{{item.shopName}}
  365. <text>{{item.shopPhone}}</text>
  366. </view>
  367. </view>
  368. </view>
  369. <view class="sh_box">
  370. <view class="sh_image">
  371. <image src="../../static/image/icon_s.png"></image>
  372. </view>
  373. <view class="box">
  374. <view class="sh_name">{{item.userAddressDetail}}</view>
  375. <view class="sh_type">{{item.userName}}
  376. <text>{{item.userPhone}}</text>
  377. </view>
  378. </view>
  379. </view>
  380. </view>
  381. </view>
  382. <u-line color="#E6E6E6" />
  383. <view class="order_btn">
  384. <view class="btn1" v-if="item.indentState=='3'">取消订单</view>
  385. <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
  386. <view class="btn2" v-if="item.indentState=='3'" @click.stop="quhuo(item.indentId)">确认取货</view>
  387. <view class="btn2" v-if="item.indentState=='4'" @click.stop="onshow(item)">确认送达</view>
  388. <view class="btn2" v-if="item.indentState=='9'">已取消</view>
  389. </view>
  390. </view>
  391. </view>
  392. <!-- 配送完 -->
  393. <view class="tabs_box" :class="{dis:current == 3}">
  394. <view class="order_box" v-for="(item,index) in lists" :key="index"
  395. @click="bindorderDetail(item.indentNumber,item.orderId)">
  396. <!-- <view class="order_success" v-if="item.indentState=='4'">
  397. <view class="order_name">配送中</view>
  398. <view class="order_data">{{item.receivingTime}}</view>
  399. </view> -->
  400. <view class="order_success" v-if="item.indentState=='5'">
  401. <view class="order_name">已完成</view>
  402. <view class="order_data">{{item.receivingTime}}</view>
  403. </view>
  404. <view class="order_success" v-if="item.indentState=='6'">
  405. <view class="order_name">已完成</view>
  406. <view class="order_data">{{item.receivingTime}}</view>
  407. </view>
  408. <view class="order_success" v-if="item.indentState=='7'">
  409. <view class="order_name">已完成</view>
  410. <view class="order_data">{{item.receivingTime}}</view>
  411. </view>
  412. <u-line color="#E6E6E6" />
  413. <view class="order_city">
  414. <view class="city_type">
  415. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  416. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  417. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  418. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  419. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  420. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  421. </view>
  422. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  423. <view class="fh_box">
  424. <view class="fh_image">
  425. <image src="../../static/image/icon_f.png"></image>
  426. </view>
  427. <view class="box">
  428. <view class="fh_name">{{item.shopAddressDetail}}</view>
  429. <view class="fh_type">{{item.shopName}}
  430. <text>{{item.shopPhone}}</text>
  431. </view>
  432. </view>
  433. </view>
  434. <view class="sh_box">
  435. <view class="sh_image">
  436. <image src="../../static/image/icon_s.png"></image>
  437. </view>
  438. <view class="box">
  439. <view class="sh_name">{{item.userAddressDetail}}</view>
  440. <view class="sh_type">{{item.userName}}
  441. <text>{{item.userPhone}}</text>
  442. </view>
  443. </view>
  444. </view>
  445. </view>
  446. <view class="city_address" v-if="item.indentType == 3">
  447. <view class="fh_box" v-if="item.buy_type == 1">
  448. <view class="fh_image">
  449. <image src="../../static/image/icon_f.png"></image>
  450. </view>
  451. <view class="box">
  452. <view class="fh_name">{{item.shopAddressDetail}}</view>
  453. <view class="fh_type">{{item.shopName}}
  454. <text>{{item.shopPhone}}</text>
  455. </view>
  456. </view>
  457. </view>
  458. <view class="sh_box">
  459. <view class="sh_image">
  460. <image src="../../static/image/icon_s.png"></image>
  461. </view>
  462. <view class="box">
  463. <view class="sh_name">{{item.userAddressDetail}}</view>
  464. <view class="sh_type">{{item.userName}}
  465. <text>{{item.userPhone}}</text>
  466. </view>
  467. </view>
  468. </view>
  469. </view>
  470. <view class="city_address" v-if="item.indentType == 4">
  471. <view class="sh_box">
  472. <view class="sh_image">
  473. <image src="../../static/image/icon_s.png"></image>
  474. </view>
  475. <view class="box">
  476. <view class="sh_name">{{item.userAddressDetail}}</view>
  477. <view class="sh_type">{{item.userName}}
  478. <text>{{item.userPhone}}</text>
  479. </view>
  480. </view>
  481. </view>
  482. </view>
  483. <view class="city_address" v-if="item.indentType == 5">
  484. <view class="fh_box" v-if="item.buy_type == 1">
  485. <view class="fh_image">
  486. <image src="../../static/image/icon_f.png"></image>
  487. </view>
  488. <view class="box">
  489. <view class="fh_name">{{item.shopAddressDetail}}</view>
  490. <view class="fh_type">{{item.shopName}}
  491. <text>{{item.shopPhone}}</text>
  492. </view>
  493. </view>
  494. </view>
  495. <view class="sh_box">
  496. <view class="sh_image">
  497. <image src="../../static/image/icon_s.png"></image>
  498. </view>
  499. <view class="box">
  500. <view class="sh_name">{{item.userAddressDetail}}</view>
  501. <view class="sh_type">{{item.userName}}
  502. <text>{{item.userPhone}}</text>
  503. </view>
  504. </view>
  505. </view>
  506. </view>
  507. </view>
  508. <u-line color="#E6E6E6" />
  509. <view class="order_btn">
  510. <view class="btn1" v-if="item.indentState=='3'">取消订单</view>
  511. <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
  512. <view class="btn2" v-if="item.indentState=='3'" @click="quhuo(item.indentId)">确认取货</view>
  513. <view class="btn2" v-if="item.indentState=='4'" @click="onshow(item)">确认送达</view>
  514. <view class="btn2" v-if="item.indentState=='9'">已取消</view>
  515. </view>
  516. </view>
  517. </view>
  518. <!-- 已完成 -->
  519. <view class="tabs_box" :class="{dis:current == 4}">
  520. <view class="order_box" v-for="(item,index) in lists" :key="index"
  521. @click="bindorderDetail(item.indentNumber,item.orderId)">
  522. <view class="order_success" v-if="item.indentState=='4'">
  523. <view class="order_name">配送中</view>
  524. <view class="order_data">{{item.receivingTime}}</view>
  525. </view>
  526. <view class="order_success" v-if="item.indentState=='5'">
  527. <view class="order_name">已完成</view>
  528. <view class="order_data">{{item.receivingTime}}</view>
  529. </view>
  530. <view class="order_success" v-if="item.indentState=='6'">
  531. <view class="order_name">已完成</view>
  532. <view class="order_data">{{item.receivingTime}}</view>
  533. </view>
  534. <view class="order_success" v-if="item.indentState=='7'">
  535. <view class="order_name">已完成</view>
  536. <view class="order_data">{{item.receivingTime}}</view>
  537. </view>
  538. <u-line color="#E6E6E6" />
  539. <view class="order_city">
  540. <view class="city_type">
  541. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  542. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  543. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  544. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  545. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  546. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  547. </view>
  548. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  549. <view class="fh_box">
  550. <view class="fh_image">
  551. <image src="../../static/image/icon_f.png"></image>
  552. </view>
  553. <view class="box">
  554. <view class="fh_name">{{item.shopAddressDetail}}</view>
  555. <view class="fh_type">{{item.shopName}}
  556. <text>{{item.shopPhone}}</text>
  557. </view>
  558. </view>
  559. </view>
  560. <view class="sh_box">
  561. <view class="sh_image">
  562. <image src="../../static/image/icon_s.png"></image>
  563. </view>
  564. <view class="box">
  565. <view class="sh_name">{{item.userAddressDetail}}</view>
  566. <view class="sh_type">{{item.userName}}
  567. <text>{{item.userPhone}}</text>
  568. </view>
  569. </view>
  570. </view>
  571. </view>
  572. <view class="city_address" v-if="item.indentType == 3">
  573. <view class="fh_box" v-if="item.buy_type == 1">
  574. <view class="fh_image">
  575. <image src="../../static/image/icon_f.png"></image>
  576. </view>
  577. <view class="box">
  578. <view class="fh_name">{{item.shopAddressDetail}}</view>
  579. <view class="fh_type">{{item.shopName}}
  580. <text>{{item.shopPhone}}</text>
  581. </view>
  582. </view>
  583. </view>
  584. <view class="sh_box">
  585. <view class="sh_image">
  586. <image src="../../static/image/icon_s.png"></image>
  587. </view>
  588. <view class="box">
  589. <view class="sh_name">{{item.userAddressDetail}}</view>
  590. <view class="sh_type">{{item.userName}}
  591. <text>{{item.userPhone}}</text>
  592. </view>
  593. </view>
  594. </view>
  595. </view>
  596. <view class="city_address" v-if="item.indentType == 4">
  597. <view class="sh_box">
  598. <view class="sh_image">
  599. <image src="../../static/image/icon_s.png"></image>
  600. </view>
  601. <view class="box">
  602. <view class="sh_name">{{item.userAddressDetail}}</view>
  603. <view class="sh_type">{{item.userName}}
  604. <text>{{item.userPhone}}</text>
  605. </view>
  606. </view>
  607. </view>
  608. </view>
  609. <view class="city_address" v-if="item.indentType == 5">
  610. <view class="fh_box" v-if="item.buy_type == 1">
  611. <view class="fh_image">
  612. <image src="../../static/image/icon_f.png"></image>
  613. </view>
  614. <view class="box">
  615. <view class="fh_name">{{item.shopAddressDetail}}</view>
  616. <view class="fh_type">{{item.shopName}}
  617. <text>{{item.shopPhone}}</text>
  618. </view>
  619. </view>
  620. </view>
  621. <view class="sh_box">
  622. <view class="sh_image">
  623. <image src="../../static/image/icon_s.png"></image>
  624. </view>
  625. <view class="box">
  626. <view class="sh_name">{{item.userAddressDetail}}</view>
  627. <view class="sh_type">{{item.userName}}
  628. <text>{{item.userPhone}}</text>
  629. </view>
  630. </view>
  631. </view>
  632. </view>
  633. </view>
  634. <u-line color="#E6E6E6" />
  635. <view class="order_btn">
  636. <view class="btn1" v-if="item.indentState=='3'">取消订单</view>
  637. <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
  638. <view class="btn2" v-if="item.indentState=='3'" @click="quhuo(item.indentId)">确认取货</view>
  639. <view class="btn2" v-if="item.indentState=='4'" @click="onshow(item)">确认送达</view>
  640. <view class="btn2" v-if="item.indentState=='9'">已取消</view>
  641. </view>
  642. </view>
  643. </view>
  644. <!-- 已取消 -->
  645. <view class="tabs_box" :class="{dis:current == 5}">
  646. <view class="order_box" v-for="(item,index) in lists" :key="index"
  647. @click="bindorderDetail(item.indentNumber,item.orderId)">
  648. <view class="order_success" v-if="item.indentState=='4'">
  649. <view class="order_name">配送中</view>
  650. <view class="order_data">{{item.receivingTime}}</view>
  651. </view>
  652. <view class="order_success" v-if="item.indentState=='5'">
  653. <view class="order_name">已完成</view>
  654. <view class="order_data">{{item.receivingTime}}</view>
  655. </view>
  656. <view class="order_success" v-if="item.indentState=='6'">
  657. <view class="order_name">已完成</view>
  658. <view class="order_data">{{item.receivingTime}}</view>
  659. </view>
  660. <view class="order_success" v-if="item.indentState=='9'">
  661. <view class="order_name">已取消</view>
  662. <view class="order_data">{{item.receivingTime}}</view>
  663. </view>
  664. <u-line color="#E6E6E6" />
  665. <view class="order_city">
  666. <view class="city_type">
  667. <view class="type_name" v-if="item.indentType == 1">帮我送</view>
  668. <view class="type_name" v-if="item.indentType == 2">帮我取</view>
  669. <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
  670. <view class="type_name" v-if="item.indentType == 4">同城服务</view>
  671. <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
  672. <view class="city_text" v-if="item.itemType">{{item.itemType}}</view>
  673. </view>
  674. <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
  675. <view class="fh_box">
  676. <view class="fh_image">
  677. <image src="../../static/image/icon_f.png"></image>
  678. </view>
  679. <view class="box">
  680. <view class="fh_name">{{item.shopAddressDetail}}</view>
  681. <view class="fh_type">{{item.shopName}}
  682. <text>{{item.shopPhone}}</text>
  683. </view>
  684. </view>
  685. </view>
  686. <view class="sh_box">
  687. <view class="sh_image">
  688. <image src="../../static/image/icon_s.png"></image>
  689. </view>
  690. <view class="box">
  691. <view class="sh_name">{{item.userAddressDetail}}</view>
  692. <view class="sh_type">{{item.userName}}
  693. <text>{{item.userPhone}}</text>
  694. </view>
  695. </view>
  696. </view>
  697. </view>
  698. <view class="city_address" v-if="item.indentType == 3">
  699. <view class="fh_box" v-if="item.buy_type == 1">
  700. <view class="fh_image">
  701. <image src="../../static/image/icon_f.png"></image>
  702. </view>
  703. <view class="box">
  704. <view class="fh_name">{{item.shopAddressDetail}}</view>
  705. <view class="fh_type">{{item.shopName}}
  706. <text>{{item.shopPhone}}</text>
  707. </view>
  708. </view>
  709. </view>
  710. <view class="sh_box">
  711. <view class="sh_image">
  712. <image src="../../static/image/icon_s.png"></image>
  713. </view>
  714. <view class="box">
  715. <view class="sh_name">{{item.userAddressDetail}}</view>
  716. <view class="sh_type">{{item.userName}}
  717. <text>{{item.userPhone}}</text>
  718. </view>
  719. </view>
  720. </view>
  721. </view>
  722. <view class="city_address" v-if="item.indentType == 4">
  723. <view class="sh_box">
  724. <view class="sh_image">
  725. <image src="../../static/image/icon_s.png"></image>
  726. </view>
  727. <view class="box">
  728. <view class="sh_name">{{item.userAddressDetail}}</view>
  729. <view class="sh_type">{{item.userName}}
  730. <text>{{item.userPhone}}</text>
  731. </view>
  732. </view>
  733. </view>
  734. </view>
  735. <view class="city_address" v-if="item.indentType == 5">
  736. <view class="fh_box" v-if="item.buy_type == 1">
  737. <view class="fh_image">
  738. <image src="../../static/image/icon_f.png"></image>
  739. </view>
  740. <view class="box">
  741. <view class="fh_name">{{item.shopAddressDetail}}</view>
  742. <view class="fh_type">{{item.shopName}}
  743. <text>{{item.shopPhone}}</text>
  744. </view>
  745. </view>
  746. </view>
  747. <view class="sh_box">
  748. <view class="sh_image">
  749. <image src="../../static/image/icon_s.png"></image>
  750. </view>
  751. <view class="box">
  752. <view class="sh_name">{{item.userAddressDetail}}</view>
  753. <view class="sh_type">{{item.userName}}
  754. <text>{{item.userPhone}}</text>
  755. </view>
  756. </view>
  757. </view>
  758. </view>
  759. </view>
  760. <u-line color="#E6E6E6" />
  761. <view class="order_btn">
  762. <view class="btn2" v-if="item.indentState=='9'">已取消</view>
  763. </view>
  764. </view>
  765. </view>
  766. <empty v-if="lists.length == 0"></empty>
  767. <!-- 收货码弹框 -->
  768. <u-popup v-model="shows" mode="center" border-radius="18" :closeable="closeable" close-icon="close-circle"
  769. close-icon-size="45" width="580rpx" height="400rpx">
  770. <view class="receipt_code">
  771. <view class="code_title">填写收货码</view>
  772. <u-input v-model="shouhuoma" type="text" placeholder="请输入收货码" :border="true" />
  773. <view class="sure" @click="querenSh">确定</view>
  774. </view>
  775. </u-popup>
  776. <!-- 确认收货拍照弹出框 -->
  777. <u-popup v-model="alertPhone" mode="center" border-radius="18" :closeable="closeable" close-icon="close-circle"
  778. close-icon-size="45" width="680rpx" height="900rpx" @close="onclose">
  779. <view class="receipt_code">
  780. <view class="phone_title">图片凭证</view>
  781. <view class="phone_title2">请在确认外卖送达后、通过拍照,进行现场还原</view>
  782. <view>
  783. <view class="flex" style="overflow: hidden;flex-wrap: wrap;">
  784. <view v-if="goodsPicture.length">
  785. <view class="margin-top flex margin-right-sm flex-wrap">
  786. <view class="flex"
  787. style="width: 200rpx;height: 200rpx;margin-right: 2rpx;position: relative;"
  788. v-for="(image,index) in goodsPicture" :key="index">
  789. <image :src="image" style="width: 100%;height: 100%;"></image>
  790. <view style="z-index: 9;position: absolute;top: -15rpx;right: -15rpx;"
  791. @click="removeImg(index,'lb')">
  792. <u-icon name="close-circle-fill" color="#FCD202" size="50rpx"></u-icon>
  793. </view>
  794. </view>
  795. </view>
  796. </view>
  797. <view class="margin-top" @click="addImages(1)" v-if="goodsPicture.length<=1">
  798. <view style="width: 200rpx;height: 200rpx;background: #f4f5f6;"
  799. class="flex justify-center align-center">
  800. <view>
  801. <view class="text-center">
  802. <image src="../../static/addimg.png" style="width: 65rpx;height: 55rpx;">
  803. </image>
  804. </view>
  805. <view class="text-center text-black">添加图片</view>
  806. </view>
  807. </view>
  808. </view>
  809. </view>
  810. </view>
  811. <view class="receipt_code" v-if="alertduan">
  812. <view class="code_title">是否确认送达</view>
  813. <view class="code_title2">已选订单:1单</view>
  814. <view class="code_title2">通知形式:短信</view>
  815. <view class="code_title2">通知内容:{{duanxin[0].templateContent.substring(0, 21)}}{{qiPhone}}</view>
  816. <view class="sure" @click="querenSh">确认送达</view>
  817. </view>
  818. <!-- <view class="sure" @click="querenduanxin">确认拍照</view> -->
  819. </view>
  820. </u-popup>
  821. <!-- 确认收货选择短信框 -->
  822. <!-- <u-popup v-model="alertduan" mode="center" border-radius="18" :closeable="closeable" close-icon="close-circle"
  823. close-icon-size="45" width="680rpx" height="600rpx">
  824. <view class="receipt_code">
  825. <view class="code_title">是否确认送达</view>
  826. <view class="code_title2">已选订单:1单</view>
  827. <view class="code_title2">通知形式:短信</view>
  828. <view class="code_title2">通知内容:{{duanxin[0].templateContent.substring(0, 21)}}{{qiPhone}}</view>
  829. <view class="sure" @click="querenSh">确认送达</view>
  830. </view>
  831. </u-popup> -->
  832. </view>
  833. </view>
  834. </template>
  835. <script>
  836. import empty from '@/components/empty'
  837. import configdata from '@/common/config.js';
  838. export default {
  839. components: {
  840. empty
  841. },
  842. data() {
  843. return {
  844. shows: false,
  845. alertPhone:false,//确认收货拍照弹出框
  846. alertduan:false,//确认收货选择短信框
  847. closeable: true,
  848. shouhuoma: '',
  849. list: [{
  850. name: '全部'
  851. }, {
  852. name: '待取货'
  853. }, {
  854. name: '配送中'
  855. }, {
  856. name: '已完成'
  857. }],
  858. current: 0,
  859. bold: false,
  860. page: 1,
  861. limit: 5,
  862. order: [],
  863. lists: [],
  864. totalCount: 0,
  865. longitude: '', //经度
  866. latitude: '', //纬度
  867. indentState: '', //订单状态
  868. indentNumber: '', //订单号
  869. goodsPicture: [],
  870. count: 3,
  871. duanxin:[],//发送的短信
  872. qiPhone:'',//骑手电话
  873. }
  874. },
  875. onLoad() {
  876. this.qiPhone=uni.getStorageSync('phone')
  877. var that = this
  878. uni.getLocation({
  879. type: 'wgs84',
  880. success: function(res) {
  881. console.log('当前位置的经度:' + res.longitude);
  882. console.log('当前位置的纬度:' + res.latitude);
  883. that.longitude = res.longitude
  884. that.latitude = res.latitude
  885. that.taskData()
  886. }
  887. });
  888. },
  889. onShow() {
  890. let zhuandan = this.$queue.getData('zhuandan');
  891. if (zhuandan) {
  892. this.$queue.remove('zhuandan');
  893. this.page = 1;
  894. this.taskData();
  895. }
  896. },
  897. methods: {
  898. change(index) {
  899. uni.showLoading({
  900. title: '加载中......',
  901. icon: 'none'
  902. })
  903. this.current = index;
  904. this.lists = []
  905. this.page = 1;
  906. if (index == 0) {
  907. this.indentState = ''
  908. }
  909. if (index == 1) {
  910. this.indentState = 3
  911. }
  912. if (index == 2) {
  913. this.indentState = 4
  914. }
  915. if (index == 3) {
  916. this.indentState = 6
  917. }
  918. if (index == 4) {
  919. this.indentState = 9
  920. }
  921. this.taskData()
  922. },
  923. // 订单获取
  924. taskData() {
  925. uni.showLoading({
  926. title: '加载中......',
  927. icon: 'none'
  928. })
  929. this.$Request.getT('/app/tbindent/findRiderIndent', {
  930. page: this.page,
  931. limit: 10,
  932. indentState: this.indentState
  933. }).then(res => {
  934. uni.hideLoading()
  935. if (this.page == 1) {
  936. this.lists = res.data.list
  937. } else {
  938. this.lists = this.lists.concat(res.data.list)
  939. }
  940. for (var i in this.lists) {
  941. if (this.lists[i].distanceInitial > 1000) {
  942. this.lists[i].distanceInitials = (Number(this.lists[i].distanceInitial) / 100)
  943. .toFixed(2)
  944. }
  945. if (this.lists[i].distance > 1000) {
  946. this.lists[i].distances = (Number(this.lists[i].distance) / 100).toFixed(2)
  947. }
  948. }
  949. console.log('lists', this.lists)
  950. this.totalCount = res.data.totalCount
  951. uni.stopPullDownRefresh();
  952. });
  953. },
  954. // 订单详情
  955. bindorderDetail(indentNumber, orderId) {
  956. console.log(indentNumber, orderId)
  957. uni.navigateTo({
  958. url: '/pages/index/orderdetail/orderdetail?id=' + indentNumber + '&orderId=' + orderId
  959. })
  960. },
  961. // 取消订单
  962. quxiao(indentNumber) {
  963. let that = this
  964. console.log('indentNumber', indentNumber)
  965. uni.showModal({
  966. title: '取消订单将会被扣保证金',
  967. content: '',
  968. cancelText: '取消',
  969. confirmText: '确认'
  970. }).then(res => {
  971. that.$Request.postT('/app/tbindent/riderCancleIndent', {
  972. indentNumber: indentNumber
  973. }).then(res => {
  974. console.log(res)
  975. if (res.code == 0) {
  976. that.page = 1
  977. that.taskData()
  978. uni.showToast({
  979. title: '订单已取消',
  980. icon: "none"
  981. });
  982. } else {
  983. uni.showToast({
  984. title: res.msg,
  985. icon: "none"
  986. });
  987. }
  988. });
  989. }).catch(err => {})
  990. },
  991. quhuo(indentId) {
  992. let that = this
  993. uni.showModal({
  994. title: '提示',
  995. content: '确认取到货吗',
  996. success: function(res) {
  997. if (res.confirm) {
  998. that.$Request.postJson('/app/tbindent/riderBuyGoods', {
  999. indentId: indentId,
  1000. indentState: 4
  1001. }).then(res => {
  1002. if (res.code == 0) {
  1003. that.page = 1
  1004. that.taskData()
  1005. uni.showToast({
  1006. title: '确认取货成功',
  1007. icon: "none"
  1008. });
  1009. } else {
  1010. uni.showToast({
  1011. title: res.msg,
  1012. icon: "none"
  1013. });
  1014. }
  1015. });
  1016. }
  1017. }
  1018. })
  1019. },
  1020. onshow(e) {
  1021. this.indentNumber = e.indentNumber
  1022. if (e.itemCodeFlag == 0) {
  1023. this.shows = true
  1024. } else {
  1025. //需拍照的弹出框
  1026. this.alertPhone=true
  1027. // this.querenSh()
  1028. }
  1029. },
  1030. // 图片上传
  1031. addImages(e) {
  1032. if (e == 1) {
  1033. var num = this.goodsPicture.length
  1034. this.count = 2 - num
  1035. }
  1036. let that = this
  1037. uni.chooseImage({
  1038. count: this.count,
  1039. sourceType: ['camera'],
  1040. success: res => {
  1041. for (let i = 0; i < res.tempFilePaths.length; i++) {
  1042. that.$queue.showLoading("上传中...");
  1043. uni.uploadFile({ // 上传接口
  1044. url: that.config("APIHOST1") + '/alioss/upload', //真实的接口地址
  1045. // url: 'https://mxys.chuanghai-tech.com/sqx_fast/alioss/upload',
  1046. filePath: res.tempFilePaths[i],
  1047. name: 'file',
  1048. success: (uploadFileRes) => {
  1049. if (e == 1) {
  1050. if (that.goodsPicture.length < 2) {
  1051. that.goodsPicture.push(JSON.parse(uploadFileRes.data)
  1052. .data)
  1053. }
  1054. }
  1055. uni.hideLoading();
  1056. this.querenduanxin()
  1057. }
  1058. });
  1059. }
  1060. }
  1061. })
  1062. },
  1063. // 图片删除
  1064. removeImg(index, texts) {
  1065. if (texts == 'lb') {
  1066. this.goodsPicture.splice(index, 1)
  1067. }
  1068. },
  1069. config: function(name) {
  1070. var info = null;
  1071. if (name) {
  1072. var name2 = name.split("."); //字符分割
  1073. if (name2.length > 1) {
  1074. info = configdata[name2[0]][name2[1]] || null;
  1075. } else {
  1076. info = configdata[name] || null;
  1077. }
  1078. if (info == null) {
  1079. let web_config = cache.get("web_config");
  1080. if (web_config) {
  1081. if (name2.length > 1) {
  1082. info = web_config[name2[0]][name2[1]] || null;
  1083. } else {
  1084. info = web_config[name] || null;
  1085. }
  1086. }
  1087. }
  1088. }
  1089. return info;
  1090. },
  1091. // 监听拍照框关闭
  1092. onclose(){
  1093. this.alertPhone=false
  1094. this.alertduan = false
  1095. this.goodsPicture=[]
  1096. },
  1097. // 获取确认送达短信模板
  1098. querenduanxin() {
  1099. // this.$Request.postT('/app/tb-indent-sms/template', {
  1100. this.$Request.getT2('/app/tb-indent-sms/template', {
  1101. // indentNumber: this.indentNumber,
  1102. // itemCode: this.shouhuoma
  1103. }).then(res => {
  1104. console.log(res)
  1105. this.duanxin=res.data.list
  1106. if (res.code == 0) {
  1107. this.page = 1;
  1108. // this.alertPhone = false
  1109. this.alertduan = true
  1110. } else {
  1111. uni.showToast({
  1112. title: res.msg,
  1113. icon: "none"
  1114. });
  1115. }
  1116. });
  1117. },
  1118. querenSh() {
  1119. var tupian=this.goodsPicture.toString()
  1120. console.log(this.goodsPicture.toString())
  1121. // this.$Request.postT('/app/tbindent/riderDelivery', {
  1122. this.$Request.postJson2('/app/tbindent/riderDelivery', {
  1123. imgs:tupian,
  1124. smsTemplateId:this.duanxin[0].id,
  1125. indentNumber: this.indentNumber,
  1126. itemCode: this.shouhuoma
  1127. }).then(res => {
  1128. console.log(res)
  1129. if (res.code == 0) {
  1130. this.page = 1;
  1131. this.taskData()
  1132. uni.showToast({
  1133. title: '订单完成',
  1134. icon: "none"
  1135. });
  1136. this.alertPhone = false
  1137. // this.alertduan = false
  1138. this.shows = false
  1139. } else {
  1140. uni.showToast({
  1141. title: res.msg,
  1142. icon: "none"
  1143. });
  1144. }
  1145. });
  1146. }
  1147. },
  1148. onReachBottom: function() {
  1149. if (this.page < this.totalCount) {
  1150. this.page += 1;
  1151. this.taskData();
  1152. }
  1153. },
  1154. onPullDownRefresh: function() {
  1155. this.page = 1;
  1156. this.taskData();
  1157. },
  1158. }
  1159. </script>
  1160. <style>
  1161. body {
  1162. background: #F5F5F5;
  1163. }
  1164. .tabs_box {
  1165. display: none;
  1166. }
  1167. .dis {
  1168. display: block;
  1169. width: 100%;
  1170. }
  1171. .u-tab-item {
  1172. font-size: 26upx !important;
  1173. /* color: #666666 !important; */
  1174. }
  1175. .success_box {
  1176. width: 100%;
  1177. }
  1178. .order_box {
  1179. width: 90%;
  1180. margin: 0 auto;
  1181. /* height: 390rpx; */
  1182. background: #FFFFFF;
  1183. margin-top: 20rpx;
  1184. border-radius: 16px;
  1185. padding-bottom: 16rpx;
  1186. }
  1187. .order_success {
  1188. width: 90%;
  1189. margin: 0 auto;
  1190. display: flex;
  1191. height: 80upx;
  1192. }
  1193. .order_name {
  1194. flex: 1;
  1195. display: flex;
  1196. justify-content: left;
  1197. align-items: center;
  1198. font-weight: bold;
  1199. font-size: 26rpx;
  1200. letter-spacing: 1upx;
  1201. }
  1202. .order_data {
  1203. flex: 1;
  1204. color: #999999;
  1205. display: flex;
  1206. justify-content: flex-end;
  1207. align-items: center;
  1208. font-size: 24rpx;
  1209. }
  1210. .city_type {
  1211. width: 90%;
  1212. margin: 0 auto;
  1213. height: 60upx;
  1214. line-height: 60upx;
  1215. display: flex;
  1216. justify-content: left;
  1217. align-items: center;
  1218. }
  1219. .type_name {
  1220. font-size: 27rpx;
  1221. }
  1222. .city_text {
  1223. width: 70rpx;
  1224. line-height: 36rpx;
  1225. color: #49A5FF;
  1226. background: #c4e2ff;
  1227. text-align: center;
  1228. font-size: 19rpx;
  1229. margin-left: 20rpx;
  1230. }
  1231. .city_address {
  1232. width: 85%;
  1233. margin: 0 auto;
  1234. margin-top: -10rpx;
  1235. }
  1236. /* 发货地址 */
  1237. .fh_box {
  1238. display: flex;
  1239. /* height: 80upx; */
  1240. margin-top: 20upx;
  1241. }
  1242. .fh_image {
  1243. flex: 1;
  1244. }
  1245. .box {
  1246. flex: 11;
  1247. }
  1248. .fh_name {
  1249. font-size: 26rpx;
  1250. font-weight: 600;
  1251. letter-spacing: 2upx;
  1252. }
  1253. .fh_type {
  1254. color: #999999;
  1255. font-size: 22upx;
  1256. }
  1257. .fh_type text {
  1258. margin-left: 20upx;
  1259. }
  1260. /* 送货地址 */
  1261. .sh_box {
  1262. display: flex;
  1263. margin-bottom: 14upx;
  1264. margin-top: 14rpx;
  1265. }
  1266. .sh_image {
  1267. flex: 1;
  1268. }
  1269. .sh_name {
  1270. font-size: 26rpx;
  1271. font-weight: 600;
  1272. letter-spacing: 2upx;
  1273. }
  1274. .sh_type {
  1275. color: #999999;
  1276. font-size: 22upx;
  1277. }
  1278. .sh_type text {
  1279. margin-left: 20upx;
  1280. }
  1281. .fh_image image {
  1282. width: 30upx;
  1283. height: 30upx;
  1284. }
  1285. .sh_image image {
  1286. width: 30upx;
  1287. height: 30upx;
  1288. }
  1289. .order_btn {
  1290. display: flex;
  1291. justify-content: flex-end;
  1292. align-items: center;
  1293. /* height: 80upx; */
  1294. margin-top: 8upx;
  1295. }
  1296. .btn1 {
  1297. width: 170upx;
  1298. font-size: 22upx;
  1299. line-height: 60upx;
  1300. text-align: center;
  1301. border: 1upx solid #9C9C9C;
  1302. border-radius: 20upx;
  1303. color: #9C9C9C;
  1304. margin-right: 30upx;
  1305. }
  1306. .btn2 {
  1307. width: 170upx;
  1308. line-height: 60upx;
  1309. color: white;
  1310. background: #FF6A04;
  1311. font-size: 22upx;
  1312. text-align: center;
  1313. margin-right: 30upx;
  1314. border-radius: 20upx;
  1315. }
  1316. /* 收货码弹框 */
  1317. .receipt_code {
  1318. width: 90%;
  1319. margin: 0 auto;
  1320. }
  1321. .code_title {
  1322. width: 100%;
  1323. line-height: 100rpx;
  1324. font-size: 31rpx;
  1325. font-weight: bold;
  1326. text-align: center;
  1327. letter-spacing: 2rpx;
  1328. margin-top: 21rpx;
  1329. margin-bottom: 25rpx;
  1330. }
  1331. .u-input--border {
  1332. border: 1px solid #F2F2F2 !important;
  1333. background: #F2F2F2 !important;
  1334. color: #999999 !important;
  1335. font-weight: 500 !important;
  1336. letter-spacing: 2rpx !important;
  1337. }
  1338. .u-input__input {
  1339. font-size: 30rpx;
  1340. font-weight: bold;
  1341. flex: 1;
  1342. color: #999999 !important;
  1343. min-height: 85rpx !important;
  1344. margin-top: 7rpx;
  1345. }
  1346. .sure {
  1347. width: 100%;
  1348. height: 80rpx;
  1349. background: #FF7F00;
  1350. color: white;
  1351. border-radius: 46rpx;
  1352. text-align: center;
  1353. line-height: 80rpx;
  1354. margin-top: 30rpx;
  1355. letter-spacing: 2rpx;
  1356. }
  1357. /* 确认送达拍照框 */
  1358. .phone_title{
  1359. margin-top: 10px;
  1360. width: 100%;
  1361. height: 40px;
  1362. /* background-color: #FF7F00; */
  1363. text-align: center;
  1364. line-height: 40px;
  1365. /* color:#FFFFFF; */
  1366. }
  1367. .phone_title2{
  1368. margin-top: 10px;
  1369. text-align: center;
  1370. color:#9d9d9d;
  1371. }
  1372. .code_title2 {
  1373. width: 100%;
  1374. line-height: 50rpx;
  1375. text-align: center;
  1376. letter-spacing: 2rpx;
  1377. margin-top: 21rpx;
  1378. margin-bottom: 25rpx;
  1379. }
  1380. </style>