quality_testing.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013
  1. <template>
  2. <view class="center">
  3. <view class='navbar' style='position:fixed;background:#fff;top:0;width:100%;z-index:3;'>
  4. <view class="back-btn cuIcon-back" @click="navBack"></view>
  5. <view class='header-content' v-if='managementType==3'>出库质检</view>
  6. <view class='header-content' v-if='managementType==1'>收购质检</view>
  7. </view>
  8. <view class="header">
  9. <view style='background:#fff;display:flex;' class="cu-bar search">
  10. <view style='flex:6;' class="search-form round Medium">
  11. <text style='color: #ccc;text-indent:6px;' class="cuIcon-search"></text>
  12. <input v-if='managementType==1' type="text" maxlength="20" v-model="searchKeyWord" @confirm="doSearch()"
  13. placeholder="输入编号、客户名、车牌号" confirm-type="search"></input>
  14. <input v-if='managementType==3' type="text" maxlength="20" v-model="searchKeyWord" @confirm="doSearch()"
  15. placeholder="输入合同编号、车牌号" confirm-type="search"></input>
  16. </view>
  17. <view @click='doSearch()' class="Regular" style="width:4%;flex:1;">搜索</view>
  18. <u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34" name="close-circle-fill" color="#D6D9E0"></u-icon>
  19. <!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
  20. </view>
  21. <view class='changewarehouse'>
  22. <view @click='show=true'>{{warehouseName}}<text class='cuIcon-unfold'></text></view>
  23. <u-picker @confirm="warehousechange" range-key='warehouseName' mode="selector" v-model="show" :range="selector"></u-picker>
  24. </view>
  25. </view>
  26. <view class="content">
  27. <view class="item-style" v-for='item in gridList' @click='examine(item)'>
  28. <view class="row1">
  29. <view class="row1-left">
  30. <view class="left status1" v-if="item.status=='已质检'">检</view>
  31. <view class="left status2" v-if="item.status=='已称皮重'">皮</view>
  32. <view class="left status3" v-if="item.status=='已称毛重'">毛</view>
  33. <view class="left status1" v-if="item.status=='已初检'">初</view>
  34. <view class="left status2" v-if="item.status=='已复检'&&item.confirm!='1'">复</view>
  35. <view class="left status3" v-if="item.confirm=='1'">确</view>
  36. <view>
  37. <view class="top-title">
  38. <view v-if='managementType==1' >{{item.qualityNo}}</view>
  39. <view v-if='managementType==3' >{{item.contractNo}}</view>
  40. </view>
  41. <view class="bottom">{{item.updateDate}}</view>
  42. </view>
  43. </view>
  44. <view class="right">{{item.customer}}</view>
  45. <view class='right'>{{item.qualityInspector}} {{item.reInspector}}</view>
  46. </view>
  47. <view class="row2" >
  48. <view v-if='managementType==1'>{{item.customerName}}</view>
  49. <view>{{item.carNumber}}</view>
  50. <view>{{item.goodsName}}({{item.waterContent}}水)</view>
  51. </view>
  52. <view class="row3">
  53. {{getRoles("acquisitionQuality.delete")}}
  54. <view v-if='getRoles("acquisitionQuality.delete")&&item.weighingManagement&&item.weighingManagement.status=="已质检"&&managementType==1' @click.stop='del(item)' class='button'>删除</view>
  55. <view v-if='getRoles("acquisitionQuality.initial")&&item.status=="已初检"&&managementType==1' @click.stop='edit(item,0)' class='button'>初检</view>
  56. <view v-if='getRoles("acquisitionQuality.con")&&item.confirm!="1"&&item.status=="已复检"&&managementType==1' @click.stop='edit(item,2)' class='button'>确认</view>
  57. <view v-if='getRoles("acquisitionQuality.again")&&item.confirm!="1"&&managementType==1' @click.stop='edit(item,1)' class='button'>复检</view>
  58. <view v-if='getRoles("acquisitionQualityOut.edit")&&item.status=="已称毛重"&&managementType==3' @click.stop='quality_testing(item)' class='button'>质检</view>
  59. </view>
  60. </view>
  61. <!-- <view class='wrap' v-for='item in gridList' @click='examine(item)'>
  62. <view class='flex justify-between'>
  63. <view v-if='item.status=="已质检"'>
  64. <view class='type type-zhi'>检</view>
  65. </view>
  66. <view v-if='item.status=="已称毛重"'>
  67. <view class='type type-mao'>毛</view>
  68. </view>
  69. <view v-if='item.status=="已称皮重"'>
  70. <view class='type type-pi'>皮</view>
  71. </view>
  72. <view>
  73. <view v-if='managementType==1' class='qualityNo'>{{item.qualityNo}}</view>
  74. <view v-if='managementType==3' class='qualityNo'>{{item.contractNo}}</view>
  75. <view class='time'>{{item.updateDate}}</view>
  76. </view>
  77. <view v-if='item.status=="已质检"' class='qualityInspector'>{{item.qualityInspector}}</view>
  78. <view v-else></view>
  79. </view>
  80. <view class="flex justify-around customerinformation">
  81. <view v-if='managementType==1'>{{item.customerName}}</view>
  82. <view>{{item.carNumber}}</view>
  83. <view>{{item.goodsName}}({{item.waterContent}}水)</view>
  84. </view>
  85. <view class='flex buttons'>
  86. <view v-if='item.status=="已质检"&&managementType==1' @click.stop='del(item)' class='button'>删除</view>
  87. <view v-if='item.status!="已称皮重"&&managementType==1' @click.stop='edit(item)' class='button'>编辑</view>
  88. <view v-if='item.status=="已称毛重"&&managementType==3' @click.stop='quality_testing(item)' class='button'>质检</view>
  89. </view>
  90. </view> -->
  91. <!-- <view class='flex buttons'>
  92. <view v-if='item.status=="已质检"&&managementType==1' @click.stop='del(item)' class='button'>删除</view>
  93. <view v-if='item.status!="已称皮重"&&managementType==1' @click.stop='edit(item)' class='button'>编辑</view>
  94. <view v-if='item.status=="已称毛重"&&managementType==3' @click.stop='quality_testing(item)' class='button'>质检</view>
  95. </view> -->
  96. </view>
  97. <view v-show="isContent">
  98. <uni-load-more :status="loadStatus"></uni-load-more>
  99. </view>
  100. <view v-if='managementType==1' class="footer">
  101. <!-- <view @click='add' v-hasPermission="'acquisitionQuality.add'" class="button">新增</view> -->
  102. <view @click='add' v-if='getRoles("acquisitionQuality.add")' class="button">新增</view>
  103. </view>
  104. </view>
  105. </template>
  106. <script>
  107. import dragButton from "@/components/drag-button/drag-button.vue";
  108. import {
  109. mapState
  110. } from 'vuex';
  111. let startY = 0,
  112. moveY = 0,
  113. pageAtTop = true;
  114. export default {
  115. components: {
  116. dragButton
  117. },
  118. data() {
  119. return {
  120. inputShow: false,
  121. modalName: '',
  122. mycarStyle: '',
  123. feild: undefined,
  124. params:{},
  125. selector:[],
  126. isContent:false,
  127. loadStatus:'noMore',
  128. inputContent: '',
  129. coverTransform: 'translateY(0px)',
  130. coverTransition: '0s',
  131. moving: false,
  132. footprintList: [],
  133. searchKeyWord:'',
  134. isVip: false,
  135. userInfoTmp: [],
  136. inputStatus: 'none',
  137. carInfo: [],
  138. gridCol: 4,
  139. show:false,
  140. pageSize:10,
  141. currentPage:1,
  142. gridBorder: false,
  143. headUrl:"../../static/img/myimg/YongHu@3x.png",
  144. userphone:"",
  145. username:"请更改昵称",
  146. gridList: [],
  147. managementType:1,
  148. warehouseName: '',
  149. showTran: true,
  150. companyId: 1,
  151. current: 4,
  152. warehouseCount:'',
  153. commonWarehouseNo:'',
  154. cangid:''
  155. }
  156. },
  157. // #ifndef MP
  158. onNavigationBarButtonTap(e) {
  159. const index = e.index;
  160. if (index === 0) {
  161. this.navTo('/pages/set/set');
  162. } else if (index === 1) {
  163. // #ifdef APP-PLUS
  164. const pages = getCurrentPages();
  165. const page = pages[pages.length - 1];
  166. const currentWebview = page.$getAppWebview();
  167. currentWebview.hideTitleNViewButtonRedDot({
  168. index
  169. });
  170. // #endif
  171. uni.navigateTo({
  172. url: '/pages/notice/notice'
  173. })
  174. }
  175. },
  176. // #endif
  177. computed: {
  178. ...mapState(['hasLogin', 'userInfo']),
  179. // 手机号中间4位加*
  180. starUserphone(){
  181. let reg = /^(\d{3})\d{4}(\d{4})$/;
  182. if(this.userphone){
  183. return this.userphone.replace(reg, "$1****$2");
  184. }
  185. }
  186. },
  187. onPullDownRefresh() {
  188. this.currentPage=1
  189. this.gridList=[]
  190. this.getList(true)
  191. setTimeout(function () {
  192. uni.stopPullDownRefresh();
  193. }, 1000);
  194. },
  195. onReachBottom() {
  196. this.currentPage+=1
  197. this.getList(false)
  198. // this.getMoreNews()
  199. },
  200. onLoad(options){
  201. this.managementType=options.managementType
  202. },
  203. onShow() {
  204. var that = this
  205. if(this.cangid){
  206. uni.setStorageSync("cangid",this.cangid)
  207. }
  208. else{
  209. this.cangid = uni.getStorageSync("cangid")
  210. }
  211. this.gridList=[]
  212. this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf',{
  213. compId:'',
  214. personCharge:this.userInfo.phone
  215. }).then(res => {
  216. if(res.data.data){
  217. let list = res.data.data
  218. for(var i=0;i<list.length;i++){
  219. if (that.cangid&&that.cangid == list[i].id) {
  220. that.warehouseName = list[i].warehouseName
  221. that.warehouseCount = list[i].count
  222. that.commonWarehouseNo = list[i].commonWarehouseNo
  223. // uni.setStorageSync('purchasePriceList',list[i].purchasePriceList)
  224. break
  225. }
  226. }
  227. that.selector=res.data.data
  228. if(that.selector.length > 0 && !that.cangid){
  229. that.warehouseName = that.selector[0].warehouseName
  230. that.warehouseCount = that.selector[0].count
  231. that.commonWarehouseNo = that.selector[0].commonWarehouseNo
  232. that.cangid = that.selector[0].id
  233. // uni.setStorageSync('purchasePriceList',that.selector[0].purchasePriceList)
  234. }
  235. this.getList(true)
  236. }
  237. })
  238. },
  239. methods: {
  240. //获取当前按钮权限
  241. getRoles: function(role) {
  242. let _roles = uni.getStorageSync('rolesList')
  243. for (let i = 0; i < _roles.length; i++) {
  244. if (_roles[i] == role) {
  245. return true
  246. }
  247. }
  248. return false
  249. },
  250. quality_testing(item){
  251. uni.navigateTo({
  252. url:'/pages/erpbusiness/out_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  253. })
  254. },
  255. examine(item){
  256. uni.navigateTo({
  257. url:'/pages/erpbusiness/examine_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  258. })
  259. },
  260. emptysearch(){
  261. this.searchKeyWord=''
  262. this.gridList=[]
  263. this.currentPage=1
  264. this.getList(true)
  265. },
  266. doSearch(){
  267. this.gridList=[]
  268. this.currentPage=1
  269. this.getList(true)
  270. },
  271. warehousechange(e){
  272. this.warehouseName=this.selector[e[0]].warehouseName
  273. this.cangid=this.selector[e[0]].id
  274. uni.setStorageSync("cangid",this.cangid)
  275. this.warehouseCount = this.selector[e[0]].count
  276. this.commonWarehouseNo=this.selector[e[0]].commonWarehouseNo
  277. // uni.setStorageSync('purchasePriceList',this.selector[e[0]].purchasePriceList)
  278. this.getList(true)
  279. console.log(e)
  280. },
  281. getList(flag){
  282. var that = this
  283. uni.showLoading({
  284. title:"正在加载"
  285. })
  286. this.$api.doRequest('get', 'qualityInspectionManagement/selectQualityInspection',{
  287. pageSize: this.pageSize,
  288. currentPage: this.currentPage,
  289. searchKeyWord: this.searchKeyWord,
  290. searchType: this.searchType,
  291. managementType:this.managementType,
  292. warehouseName: this.warehouseName,
  293. compId:'',
  294. // pcFlag:1
  295. }).then(res => {
  296. uni.hideLoading()
  297. if(res.data.data){
  298. let data = res.data.data.records
  299. //采购信息
  300. if (data.length > 0) {
  301. if(flag){
  302. that.gridList = data
  303. }
  304. else{
  305. that.gridList = that.gridList.concat(data)
  306. }
  307. }else{
  308. if(this.currentPage==1){
  309. that.gridList=[]
  310. }
  311. this.isContent=true
  312. }
  313. }
  314. // console.log(that.gridList)
  315. })
  316. .catch(res => {
  317. uni.showToast({
  318. title: '系统异常,请联系管理员',
  319. icon: 'none',
  320. duration: 2000
  321. })
  322. uni.hideLoading()
  323. })
  324. },
  325. edit(item,status){
  326. uni.navigateTo({
  327. url:'/pages/erpbusiness/edit_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid+'&flag='+status
  328. })
  329. },
  330. add(){
  331. uni.navigateTo({
  332. url:'/pages/erpbusiness/add_quality_testing?managementType='+this.managementType+'&cangid='+this.cangid+'&warehouseCount='+this.warehouseCount+'&commonWarehouseNo='+this.commonWarehouseNo+'&warehouseName='+this.warehouseName
  333. })
  334. },
  335. del(item){
  336. var that=this
  337. uni.showModal({
  338. content: "是否删除该质检信息?",
  339. showCancel: true,
  340. confirmText: '删除',
  341. success: function(res) {
  342. if (res.confirm) {
  343. that.$api.doRequest('post', '/qualityInspectionManagement/api/deleteQualityInspection',{
  344. id:item.id
  345. }).then(res => {
  346. if(res.data.code==200){
  347. that.$api.msg('删除成功')
  348. that.gridList=[]
  349. that.getList()
  350. }else{
  351. that.$api.msg('系统异常,请联系管理员')
  352. }
  353. })
  354. }
  355. }
  356. })
  357. },
  358. fankui(){
  359. uni.navigateTo({
  360. url: `/pages/user/fankui`
  361. })
  362. },
  363. zhibo() {
  364. uni.navigateTo({
  365. url: `/pageB/video/broadcast`
  366. })
  367. },
  368. look() {
  369. uni.navigateTo({
  370. url: `/pageB/video/look`
  371. })
  372. },
  373. contactUs() {
  374. const that = this
  375. uni.makePhoneCall({
  376. // 手机号
  377. phoneNumber: '18241771147',
  378. // 成功回调
  379. success: (res) => {},
  380. // 失败回调
  381. fail: (res) => {}
  382. });
  383. },
  384. loadData() {
  385. // const that = this
  386. // if(uni.getStorageSync("PageCur")){
  387. // that.PageCur = uni.getStorageSync("PageCur");
  388. // }
  389. // that.userInfoTmp = uni.getStorageSync("userInfo")
  390. // uni.showLoading({
  391. // title: '正在加载',
  392. // mask:true
  393. // })
  394. // that.$api.request('integral', 'getIndexData', failres => {
  395. // that.$api.msg(failres.errmsg)
  396. // uni.hideLoading()
  397. // }).then(res => {
  398. // let data = res.data
  399. // uni.setStorageSync("message", data.message);
  400. // uni.setStorageSync("task", data.task);
  401. // uni.setStorageSync("contract", data.contract);
  402. // uni.setStorageSync('showTran', data.showTran);
  403. // that.showTran = data.showTran
  404. // that.gridList[4].tips = data.task
  405. // that.gridList[2].tips = data.contract
  406. // that.companyId = data.companyId
  407. // uni.hideLoading()
  408. // })
  409. },
  410. confirm() {
  411. const that = this
  412. if (!that.inputContent) {
  413. that.$api.msg('输入不能为空')
  414. return
  415. }
  416. let obj = {}
  417. obj[that.feild] = that.inputContent
  418. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  419. that.userInfo.nickname = that.inputContent
  420. that.inputContent = ''
  421. that.$store.commit('login', that.userInfo)
  422. })
  423. },
  424. cancel() {
  425. this.inputShow = false
  426. this.inputStatus = 'none'
  427. this.genderShow = false
  428. },
  429. navBack() {
  430. uni.navigateBack();
  431. },
  432. /**
  433. * 统一跳转接口,拦截未登录路由
  434. * navigator标签现在默认没有转场动画,所以用view
  435. */
  436. navTo(url) {
  437. if (!this.hasLogin) {
  438. url = '/pages/public/login';
  439. }
  440. uni.navigateTo({
  441. url
  442. })
  443. },
  444. scanCode() {
  445. uni.scanCode({
  446. success: function(res) {
  447. uni.navigateTo({
  448. url: res.result
  449. })
  450. }
  451. })
  452. },
  453. hideModal(e) {
  454. this.modalName = null
  455. },
  456. }
  457. }
  458. </script>
  459. <style scoped lang='scss' >
  460. page{
  461. background:#F5F6FA;
  462. margin-bottom:160rpx;
  463. }
  464. .container {
  465. padding-top: 85px;
  466. padding-top: 35px;
  467. background-color: #F5F6FA;
  468. position: relative;
  469. width: 100vw;
  470. height: 100vh;
  471. overflow: hidden;
  472. background: url('~@/static/img/login/bg_slices/bg@3x.png');
  473. background-size: 100% 100%;
  474. margin: 0 auto;
  475. }
  476. .item-style {
  477. background: white;
  478. margin: 20rpx;
  479. padding: 20rpx;
  480. .row1 {
  481. display: flex;
  482. align-items: center;
  483. justify-content: space-between;
  484. .row1-left {
  485. display: flex;
  486. justify-content: flex-start;
  487. align-items: center;
  488. .left {
  489. margin-right: 20rpx;
  490. }
  491. .top-title {
  492. font-size: 32rpx;
  493. font-weight: 600;
  494. color: #333333;
  495. }
  496. .bottom {
  497. color: #878C9C;
  498. }
  499. .right {
  500. font-size: 28rpx;
  501. font-weight: 600;
  502. color: #333333;
  503. }
  504. }
  505. }
  506. .row2 {
  507. display: flex;
  508. background: #F9F9FA;
  509. border-radius: 10rpx;
  510. padding: 10rpx 0;
  511. justify-content: space-around;
  512. margin: 20rpx;
  513. color: #878C9C;
  514. align-items: center;
  515. }
  516. .row3 {
  517. display: flex;
  518. margin-top: 30rpx;
  519. .row3-item {
  520. display: flex;
  521. margin-right: 40rpx;
  522. .left {
  523. background: #22C572;
  524. border-radius: 10rpx;
  525. padding: 2rpx 10rpx;
  526. box-sizing: border-box;
  527. color: white;
  528. font-size: 12px;
  529. margin-right: 15rpx;
  530. }
  531. }
  532. }
  533. .row4 {
  534. display: flex;
  535. justify-content: flex-end;
  536. margin-top: 10px;
  537. .right {
  538. border: 1px solid #CDCDCD;
  539. border-radius: 45rpx;
  540. padding: 10rpx 30rpx;
  541. margin-left: 20rpx;
  542. }
  543. }
  544. }
  545. .cu-tag.badge {
  546. right: 26rpx;
  547. }
  548. .path {
  549. color: #007aff;
  550. display: inline-block;
  551. text-align: center;
  552. }
  553. .icon {
  554. margin-right: 10rpx;
  555. }
  556. .portrait-box {
  557. margin-top: 20rpx;
  558. }
  559. .qr-wrap {
  560. margin-top: 20upx;
  561. color: #fff;
  562. font-size: 32rpx;
  563. }
  564. @keyframes move_wave {
  565. 0% {
  566. transform: translateX(0) translateZ(0) scaleY(1)
  567. }
  568. 50% {
  569. transform: translateX(-25%) translateZ(0) scaleY(0.55)
  570. }
  571. 100% {
  572. transform: translateX(-50%) translateZ(0) scaleY(1)
  573. }
  574. }
  575. .bg {
  576. position: relative;
  577. height: 300rpx;
  578. /* background: linear-gradient(to bottom, #56ccf2, #2f80ed); */
  579. /*background: linear-gradient(to bottom, #0be9fe, #4bb0fe); */
  580. background: linear-gradient(to bottom, #d5f8ff, #56ccf2);
  581. }
  582. .bg_ware {
  583. position: absolute;
  584. left: 0;
  585. bottom: -2rpx;
  586. width: 100%;
  587. mix-blend-mode: screen;
  588. height: 224rpx;
  589. }
  590. %flex-center {
  591. display: flex;
  592. flex-direction: column;
  593. justify-content: center;
  594. align-items: center;
  595. }
  596. %section {
  597. display: flex;
  598. justify-content: space-around;
  599. align-content: center;
  600. background: #fff;
  601. border-radius: 10upx;
  602. }
  603. .cuIcon {
  604. position: absolute;
  605. right: 80px;
  606. }
  607. .grid-item-box {
  608. flex: 1;
  609. /* position: relative;
  610. */
  611. /* #ifndef APP-NVUE */
  612. display: flex;
  613. /* #endif */
  614. flex-direction: column;
  615. align-items: center;
  616. justify-content: center;
  617. padding: 15px 0;
  618. }
  619. .image {
  620. width: 80rpx;
  621. height: 80rpx;
  622. }
  623. .text {
  624. font-size: 26rpx;
  625. margin-top: 10rpx;
  626. }
  627. .user-section {
  628. height: 520upx;
  629. padding: 100upx 30upx 0;
  630. position: relative;
  631. .bg {
  632. position: absolute;
  633. left: 0;
  634. top: 0;
  635. width: 100%;
  636. height: 100%;
  637. filter: blur(1px);
  638. box-shadow: 0px 1px 8px #ccc;
  639. /* background:linear-gradient(#0eb0c9,#126bae); */
  640. /* opacity: .7; */
  641. }
  642. }
  643. .cover-container {
  644. padding: 1px 10px ;
  645. padding-bottom: 200upx;
  646. /* background-color: #F5F6FA; */
  647. /* border-radius: 20px; */
  648. margin-top: 60upx;
  649. .arc {
  650. position: absolute;
  651. left: 0;
  652. top: -34upx;
  653. width: 100%;
  654. height: 36upx;
  655. }
  656. }
  657. .tj-sction {
  658. @extend %section;
  659. .tj-item {
  660. @extend %flex-center;
  661. flex-direction: column;
  662. height: 140upx;
  663. font-size: $font-sm;
  664. color: #75787d;
  665. }
  666. .num {
  667. font-size: $font-lg;
  668. color: $font-color-dark;
  669. margin-bottom: 8upx;
  670. }
  671. }
  672. .order-section {
  673. @extend %section;
  674. padding: 28upx 0;
  675. margin-top: 20upx;
  676. .order-item {
  677. @extend %flex-center;
  678. width: 120upx;
  679. height: 120upx;
  680. border-radius: 10upx;
  681. font-size: $font-sm;
  682. color: $font-color-dark;
  683. }
  684. .yticon {
  685. font-size: 48upx;
  686. margin-bottom: 18upx;
  687. color: #fa436a;
  688. }
  689. .icon-shouhoutuikuan {
  690. font-size: 44upx;
  691. }
  692. }
  693. .history-section {
  694. padding: 30upx 0 0;
  695. margin-top: 20upx;
  696. background: #fff;
  697. border-radius: 10upx;
  698. .sec-header {
  699. display: flex;
  700. align-items: center;
  701. font-size: $font-base;
  702. color: $font-color-dark;
  703. line-height: 40upx;
  704. margin-left: 30upx;
  705. .yticon {
  706. font-size: 44upx;
  707. color: #5eba8f;
  708. margin-right: 16upx;
  709. line-height: 40upx;
  710. }
  711. }
  712. .h-list {
  713. white-space: nowrap;
  714. padding: 30upx 30upx 0;
  715. image {
  716. display: inline-block;
  717. width: 160upx;
  718. height: 160upx;
  719. margin-right: 20upx;
  720. border-radius: 10upx;
  721. }
  722. }
  723. }
  724. .search-form {
  725. background: #F5F6F9;
  726. }
  727. .search-box {
  728. width: 100%;
  729. background-color: rgb(242, 242, 242);
  730. padding: 15upx 2.5%;
  731. display: flex;
  732. justify-content: space-between;
  733. }
  734. .search-box .mSearch-input-box {
  735. width: 100%;
  736. }
  737. .search-box .input-box {
  738. width: 85%;
  739. flex-shrink: 1;
  740. display: flex;
  741. justify-content: center;
  742. align-items: center;
  743. }
  744. .search-box .search-btn {
  745. width: 15%;
  746. margin: 0 0 0 2%;
  747. display: flex;
  748. justify-content: center;
  749. align-items: center;
  750. flex-shrink: 0;
  751. font-size: 28upx;
  752. color: #fff;
  753. background: linear-gradient(to right, #ff9801, #ff570a);
  754. border-radius: 60upx;
  755. }
  756. .search-box .input-box>input {
  757. width: 100%;
  758. height: 60upx;
  759. font-size: 32upx;
  760. border: 0;
  761. border-radius: 60upx;
  762. -webkit-appearance: none;
  763. -moz-appearance: none;
  764. appearance: none;
  765. padding: 0 3%;
  766. margin: 0;
  767. background-color: #ffffff;
  768. }
  769. .placeholder-class {
  770. color: #9e9e9e;
  771. }
  772. .search-keyword {
  773. width: 100%;
  774. background-color: rgb(242, 242, 242);
  775. }
  776. .grid {
  777. display: flex;
  778. align-items: center;
  779. flex-wrap: wrap;
  780. /* border-top: 2upx solid rgba(172,172,172,.2); */
  781. .grid-item-3 {
  782. box-sizing: border-box;
  783. width: calc(100% / 3);
  784. border-bottom: 2upx solid rgba(172, 172, 172, .2);
  785. border-right: 2upx solid rgba(172, 172, 172, .2);
  786. text-align: center;
  787. padding: 40upx 0;
  788. position: relative;
  789. /* view{
  790. font-size: $font-sm;
  791. margin-top: 16upx;
  792. color: $font-color-dark;
  793. } */
  794. .grid_icon {
  795. font-size: 48upx;
  796. margin-bottom: 18upx;
  797. color: #fa436a;
  798. }
  799. .tip_text {
  800. display: block;
  801. padding: 4upx 8upx;
  802. text-align: center;
  803. border-radius: 36upx;
  804. font-size: 24upx;
  805. background-color: #fa436a;
  806. color: rgba(255, 255, 255, 1);
  807. position: absolute;
  808. right: 6upx;
  809. top: 6upx;
  810. }
  811. }
  812. .grid-item-3:nth-child(3n + 3),
  813. .grid-item-4:nth-child(4n + 4) {
  814. border-right: none;
  815. }
  816. }
  817. .headPortrait {
  818. width: 75px;
  819. height: 75px;
  820. border-radius: 40px;
  821. border: 2px solid #ffffff;
  822. }
  823. .information {
  824. font-size: 15px;
  825. font-weight: 600;
  826. height: 36px;
  827. }
  828. .cu-list>.cu-item:after{
  829. border:none;
  830. }
  831. .back-btn {
  832. position: fixed;
  833. left: 40upx;
  834. z-index: 9999;
  835. padding-top: var(--status-bar-height);
  836. top: 30upx;
  837. font-size: 36upx;
  838. color: $font-color-dark;
  839. }
  840. .navbar{
  841. height:50px;
  842. }
  843. .header-content {
  844. position: fixed;
  845. left: 50%;
  846. transform: translateX(-50%);
  847. z-index: 9999;
  848. padding-top: var(--status-bar-height);
  849. top: 30upx;
  850. font-size: 36upx;
  851. color: $font-color-dark;
  852. }
  853. .sign{
  854. width: 40px;
  855. height: 40px;
  856. top: 4px;
  857. margin-right: 6px;
  858. }
  859. .indexUp{
  860. padding:0 20px;
  861. align-items: center;
  862. }
  863. .wrap{
  864. background:#fff;
  865. margin:10px;
  866. border-radius:10px;
  867. padding:10px;
  868. }
  869. .qualityNo{
  870. font-size:16px;
  871. }
  872. .type{
  873. font-size:12px;
  874. color:#fff;
  875. padding:3px 5px;
  876. border-radius:50%;
  877. line-height:16px;
  878. }
  879. .type-zhi{
  880. background:#22C572;
  881. }
  882. .type-mao{
  883. background:#3296FA;
  884. }
  885. .type-pi{
  886. background:#FD714F;
  887. }
  888. .time{
  889. font-size:12px;
  890. color:#878C9C;
  891. }
  892. .qualityInspector{
  893. font-size:14px;
  894. }
  895. .customerinformation{
  896. background:#F9F9FA;
  897. padding:7px;
  898. margin:20px 0;
  899. border-radius:10px;
  900. color:#9698A2;
  901. }
  902. .buttons{
  903. flex-direction:row-reverse;
  904. }
  905. .button{
  906. padding:13rpx 30rpx;
  907. border:1px solid #CDCDCD;
  908. border-radius:15px;
  909. margin:0 10px;
  910. }
  911. .changewarehouse{
  912. padding:10px 20px;
  913. }
  914. .header{
  915. background:#fff;
  916. margin-top:60px;
  917. border-radius:0px 0px 16px 16px;
  918. }
  919. .footer{
  920. background:#fff;
  921. position:fixed;
  922. bottom:0;
  923. width:100%;
  924. padding:20px 10px;
  925. z-index:10;
  926. .button{
  927. background:#22C572;
  928. width:90%;
  929. margin:0 auto;
  930. padding:10px;
  931. color:#fff;
  932. text-align:center;
  933. border-radius: 30px;
  934. }
  935. }
  936. .status1,.status2,.status3{
  937. padding: 8rpx 12rpx;
  938. border-radius: 50%;
  939. color: white;
  940. }
  941. .status1{
  942. background: #FD714F;
  943. }
  944. .status2{
  945. background: #22C572;
  946. }
  947. .status3{
  948. background: #3296FA;
  949. }
  950. </style>