customer.vue 19 KB

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