customer.vue 19 KB

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