customer.vue 20 KB

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