account.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  1. <template>
  2. <view class="container">
  3. <view class="detail-desc">
  4. <!-- <view class="d-header">
  5. <text>交易合同</text>
  6. </view>
  7. <view class="c-list">
  8. <view class="d-header">
  9. <text>发运数据</text>
  10. </view> -->
  11. <view class="c-list">
  12. <view class="c-row b-b">
  13. <text class="tit">车号</text>
  14. <view class="con-list">
  15. <input placeholder="请填写车号" name="input" v-model="carNo" @input="carNoInput"></input>
  16. </view>
  17. </view>
  18. <view class="c-row b-b">
  19. <text class="tit">毛重(吨)</text>
  20. <view class="con-list">
  21. <input placeholder="请填写毛重" name="input" v-model="grossWeight" @input="grossWeightInput"></input>
  22. </view>
  23. </view>
  24. <view class="c-row b-b">
  25. <text class="tit">皮重(吨)</text>
  26. <view class="con-list">
  27. <input placeholder="请填写皮重" name="input" v-model="skinWeight" @input="skinWeightInput"></input>
  28. </view>
  29. </view>
  30. <view class="c-row b-b">
  31. <text class="tit">净重(自动计算)</text>
  32. <view class="con-list">
  33. <text>{{numFilter(netWeight)}}</text>
  34. </view>
  35. </view>
  36. <view class="cu-bar bg-white">
  37. <view class="action">
  38. 磅单照片
  39. </view>
  40. </view>
  41. <view class="cu-form-group">
  42. <view class="grid col-2 grid-square flex-sub">
  43. <view class="bg-img" v-if="poundImg != ''" @tap="ViewImage" :data-url="poundImg">
  44. <image :src="poundImg" mode="aspectFit"></image>
  45. <view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="0">
  46. <text class='cuIcon-close'></text>
  47. </view>
  48. </view>
  49. <view class="solids" @tap="ChooseImagePound" v-if="poundImg == ''">
  50. <text class='cuIcon-cameraadd'></text>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="c-row b-b">
  55. <text class="tit">发货日期</text>
  56. <view class="con-list">
  57. <picker mode="date" :value="issuance" @change="DateChange">
  58. <view class="picker">
  59. {{issuance}}
  60. </view>
  61. </picker>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="page-bottom">
  66. <view class="action-btn-group">
  67. <button type="primary" class=" action-btn no-border add-cart-btn" @click="finish">完成</button>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </template>
  73. <script>
  74. import uploadImage from '@/components/ossutil/uploadFile.js';
  75. import Handwriting from '@/components/ossutil/signature.js';
  76. import {
  77. mapState
  78. } from 'vuex';
  79. export default {
  80. data() {
  81. return {
  82. carInfo:[],
  83. poundImg:'',
  84. grossWeight:'',
  85. skinWeight:'',
  86. netWeight:0,
  87. carNo:'',
  88. checkType:'',
  89. deduction:'',
  90. issuance:'请选择',
  91. checklist:["已验收","未验收"],
  92. tradeContractId:'',
  93. carDO:{
  94. grossWeight :'',
  95. skinWeight :'',
  96. netWeight:"",
  97. poundImg:'',
  98. carNo:'',
  99. issuance:''
  100. },
  101. };
  102. },
  103. computed: {
  104. ...mapState(['hasLogin','userInfo']),
  105. },
  106. onShow() {
  107. },
  108. onLoad(options) {
  109. this.tradeContractId=options.tradeContractId
  110. },
  111. onReady(){
  112. },
  113. methods: {
  114. numFilter (value) {
  115. if(!value){
  116. return 0
  117. }
  118. // 截取当前数据到小数点后两位
  119. let realVal = parseFloat(value).toFixed(2)
  120. return realVal
  121. },
  122. DateChange(e) {
  123. this.issuance = e.detail.value
  124. },
  125. PayTypeChange(e){
  126. this.checkType = e.detail.value+1
  127. },
  128. ChooseImageBox() {
  129. var that = this
  130. uni.chooseImage({
  131. count: 1, //默认9
  132. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  133. sourceType: ['album','camera'], //从相册选择
  134. success: (res) => {
  135. //上传图片
  136. //图片路径可自行修改
  137. uploadImage(res.tempFilePaths[0], 'boxImg/',
  138. result => {
  139. that.boxImg = result
  140. uni.hideLoading();
  141. }
  142. )
  143. }
  144. });
  145. },
  146. ChooseImageBoxNo() {
  147. var that = this
  148. uni.chooseImage({
  149. count: 1, //默认9
  150. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  151. sourceType: ['album','camera'], //从相册选择
  152. success: (res) => {
  153. //上传图片
  154. //图片路径可自行修改
  155. uploadImage(res.tempFilePaths[0], 'boxNoImg/',
  156. result => {
  157. that.boxNoImg = result
  158. uni.hideLoading();
  159. }
  160. )
  161. }
  162. });
  163. },
  164. ChooseImageTitleNo() {
  165. var that = this
  166. uni.chooseImage({
  167. count: 1, //默认9
  168. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  169. sourceType: ['album','camera'], //从相册选择
  170. success: (res) => {
  171. //上传图片
  172. //图片路径可自行修改
  173. uploadImage(res.tempFilePaths[0], 'titleNoImg/',
  174. result => {
  175. that.titleNoImg = result
  176. uni.hideLoading();
  177. }
  178. )
  179. }
  180. });
  181. },
  182. hideModal(e) {
  183. this.modalName = null
  184. },
  185. ViewImage(e) {
  186. var img = [];
  187. img = e.currentTarget.dataset.url.split(' ')
  188. uni.previewImage({
  189. current:0,
  190. urls: img
  191. });
  192. },
  193. DelImg(e) {
  194. uni.showModal({
  195. title: '提示',
  196. content: '确定要删除该照片吗?',
  197. cancelText: '取消',
  198. confirmText: '确定',
  199. success: res => {
  200. if (res.confirm) {
  201. if(e.currentTarget.dataset.index == 0){
  202. this.poundImg = "";
  203. }
  204. else if(e.currentTarget.dataset.index == 1){
  205. this.boxImg = "";
  206. }
  207. else if(e.currentTarget.dataset.index == 2){
  208. this.boxNoImg = "";
  209. }
  210. else if(e.currentTarget.dataset.index == 3){
  211. this.titleNoImg = "";
  212. }
  213. }
  214. }
  215. })
  216. },
  217. ChooseImagePound() {
  218. uni.chooseImage({
  219. count: 1, //默认9
  220. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  221. sourceType: ['album','camera'], //从相册选择
  222. success: (res) => {
  223. //上传图片
  224. //图片路径可自行修改
  225. uploadImage(res.tempFilePaths[0], 'poundImg/',
  226. result => {
  227. this.poundImg = result
  228. uni.hideLoading();
  229. }
  230. )
  231. }
  232. });
  233. },
  234. grossWeightInput(e) {
  235. this.grossWeight = e.detail.value
  236. if(this.grossWeight && this.skinWeight){
  237. this.netWeight = this.grossWeight - this.skinWeight
  238. }
  239. },
  240. skinWeightInput(e) {
  241. this.skinWeight = e.detail.value
  242. if(this.grossWeight && this.skinWeight){
  243. this.netWeight = this.grossWeight - this.skinWeight
  244. }
  245. },
  246. carNoInput(e) {
  247. this.carNo = e.detail.value
  248. },
  249. deductionInput(e) {
  250. this.deduction = e.detail.value
  251. },
  252. issuanceInput(e) {
  253. this.issuance = e.detail.value
  254. },
  255. finish(){
  256. const that = this
  257. if(!that.grossWeight){
  258. this.$api.msg('请填写毛重');
  259. return;
  260. }
  261. if(!that.skinWeight){
  262. this.$api.msg('请填写皮重');
  263. return;
  264. }
  265. if(!that.carNo){
  266. this.$api.msg('请填写车牌号');
  267. return;
  268. }
  269. if(!that.poundImg){
  270. this.$api.msg('请上传磅单照片');
  271. return;
  272. }
  273. if(!that.issuance||that.issuance=='请选择'){
  274. this.$api.msg('请填写发货日期');
  275. return;
  276. }
  277. that.carDO.grossWeight = !that.grossWeight?'':that.grossWeight
  278. that.carDO.skinWeight = !that.skinWeight?'':that.skinWeight
  279. that.carDO.netWeight = !that.netWeight?'':that.netWeight
  280. that.carDO.poundImg = !that.poundImg?'':that.poundImg
  281. that.carDO.carNo = !that.carNo?'':that.carNo
  282. that.carDO.issuance = !that.issuance?'':that.issuance
  283. that.carDO.tradeContractId=!that.tradeContractId?'':that.tradeContractId
  284. var carDO=JSON.stringify(that.carDO)
  285. uni.showLoading({
  286. title: '正在加载'
  287. })
  288. that.$api.request('tradeContract', 'addCar',{
  289. carDO:carDO
  290. }, failres => {
  291. that.$api.msg(failres.errmsg)
  292. uni.hideLoading()
  293. }).then(res => {
  294. uni.hideLoading()
  295. if(res.data.code=='SUCCESS'){
  296. that.$api.msg('添加成功')
  297. setTimeout(()=>{uni.navigateBack({})},1000);
  298. }else{
  299. that.$api.msg(res.data.code)
  300. }
  301. })
  302. },
  303. priceInput(e){
  304. this.price = e.detail.value
  305. },
  306. otherPriceInput(e){
  307. this.otherPrice = e.detail.value
  308. },
  309. insuranceFeeInput(e){
  310. this.insuranceFee = e.detail.value
  311. },
  312. netWeightInput(e){
  313. this.netWeight = e.detail.value
  314. },
  315. carNoInput(e){
  316. this.carNo = e.detail.value
  317. },
  318. rentboxFeeInput(e){
  319. this.rentboxFee = e.detail.value
  320. },
  321. loadingFeeInput(e){
  322. this.loadingFee = e.detail.value
  323. },
  324. boxNoInput(e){
  325. this.boxNo = e.detail.value
  326. },
  327. carInput(item,e){
  328. if(item.count>item.tranCount){
  329. uni.showToast({
  330. title: `当前车辆可载吨数为${item.tranCount},请不要超过`,
  331. icon:'none',
  332. duration: 2000
  333. })
  334. item.count = 0
  335. }else{
  336. item.count = e.detail.value
  337. }
  338. },
  339. selectInPerson(item){
  340. if(JSON.stringify(this.carlist).indexOf(JSON.stringify(item.id))==-1){
  341. this.carlist.push(item)
  342. }else{
  343. for(var i=0;i<this.carlist.length;i++){
  344. if(this.carlist[i].id==item.id){
  345. this.carlist[i].count=item.count
  346. }
  347. }
  348. }
  349. this.modalName = null
  350. },
  351. ChooseSignImage() {
  352. this.handwriting = new Handwriting({
  353. lineColor: this.lineColor,
  354. slideValue: this.slideValue, // 0, 25, 50, 75, 100
  355. canvasName: 'handWriting',
  356. })
  357. this.showAutograph = true
  358. },
  359. uploadScaleStart(event){
  360. this.handwriting.uploadScaleStart(event)
  361. },
  362. uploadScaleMove(event){
  363. this.handwriting.uploadScaleMove(event)
  364. },
  365. uploadScaleEnd(event){
  366. this.handwriting.uploadScaleEnd(event)
  367. },
  368. retDraw() {
  369. this.handwriting.retDraw()
  370. },
  371. hideModal(e) {
  372. this.modalName = null
  373. },
  374. ViewImage(e) {
  375. var img = [];
  376. img = e.currentTarget.dataset.url.split(' ')
  377. uni.previewImage({
  378. current:0,
  379. urls: img
  380. });
  381. },
  382. selectPerson(){
  383. const that = this
  384. uni.showLoading({
  385. title: '正在加载'
  386. })
  387. that.$api.request('tran', 'getCarList', {
  388. tranNo:that.carInfo.tranNo,
  389. taskId:that.taskId
  390. }, failres => {
  391. that.$api.msg(failres.errmsg)
  392. uni.hideLoading()
  393. }).then(res => {
  394. for(var i=0;i<res.data.length;i++){
  395. console.log(res.data[i].tranCount)
  396. res.data[i].count = res.data[i].tranCount
  397. }
  398. that.userList = res.data
  399. if(that.userList.length == 0){
  400. that.$api.msg('暂无汽车号')
  401. }
  402. else{
  403. var height = that.userList.length * 100
  404. var width = 500
  405. that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
  406. that.modalName = 'inModal'
  407. }
  408. uni.hideLoading()
  409. })
  410. },
  411. DelImg(e) {
  412. uni.showModal({
  413. title: '提示',
  414. content: '确定要删除该照片吗?',
  415. cancelText: '取消',
  416. confirmText: '确定',
  417. success: res => {
  418. if (res.confirm) {
  419. if(e.currentTarget.dataset.index == 0){
  420. this.trainImg = "";
  421. }
  422. else if(e.currentTarget.dataset.index == 1){
  423. this.otherImg = "";
  424. }
  425. }
  426. }
  427. })
  428. },
  429. ChooseImage() {
  430. uni.chooseImage({
  431. count: 1, //默认9
  432. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  433. sourceType: ['album','camera'], //从相册选择
  434. success: (res) => {
  435. //上传图片
  436. //图片路径可自行修改
  437. uploadImage(res.tempFilePaths[0], 'trainImg/',
  438. result => {
  439. this.trainImg = result
  440. uni.hideLoading();
  441. }
  442. )
  443. }
  444. });
  445. },
  446. ChooseImageOther() {
  447. uni.chooseImage({
  448. count: 1, //默认9
  449. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  450. sourceType: ['album','camera'], //从相册选择
  451. success: (res) => {
  452. //上传图片
  453. //图片路径可自行修改
  454. uploadImage(res.tempFilePaths[0], 'otherImg/',
  455. result => {
  456. this.otherImg = result
  457. uni.hideLoading();
  458. }
  459. )
  460. }
  461. });
  462. },
  463. goodsValueInput(e){
  464. this.goodsValue = e.detail.value
  465. },
  466. numInput(e){
  467. this.addNum = e.detail.value
  468. },
  469. wechatNoInput(e) {
  470. this.wechatNo = e.detail.value
  471. },
  472. gaipai(){
  473. console.log(1111)
  474. const that = this
  475. uni.showLoading({
  476. title: '正在加载'
  477. })
  478. that.$api.request('user', 'getUserList', {
  479. role:'外勤'
  480. }, failres => {
  481. that.$api.msg(failres.errmsg)
  482. uni.hideLoading()
  483. }).then(res => {
  484. that.userList = res.data
  485. if(that.userList.length == 0){
  486. that.$api.msg('暂无外勤信息')
  487. }
  488. else{
  489. var height = that.userList.length * 100
  490. var width = 500
  491. that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
  492. that.modalName = 'userModal'
  493. }
  494. uni.hideLoading()
  495. })
  496. },
  497. mygaipai(id){
  498. this.nextUserId=id
  499. var that = this
  500. that.$api.request('tran', 'gaipai',{
  501. taskId: that.taskId,
  502. outPersonId:id,
  503. taskType:that.taskType
  504. },failres => {
  505. that.$api.msg(failres.errmsg)
  506. that.modalName = null
  507. uni.hideLoading()
  508. }).then(res => {
  509. that.modalName = null
  510. uni.navigateBack({
  511. delta: 2
  512. })
  513. uni.hideLoading()
  514. })
  515. },
  516. },
  517. }
  518. </script>
  519. <style lang='scss' scoped="true">
  520. .container{
  521. padding-bottom: 160upx;
  522. }
  523. .carwrap{
  524. font-size:20rpx;
  525. }
  526. .detail-desc {
  527. background: #fff;
  528. margin-top: 16upx;
  529. width: 750upx;
  530. .d-header {
  531. display: flex;
  532. justify-content: center;
  533. align-items: center;
  534. height: 80upx;
  535. font-size: $font-base + 2upx;
  536. color: $font-color-dark;
  537. position: relative;
  538. text {
  539. padding: 0 20upx;
  540. background: #fff;
  541. position: relative;
  542. z-index: 1;
  543. }
  544. &:after {
  545. position: absolute;
  546. left: 50%;
  547. top: 50%;
  548. transform: translateX(-50%);
  549. width: 300upx;
  550. height: 0;
  551. content: '';
  552. border-bottom: 1px solid #ccc;
  553. }
  554. }
  555. }
  556. .carwrap{
  557. display: flex;
  558. justify-content: space-between;
  559. padding: 10px 40px;
  560. border-bottom:1px solid #f0f0f0;
  561. }
  562. .trancount{
  563. display: inline-block;
  564. vertical-align: middle;
  565. text-align: right;
  566. width: 100rpx;
  567. }
  568. .c-list {
  569. font-size: $font-sm + 2upx;
  570. color: $font-color-base;
  571. background: #fff;
  572. .c-row {
  573. display: flex;
  574. align-items: center;
  575. padding: 20upx 30upx;
  576. position: relative;
  577. }
  578. .tit {
  579. width: 220upx;
  580. }
  581. .con {
  582. flex: 1;
  583. color: $font-color-dark;
  584. .selected-text {
  585. margin-right: 10upx;
  586. }
  587. }
  588. .bz-list {
  589. height: 40upx;
  590. font-size: $font-sm+2upx;
  591. color: $font-color-dark;
  592. text {
  593. display: inline-block;
  594. margin-right: 30upx;
  595. }
  596. }
  597. .con-list {
  598. flex: 1;
  599. display: flex;
  600. flex-direction: column;
  601. color: $font-color-dark;
  602. line-height: 40upx;
  603. text-align: right;
  604. padding-right: 20upx;
  605. }
  606. .red {
  607. color: $uni-color-primary;
  608. }
  609. }
  610. /* 底部操作菜单 */
  611. .page-bottom {
  612. position: fixed;
  613. left: 30upx;
  614. bottom: 30upx;
  615. z-index: 95;
  616. display: flex;
  617. justify-content: center;
  618. align-items: center;
  619. width: 690upx;
  620. height: 100upx;
  621. background: rgba(255, 255, 255, .9);
  622. box-shadow: 0 0 20upx 0 rgba(0, 0, 0, .5);
  623. border-radius: 16upx;
  624. .p-b-btn {
  625. display: flex;
  626. flex-direction: column;
  627. align-items: center;
  628. justify-content: center;
  629. font-size: $font-sm;
  630. color: $font-color-base;
  631. width: 96upx;
  632. height: 80upx;
  633. .yticon {
  634. font-size: 40upx;
  635. line-height: 48upx;
  636. color: $font-color-light;
  637. }
  638. &.active,
  639. &.active .yticon {
  640. color: $uni-color-primary;
  641. }
  642. .icon-fenxiang2 {
  643. font-size: 42upx;
  644. transform: translateY(-2upx);
  645. }
  646. .icon-shoucang {
  647. font-size: 46upx;
  648. }
  649. }
  650. .action-btn-group {
  651. .action-btn {
  652. width: 100%;
  653. }
  654. }
  655. }
  656. @mixin playcenter {
  657. display: flex;
  658. align-items: center;
  659. justify-content: center;
  660. }
  661. .xsh-start {
  662. width: 105rpx;
  663. height: 105rpx;
  664. background: #FFFFFF;
  665. border-radius: 50%;
  666. font-size: 29rpx;
  667. color: #4135EB;
  668. @include playcenter;
  669. flex-wrap: wrap;
  670. }
  671. .x-modal {
  672. width: 100%;
  673. .x-m-title {
  674. width: 100%;
  675. height: 90rpx;
  676. padding: 0 38rpx 0 31rpx;
  677. box-sizing: border-box;
  678. font-size: 29rpx;
  679. color: #333333;
  680. border-bottom: 1px dashed #999;
  681. @include playcenter;
  682. justify-content: space-between;
  683. .xm-t-clear {
  684. font-size: 25rpx;
  685. color: #341DB7;
  686. @include playcenter;
  687. >image {
  688. width: 28rpx;
  689. height: 28rpx;
  690. display: block;
  691. margin-right: 8rpx;
  692. }
  693. }
  694. }
  695. .x-m-con {
  696. width: 100%;
  697. padding: 0 31rpx 18rpx;
  698. margin-top: 5rpx;
  699. box-sizing: border-box;
  700. }
  701. }
  702. .wrapper {
  703. width: 100%;
  704. height: 100%;
  705. margin: 30upx 0;
  706. overflow: hidden;
  707. display: flex;
  708. align-content: center;
  709. flex-direction: column;
  710. justify-content: center;
  711. font-size: 28upx;
  712. }
  713. .handWriting {
  714. background: #fff;
  715. width: 100%;
  716. height: 350upx;
  717. }
  718. .handRight {
  719. align-items: center;
  720. }
  721. .handCenter {
  722. border: 4upx dashed #e9e9e9;
  723. flex: 5;
  724. overflow: hidden;
  725. box-sizing: border-box;
  726. width: 90%;
  727. margin: 0 auto;
  728. }
  729. .handTitle {
  730. flex: 1;
  731. color: #666;
  732. justify-content: center;
  733. font-size: 30upx;
  734. }
  735. .handBtn {
  736. flex-direction: column;
  737. padding: 40upx 20upx;
  738. }
  739. .buttons{
  740. width: 100%;
  741. margin-top: 20upx;
  742. justify-content: space-between;
  743. }
  744. .buttons>button{
  745. font-size: 30upx;
  746. height: 80upx;
  747. }
  748. .delBtn {
  749. background: #23df02;
  750. color: #fff;
  751. }
  752. .color{
  753. align-items: center;
  754. }
  755. .color>text{
  756. margin-right: 20upx;
  757. }
  758. .subBtn {
  759. background: #008ef6;
  760. color: #fff;
  761. text-align: center;
  762. justify-content: center;
  763. }
  764. .black-select {
  765. width: 60upx;
  766. height: 60upx;
  767. }
  768. .black-select.color_select {
  769. width: 90upx;
  770. height: 90upx;
  771. }
  772. .red-select {
  773. width: 60upx;
  774. height: 60upx;
  775. }
  776. .red-select.color_select {
  777. width: 90upx;
  778. height: 90upx;
  779. }
  780. .slide-wrapper {
  781. align-items: center;
  782. margin-bottom: 20upx;
  783. }
  784. .slider{
  785. width: 400upx;
  786. padding-left: 20upx;
  787. }
  788. .drop {
  789. width: 50upx;
  790. height: 50upx;
  791. border-radius: 50%;
  792. background: #FFF;
  793. position: absolute;
  794. left: 0upx;
  795. top: -10upx;
  796. box-shadow: 0px 1px 5px #888888;
  797. }
  798. .slide {
  799. width: 250upx;
  800. height: 30upx;
  801. }
  802. .showimg{
  803. border: 4upx solid #e9e9e9;
  804. overflow: hidden;
  805. width: 90%;
  806. margin: 0 auto;
  807. background: #eee;
  808. height: 350upx;
  809. margin-top: 40upx;
  810. align-items: center;
  811. justify-content: center;
  812. }
  813. .showimg>image{
  814. width: 100%;
  815. height: 100%;
  816. }
  817. .showimg>text{
  818. font-size: 40upx;
  819. color: #888;
  820. }
  821. .indexFixed{
  822. position: fixed;
  823. left:0;
  824. bottom:0;
  825. right:0;
  826. }
  827. </style>