batchVehicleAdd.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. <template>
  2. <view class="order">
  3. <view class="example">
  4. <u-form labelPosition="left" :model="orderForm" :rules="rules" ref="form1" labelWidth='90'>
  5. <!-- 下单日期 -->
  6. <u-form-item :label="$t('order.orderDate')" borderBottom prop="setDate">
  7. <!-- <u-input readonly v-model="orderForm.setDate" border="none"
  8. :placeholder="$t('base.common.placeholderS')+$t('order.orderDate')" /> -->
  9. <span>{{orderForm.setDate}}</span>
  10. </u-form-item>
  11. <!-- 有效日期 -->
  12. <u-form-item v-show="orderForm.orderType !== '1'" :label="$t('order.endDate')" borderBottom prop="orderValidDate"
  13. @click="showEndDateCalendar = true">
  14. <!-- <u-input readonly v-model="orderForm.orderValidDate" border="none"
  15. :placeholder="$t('base.common.placeholderS')+$t('order.endDate')" /> -->
  16. <span>{{orderForm.orderValidDate}}</span>
  17. </u-form-item>
  18. <!-- 选择企业 -->
  19. <u-form-item :label="$t('order.enterprise')" borderBottom prop="tenantId"
  20. @click="showPopup('popupTenantId')">
  21. <!-- <u-input readonly v-model="orderForm.tenantName" border="none"
  22. :placeholder="$t('base.common.placeholderS')+$t('order.enterprise')" /> -->
  23. <span>{{orderForm.tenantName}}</span>
  24. </u-form-item>
  25. <!-- 临时/固定 -->
  26. <u-form-item :label="$t('order.orderType')" borderBottom prop="orderType"
  27. @click="showPopup('popupOrderType')">
  28. <!-- <u-input readonly v-model="orderForm.orderTypeName" border="none"
  29. :placeholder="$t('base.common.placeholderS')+$t('order.orderType')" /> -->
  30. <span>{{orderForm.orderTypeName}}</span>
  31. </u-form-item>
  32. <!-- 业务类型 -->
  33. <!-- <u-form-item :label="$t('order.vehicleType')" borderBottom prop="vehicleType"
  34. @click="showPopup('popupVehicleType')">
  35. <u-input readonly v-model="orderForm.vehicleTypeName" border="none"
  36. :placeholder="$t('base.common.placeholderS')+$t('order.vehicleType')" />
  37. </u-form-item> -->
  38. <u-form-item :label="$t('order.vehicleType')" borderBottom prop="vehicleType">
  39. <!-- <u-radio-group v-model="orderForm.vehicleType" @change="onVehicleTypeConfirm" placement="row"
  40. class="p-input">
  41. <u-radio :customStyle="{marginRight: '10px'}" v-for="item in vehicleTypeOption"
  42. :key="item.value" :label="item.text" :name="item.value">
  43. </u-radio>
  44. </u-radio-group> -->
  45. <view class="uni-list">
  46. <radio-group v-model="orderForm.vehicleType" @change="onVehicleTypeConfirm" placement="row">
  47. <label class="uni-list-cell uni-list-cell-pd" v-for="item in vehicleTypeOption" :key="item.value" >
  48. <view>
  49. <radio style="transform:scale(0.8)" :value="item.value" :checked="item.value === orderForm.vehicleType"/>{{item.text}}
  50. </view>
  51. </label>
  52. </radio-group>
  53. </view>
  54. </u-form-item>
  55. <template>
  56. <u-form-item :label="$t('order.companyName')" borderBottom prop="companyId"
  57. @click="showPopup('popupCompanyId')">
  58. <span>{{orderForm.companyName}}</span>
  59. <view v-if="paymentOption && paymentOption.isShow=='1'" style="color: darkgreen;font-size: 9pt;">
  60. {{paymentOption.total}}
  61. </view>
  62. <!-- <u-input readonly v-model="orderForm.companyName" border="none"
  63. :placeholder="$t('base.common.placeholderS')+$t('order.companyName')">
  64. <template slot="suffix">
  65. <view v-if="paymentOption && paymentOption.isShow=='1'" style="color: darkgreen;font-size: 9pt;">
  66. {{paymentOption.total}}
  67. </view>
  68. </template>
  69. </u-input> -->
  70. </u-form-item>
  71. <view v-if="paymentOption && paymentOption.isShow=='1' && paymentOption.agentResponsible=='1'"
  72. style="display: flex;flex-direction: row-reverse;">
  73. <view style="color: red;font-size: 9pt;">{{$t('order.source')}}:{{paymentOption.companyName}}
  74. </view>
  75. </view>
  76. </template>
  77. <u-form-item :label="$t('order.materialName')" borderBottom prop="materialId"
  78. @click="selectMater">
  79. <span>{{orderForm.materialName}}</span>
  80. <u-icon slot="right" name="arrow-right"></u-icon>
  81. </u-form-item>
  82. <!-- 订单数量 -->
  83. <u-form-item :label="$t('order.planNumber')" borderBottom prop="planNumber">
  84. <u--input v-model="orderForm.orderNumber" border="none" type='digit'
  85. :placeholder="$t('base.common.placeholderI')+$t('order.planNumber')"></u--input>
  86. </u-form-item>
  87. <u-form-item v-if="orderForm.orderType != '4'" u-form-item :label="$t('order.vehicle')" borderBottom
  88. prop="vehicle" @click="toSelectVehicle">
  89. <!-- <u--input readonly v-model="orderForm.vehicle" border="none"
  90. :placeholder="$t('base.common.placeholderS')+$t('order.vehicle')"></u--input> -->
  91. <span>{{orderForm.vehicle}}</span>
  92. <u-icon slot="right" name="arrow-right"></u-icon>
  93. </u-form-item>
  94. <u-form-item :label="$t('order.remarks')" borderBottom prop="remarks">
  95. <u-input v-model="orderForm.remark" border="none"
  96. :placeholder="$t('base.common.placeholderI')+$t('order.remarks')" />
  97. </u-form-item>
  98. </u-form>
  99. <view style="margin: 16px 0;">
  100. <button class="bind-btn" @click="submit('form1')">{{$t('base.common.submit')}}
  101. </button>
  102. </view>
  103. </view>
  104. <u-toast ref="loadingToast"></u-toast>
  105. <CarKeyboard :show.sync="carKeyboardShow" :vehicleNo="orderForm.vehicle" @confirm="onKeyBoardConfirm"
  106. vehicleType="car"></CarKeyboard>
  107. <!-- 下单日期 -->
  108. <u-calendar color="#4680F9" round='25' :show="showSetDateCalendar" @confirm="onSetDateConfirm"
  109. @close="showSetDateCalendar=false"></u-calendar>
  110. <!-- 有效日期 -->
  111. <u-datetime-picker :show="showEndDateCalendar" v-model="defaultEndDate" :defaultDate="defaultEndDate"
  112. mode="datetime" @confirm="onEndDateConfirm" @cancel="showEndDateCalendar=false" />
  113. <!-- <u-calendar color="#4680F9" :defaultDate="defaultEndDate" :show="showEndDateCalendar"
  114. @confirm="onEndDateConfirm" @close="showEndDateCalendar=false" /> -->
  115. <!-- 临时或固定 -->
  116. <PopupSelect ref="popupOrderType" :option="orderTypeOption" @onConfirm="onOrderTypeConfirm" />
  117. <!-- 业务类型 -->
  118. <!-- <PopupSelect ref="popupVehicleType" :option="vehicleTypeOption" @onConfirm="onVehicleTypeConfirm" /> -->
  119. <!-- 客户 -->
  120. <PopupSelect ref="popupCompanyId" :hasSearch='false' :option="companyOption" @onConfirm="onCompanyConfirm" />
  121. <!-- 原料 -->
  122. <PopupSelect ref="popupmaterialId" kind="m" :hasSearch='false' :option="materialOption"
  123. @onConfirm="onProductConfirm" />
  124. <!-- 企业选项 -->
  125. <PopupSelect ref="popupTenantId" :hasSearch='false' :option="tenantOption" @onConfirm="onTenantConfirm" />
  126. </view>
  127. </template>
  128. <script>
  129. import PopupSelect from '../../components/popup-select/index'
  130. import dayjs from 'dayjs'
  131. import CarKeyboard from '../../components/carKeyboard/carKeyboard'
  132. import {
  133. getTenantCacheList
  134. } from '../../utils/util.js'
  135. import {
  136. saveOrder,
  137. getOption,
  138. getMaterialsByCompany
  139. } from '../../api/order'
  140. export default {
  141. components: {
  142. CarKeyboard,
  143. PopupSelect
  144. },
  145. data() {
  146. return {
  147. carKeyboardShow: false,
  148. start: dayjs().format('YYYY-MM-DD'),
  149. orderForm: {
  150. setDate: dayjs().format('YYYY-MM-DD'), //订单日期
  151. orderValidDate: dayjs().add(30, 'day').format('YYYY-MM-DD HH:mm:ss'), //有效日期
  152. tenantId: '', //企业
  153. orderType: '1', //订单类型
  154. companyId: '', //客商
  155. materialId: "", //物料
  156. orderNumber: "0", //数量
  157. vehicle: '', //车号
  158. driverId: '', //司机id\
  159. vehicleType: '1',
  160. xfFlag: '',
  161. phone: '',
  162. idcard: "",
  163. driver: '',
  164. tenantName: '',
  165. vehicleTypeName: '', //业务类型
  166. companyName: "", //客商
  167. materialName: "", //物料id
  168. orderTypeName: this.$t('order.tempOrder'),
  169. sourceId: "", //第三方大订单ID
  170. remark:"",
  171. },
  172. rules: {
  173. orderType: [{
  174. required: true,
  175. message: this.$t('base.common.placeholderS') + this.$t('order.orderType')
  176. }],
  177. vehicleType: [{
  178. required: true,
  179. message: this.$t('base.common.placeholderS') + this.$t('order.vehicleType')
  180. }],
  181. tenantId: [{
  182. required: true,
  183. message: this.$t('base.common.placeholderS') + this.$t('order.enterprise')
  184. }],
  185. companyId: [{
  186. required: true,
  187. message: this.$t('base.common.placeholderS') + this.$t('order.companyName')
  188. }],
  189. materialId: [{
  190. required: true,
  191. message: this.$t('base.common.placeholderS') + this.$t('order.materialName')
  192. }],
  193. orderNumber: [{
  194. required: true,
  195. message: this.$t('base.common.placeholderI') + this.$t('order.planNumber')
  196. }]
  197. },
  198. vehicleTypeOption: [{
  199. text: this.$t('base.common.noData'),
  200. value: null
  201. }, ],
  202. orderTypeOption: [{
  203. text: this.$t('order.tempOrder'),
  204. value: '1'
  205. },
  206. ],
  207. paymentOption: {},
  208. //产品选项
  209. materialOption: [{
  210. text: this.$t('base.common.noData'),
  211. value: null,
  212. }], //物料选项
  213. //客户选项
  214. companyOption: [{
  215. text: this.$t('base.common.noData'),
  216. compvalueanyId: null
  217. }], //供应商选项
  218. // vehicleOption:[{vehicle:this.$t('base.common.noData'),value:null}], //司机选项
  219. tenantOption: [{
  220. text: this.$t('base.common.noData'),
  221. value: null
  222. }], //企业选项
  223. showSetDateCalendar: false,
  224. showEndDateCalendar: false,
  225. defaultEndDate: dayjs().add(30, 'day').format('YYYY-MM-DD HH:mm:ss'), //默认有效日期
  226. //业务对应的客户信息
  227. vehicleTypeCompanyList: [],
  228. //客户对应的物料信息
  229. companyMaterialList: [],
  230. }
  231. },
  232. onLoad(options) {
  233. this.bindTenant()
  234. },
  235. methods: {
  236. //选择品种
  237. selectMater(){
  238. uni.navigateTo({
  239. url: `/subpages/order/materSelect?option=${JSON.stringify(this.materialOption)}`
  240. })
  241. },
  242. //去选择司机
  243. toSelectVehicle() {
  244. uni.navigateTo({
  245. url: '/subpages/order/multipleVehicle?vehicles='+this.orderForm.vehicle+'&phones='+this.orderForm.phone
  246. })
  247. },
  248. //车号键盘输出
  249. onKeyBoardConfirm(id) {
  250. this.orderForm.vehicle = id
  251. },
  252. //显示车牌键盘
  253. carKeyboardOut() {
  254. this.carKeyboardShow = true
  255. },
  256. //选择订单类型后加载选项 //获取品种信息 101:销售,102:采购
  257. bindOption() {
  258. this.clear(true);
  259. console.log("订单租户信息、", this.orderForm.tenantId);
  260. if (!this.orderForm.tenantId) {
  261. console.log("订单业务租户信息");
  262. return;
  263. }
  264. var that = this;
  265. console.log("当前租户ID、", that.orderForm.tenantId);
  266. if (that.orderForm.tenantId) {
  267. let data = JSON.parse(JSON.stringify(that.orderForm))
  268. getOption(data).then(res => {
  269. console.log("查询基础数据返回、", res);
  270. if (res.statusCode === 200) {
  271. console.log("用户业务类型、", res.data.data.appVehicleType)
  272. console.log("用户客户信息、", res.data.data.appCompany)
  273. console.log("用户品种信息、", res.data.data.appMaterial)
  274. that.vehicleTypeOption = res.data.data.appVehicleType;
  275. if (that.vehicleTypeOption && that.vehicleTypeOption.length > 0) {
  276. that.orderForm.vehicleType = that.vehicleTypeOption[0].value
  277. that.vehicleTypeCompanyList = res.data.data.appCompany
  278. that.bindCompany();
  279. that.bindMaterial();
  280. }
  281. }
  282. })
  283. }
  284. },
  285. bindCompany() {
  286. var vehicleType = this.orderForm.vehicleType;
  287. if (vehicleType && this.vehicleTypeCompanyList) {
  288. this.companyOption = [{
  289. text: this.$t('order.notSelected'),
  290. value: null
  291. }] //物料选项
  292. var companyInfos = this.vehicleTypeCompanyList.filter(function(company) {
  293. return company.vehicleType == vehicleType;
  294. });
  295. if (companyInfos && companyInfos.length > 0) {
  296. companyInfos[0].companyList.forEach(item => {
  297. this.companyOption.push({
  298. text: item.companyName,
  299. value: item.companyId
  300. })
  301. })
  302. this.orderForm.companyId = this.companyOption[1].value
  303. this.orderForm.companyName = this.companyOption[1].text
  304. }
  305. console.log("客户信息、", this.companyOption);
  306. }
  307. },
  308. bindMaterial() {
  309. var companyId = this.orderForm.companyId;
  310. this.materialOption = []
  311. this.orderForm.materialId = ''
  312. this.orderForm.materialName = ''
  313. this.paymentOption = {}
  314. if (companyId) {
  315. getMaterialsByCompany(this.orderForm).then(res => {
  316. if (res.data.code == 0) {
  317. this.paymentOption = res.data.hardInfo
  318. // this.materialOption = [{
  319. // text: this.$t('order.notSelected'),
  320. // value: null
  321. // }] //物料选项
  322. var materialInfos = res.data.data;
  323. console.log("1111213213", materialInfos);
  324. if (materialInfos && materialInfos.length > 0) {
  325. materialInfos.forEach(item => {
  326. this.materialOption.push({
  327. text: item.name,
  328. value: item.id,
  329. type:item.materTypeName?item.materTypeName:'暂无分类',
  330. })
  331. })
  332. if (this.materialOption[1]&&this.materialOption.length==2) {
  333. this.orderForm.materialId = this.materialOption[1].value
  334. this.orderForm.materialName = this.materialOption[1].text
  335. }
  336. }
  337. console.log("品种信息、", this.materialOption);
  338. }
  339. })
  340. }
  341. },
  342. //
  343. bindTenant() {
  344. this.tenantOption = getTenantCacheList();
  345. if (this.tenantOption.length > 0) {
  346. this.orderForm.tenantId = this.tenantOption[0].value
  347. this.orderForm.tenantName = this.tenantOption[0].text
  348. }
  349. this.bindOption();
  350. },
  351. //提交订单
  352. submit(ref) {
  353. let _this = this
  354. console.log("提交的订单信息、", this.orderForm);
  355. if (this.orderForm.orderType != "4" && !this.orderForm.vehicle) {
  356. uni.showToast({
  357. title: this.$t('base.common.placeholderI') + this.$t('order.vehicle'),
  358. icon: 'none',
  359. duration: 2000
  360. })
  361. return;
  362. }
  363. if (!this.orderForm.orderNumber || this.orderForm.orderNumber == '0') {
  364. uni.showToast({
  365. title: this.$t('base.common.placeholderI') + this.$t('order.orderNumber'),
  366. icon: 'none',
  367. duration: 2000
  368. })
  369. return;
  370. }
  371. this.$refs[ref].validate().then(() => {
  372. let data = JSON.parse(JSON.stringify(_this.orderForm))
  373. console.log("保存订单信息、", data);
  374. this.$refs.loadingToast.show({
  375. type: "loading",
  376. message: this.$t('base.common.loading'),
  377. duration: "1000000"
  378. })
  379. saveOrder(data).then(res => {
  380. this.$refs.loadingToast.hide()
  381. if (res.statusCode === 200) {
  382. uni.showModal({
  383. // title: '提示',
  384. content: this.$t("order.isContinueAddOrder"),
  385. showCancel: true,
  386. cancelText: this.$t("base.button.goBack"),
  387. confirmText: this.$t("base.button.continue"),
  388. success: function(res) {
  389. if (res.confirm) {
  390. _this.orderForm = {
  391. setDate: dayjs().format('YYYY-MM-DD'), //订单日期
  392. orderValidDate: dayjs().add(30, 'day').format(
  393. 'YYYY-MM-DD HH:mm:ss'), //有效日期
  394. vehicleType: '101', //订单类型
  395. vehicleTypeName: '', //业务类型
  396. companyId: '', //客商
  397. materialId: "", //物料
  398. orderNumber: "0", //数量
  399. vehicle: '', //车号
  400. driverId: '', //司机id\
  401. orderType: '1',
  402. orderTypeName: this.$t('order.tempOrder'),
  403. phone: '',
  404. idcard: "",
  405. driver: '',
  406. companyName: "", //客商
  407. materialName: "", //物料id
  408. },
  409. console.log('用户点击确定');
  410. } else if (res.cancel) {
  411. console.log('用户点击取消');
  412. uni.redirectTo({
  413. url: '/subpages/order/dealerList?index=0'
  414. })
  415. }
  416. }
  417. })
  418. }
  419. })
  420. }).catch(err => {
  421. console.log('err', err);
  422. this.$refs.loadingToast.hide()
  423. })
  424. },
  425. formatOption(data) {
  426. let arr = []
  427. data.forEach(item => {
  428. arr.push({
  429. text: item.name || item.label,
  430. value: item.value || item.id
  431. })
  432. })
  433. if (arr.length) {
  434. arr.unshift({
  435. text: this.$t('order.notSelected'),
  436. value: null
  437. })
  438. } else {
  439. arr.unshift({
  440. text: this.$t('base.common.noData'),
  441. value: null
  442. })
  443. }
  444. return arr
  445. },
  446. //显示选择
  447. showPopup(refs) {
  448. this.$refs[refs].showPicker = true
  449. },
  450. //选择下单日期
  451. onSetDateConfirm(date) {
  452. this.orderForm.setDate = dayjs(date).format('YYYY-MM-DD');
  453. this.showSetDateCalendar = false;
  454. },
  455. //选择下单日期
  456. onEndDateConfirm(date) {
  457. this.orderForm.orderValidDate = dayjs(date.value).format('YYYY-MM-DD HH:mm:ss');
  458. this.showEndDateCalendar = false;
  459. },
  460. //选择订单类型
  461. onOrderTypeConfirm(value) {
  462. this.orderForm.orderType = ''
  463. this.orderForm.orderTypeName = ''
  464. if (value.value) {
  465. this.orderForm.orderType = value.value
  466. this.orderForm.orderTypeName = value.text
  467. }
  468. },
  469. //选择订单类型
  470. onVehicleTypeConfirm(value) {
  471. this.orderForm.vehicleType = value.detail.value
  472. this.clear(false)
  473. this.bindCompany();
  474. this.bindMaterial();
  475. },
  476. //选择客户
  477. onCompanyConfirm(value) {
  478. this.orderForm.companyId = ''
  479. this.orderForm.companyName = ''
  480. if (value.value) {
  481. this.orderForm.companyId = value.value
  482. this.orderForm.companyName = value.text
  483. }
  484. this.bindMaterial();
  485. },
  486. //选择原料
  487. onProductConfirm(value) {
  488. console.log("选择的物料信息、", value);
  489. this.orderForm.materialId = ''
  490. this.orderForm.materialName = ''
  491. if (value.value) {
  492. this.orderForm.materialId = value.value
  493. this.orderForm.materialName = value.text
  494. }
  495. },
  496. //选择企业
  497. onTenantConfirm(value) {
  498. this.orderForm.tenantId = ''
  499. this.orderForm.tenantName = ''
  500. if (value.value) {
  501. this.orderForm.tenantId = value.value
  502. this.orderForm.tenantName = value.text
  503. }
  504. this.bindOption();
  505. },
  506. clear(isVehicleType) {
  507. if (isVehicleType == true) {
  508. this.vehicleTypeOption = [{
  509. text: this.$t('base.common.noData'),
  510. value: null
  511. }]
  512. this.orderForm.vehicleType = ''
  513. }
  514. this.companyOption = [{
  515. text: this.$t('base.common.noData'),
  516. value: null
  517. }] //客户选项
  518. this.materialOption = [{
  519. text: this.$t('base.common.noData'),
  520. value: null
  521. }] //物料选项
  522. this.orderForm.companyId = ''
  523. this.orderForm.materialId = ''
  524. this.orderForm.companyName = ''
  525. this.orderForm.materialName = ''
  526. this.orderForm.orderNumber = '0';
  527. this.orderForm.driver = '';
  528. this.orderForm.driverId = '';
  529. this.orderForm.vehicle = '';
  530. },
  531. }
  532. }
  533. </script>
  534. <style lang="less" scoped>
  535. .order {
  536. padding: 32rpx;
  537. .picker-title {
  538. display: flex;
  539. padding: 0 32rpx;
  540. line-height: 84rpx;
  541. justify-content: space-between;
  542. .confirm {
  543. color: #4680F9;
  544. }
  545. }
  546. .picker-wrap {
  547. height: 440rpx;
  548. .picker-view {
  549. height: 100%;
  550. .item {
  551. display: flex;
  552. justify-content: space-between;
  553. height: 88rpx;
  554. line-height: 88rpx;
  555. padding: 0 32rpx;
  556. .text {
  557. width: 33%;
  558. }
  559. .text1 {
  560. width: 33%;
  561. text-align: center;
  562. }
  563. .text2 {
  564. width: 33%;
  565. text-align: right;
  566. }
  567. }
  568. .btn-item {
  569. display: flex;
  570. justify-content: center;
  571. height: 88rpx;
  572. line-height: 88rpx;
  573. padding: 0 32rpx;
  574. align-items: center;
  575. .add-vehicle {
  576. line-height: 64rpx;
  577. height: 64rpx;
  578. background: #4680F9;
  579. width: 25%;
  580. font-size: 28rpx;
  581. }
  582. }
  583. }
  584. }
  585. .form-wrap {
  586. height: 444rpx;
  587. padding: 0 32rpx;
  588. }
  589. }
  590. // button {
  591. // // background:linear-gradient(to right,#4680F9 0%,#00e2fa 80%,#00e2fa 100%);
  592. // background: #4680F9;
  593. // line-height: 100rpx;
  594. // color: #fff;
  595. // border: none;
  596. // }
  597. uni-button:after {
  598. border: none;
  599. }
  600. uni-input {
  601. height: 72rpx;
  602. padding: 0 10rpx 0 20rpx;
  603. }
  604. .uni-forms-item__inner {
  605. padding: 20rpx 0;
  606. }
  607. // /deep/ .u-button--primary {
  608. // background-color: #4680F9;
  609. // border-color: #4680F9;
  610. // }
  611. </style>