123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903 |
- <template>
- <div class="content">
- <!--运单号-->
- <div v-show="wayShow" class="sm" style="padding-top: 10px;height: 50px;">
- <div>
- <van-field maxlength="50" v-model="waybillNo" name="运单号" label="运单号" placeholder="运单号" />
- <img @click="wxScanCode(1)" src="../assets/images/sm.png" alt="">
- </div>
- </div>
- <!-- 寄件地址 -->
- <div class="jjinfo">
- <div>
- <div class="jj">
- <div class="jjaddress" style="width: 100vw;">
- <p style="flex: none;">寄</p>
- <div>
- <div class="address">
- <div class="address_label">地址</div>
- <div class="address_text">{{ SendInfoValue.address }}</div>
- </div>
- <van-field v-model="SendInfoValue.phone" label="手机号" name="pattern" placeholder="自动填充" />
- </div>
- </div>
- <!-- <div class="dzb" @click="link(1)">
- <img src="../assets/images/addlist.png" alt="">
- <p>地址簿</p>
- </div> -->
- </div>
- <div class="jj" style="border-top:.01rem solid #ededed">
- <div class="jjaddress">
- <p style="background: #fa9c22; flex:none;">收</p>
- <div>
- <van-field v-model="transmitMessageVlaue.addresseeName" name="" label="姓名"
- placeholder="自动填充" />
- <van-field v-model="transmitMessageVlaue.addresseePhone" label="手机号" name="pattern"
- placeholder="自动填充" />
- </div>
- </div>
- <div class="dzb" @click="link(2)">
- <img src="../assets/images/addlist.png" alt="">
- <p>地址簿</p>
- </div>
- </div>
- </div>
- </div>
- <!-- 快递公司 -->
- <div class="kdshow">
- <van-field readonly clickable name="picker" :value="expressInfoShow" label="快递公司" placeholder="请选择快递公司"
- @click="showPicker = true" />
- <van-popup v-model="showPicker" position="bottom">
- <van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="showPicker = false">
- <template v-slot:option="slotProps">
- {{ slotProps.expresCompanyName }}
- </template>
- </van-picker>
- </van-popup>
- </div>
- <!-- 寄件属性 -->
- <div class="choose">
- <div>
- <div class="type_wp">
- <div>
- <p>物品类型</p>
- <p v-if="wptype == ''" @click="wpshow = true">请选择</p>
- <p v-else @click="wpshow = true">{{ wptype }}</p>
- </div>
- <div>
- <p>
- <template>重量(公斤)</template>
- </p>
- <p>
- <van-field name="Kilogram" style="padding: 0px;">
- <template #input>
- <van-stepper v-model="Kilogram" max="10"></van-stepper>
- </template>
- </van-field>
- </p>
- </div>
- <div>
- <p>
- <template>数量(件数)</template>
- </p>
- <p>
- <van-field name="stepper" style="padding: 0px;">
- <template #input>
- <van-stepper v-model="stepper" max="10"></van-stepper>
- </template>
- </van-field>
- </p>
- </div>
- </div>
- <div class="type_price">
- <div>
- <p>付款方式</p>
- <p v-if="pricetype == ''" @click="priceshow = true">请选择</p>
- <p v-else @click="priceshow = true">{{ pricetype }}</p>
- </div>
- <div>
- <p>声明价值</p>
- <p style="display: flex;justify-content: center;"><input
- style="width: 1rem;border: none;text-align: center;" v-model="declaredValue"
- type="number" />元
- </p>
- </div>
- </div>
- <div class="type_price" v-show="this.accountType == 1">
- <div>
- <p>邮购类型</p>
- <p v-if="addresstype == ''" @click="addressshow = true">请选择</p>
- <p v-else @click="addressshow = true">{{ addresstype }}</p>
- </div>
- </div>
- </div>
- </div>
- <!-- 备注 -->
- <div class="bz">
- <div>
- <van-field style="font-size: 16px;" v-model="bz" name="备注" label="备注" placeholder="包装运输等要求" />
- </div>
- </div>
- <!-- 财务核销码 -->
- <div class="az" v-if="SendInfoValue.isVerification == 1">
- <van-field style="font-size: 16px;" v-model="authorization" name="authorization" label="财务核销码"
- placeholder="请输入财务核销码" />
- <img @click="vxSearchIcon" src="../assets/images/sm.png" alt="">
- </div>
- <!-- 我同意 -->
- <div class="check">
- <van-checkbox icon-size=".24rem" v-model="check" shape="">我同意《电子运单契约条款》</van-checkbox>
- </div>
- <!-- 寄件 -->
- <div class="btn-jj">
- <van-button type="info" color="#00c4b8" @click="save()">立即寄件</van-button>
- </div>
- <!-- 弹窗物品类型 -->
- <van-popup v-model="wpshow" position="bottom">
- <van-picker title="物品类型" show-toolbar :columns="wplist" @confirm="onConfirm1" @cancel="wpshow = false" />
- </van-popup>
- <!-- 弹窗付款方式 -->
- <van-popup v-model="priceshow" position="bottom">
- <van-picker title="付款方式" show-toolbar :columns="pricelist" @confirm="onConfirm2"
- @cancel="priceshow = false" />
- </van-popup>
- <!-- 弹窗地址类型类型 -->
- <van-popup v-model="addressshow" position="bottom">
- <van-picker title="邮购类型" show-toolbar :columns="addlist" @confirm="onConfirm8"
- @cancel="addressshow = false" />
- </van-popup>
- <!-- 打印机选择器 -->
- <van-popup v-model="printerShow" position="bottom">
- <van-picker show-toolbar :columns="getPrintersList" @confirm="onPrinter" @cancel="printerShow = false">
- <template v-slot:option="value">
- {{ value.printerName }}
- </template>
- </van-picker>
- </van-popup>
- </div>
- </template>
- <script>
- import areaList from "@/script/areas.js"
- import { Toast } from 'vant';
- import { saveMailDo, getSendInfo, geLogisticsList, getListOfPrinters, storagePrintSmallTab, getWxConfig } from '../api/index'
- export default {
- data() {
- return {
- titlename: "寄件",
- wptype: "物品",//物品类型
- addresstype: "顾客邮购",//地址类型
- youGouType: "",//邮购类型
- addressshow: false,//地址类型弹窗显示
- addlist: ['顾客邮购', '非顾客邮购'],//
- wpshow: false,//物品类型弹窗显示
- wplist: ["物品", "文件"],
- pricetype: "月结(公司件)",//付款类型
- stepper: '',//件数
- Kilogram: '',//公斤
- max: '',//最大数
- priceshow: false,//付款类型弹窗显示
- pricelist: ["到付", "自费(个人件)", "月结(公司件)",],
- index: "",
- title: "",
- check: false,//契约条款
- bz: '',//快递备注
- showPicker: false,//快递
- expressInfoShow: "顺丰快递",//快递公司展示
- expressPhone: "",//快递公司电话传值
- expressInfo: "1",//快递公司传值
- columns: [],//快递公司列表
- columns2: ["个人件", "公司件"],
- // transmitMessageVlaue: {},
- declaredValue: '0', //声明价值
- showPicker2: false,
- goodOrderNo: '',//商品订单编号
- waybillNo: '',//运单号
- wayShow: true,
- accountType: '',//账号类型
- showPicker9: false,
- costCenterList: [],//成本中心列表
- costCenterInfoShow: "",
- costCenterName: "",//成本中心展示
- costCenterId: "",//成本中心展示
- elvenPhone: '',//收件人输入的手机号
- pattern: /^\d{11}$/,
- SendInfoValue: {},//寄件人信息
- authorization: '',//财务核销码
- getPrintersList: [],//打印机获取数据
- printerShow: false,//打印机出现
- printerName: '',//选中的打印机名称
- printerId: '',//选中的打印机id
- }
- },
- created: function () {
- this.accountType = localStorage.getItem("accountType")
- this.geLogisticsListAPIList()
- },
- async mounted() {
- const res = await getSendInfo({ userId: localStorage.getItem("userId") })
- if (res.code == 444) {
- Toast(res.msg)
- } else {
- this.SendInfoValue = res
- }
- console.log(this.SendInfoValue, 'this.SendInfoValue')
- },
- methods: {
- // 运单号扫描
- wxScanCode(type) {
- let wx = this.$wx;
- this.$http.post(this.$store.state.host + "/weixin/getWxConfig", {
- url: window.location.href.split('#')[0]
- }, {
- emulateJSON: true
- })
- .then(res => {
- //发送成功
- var timestamp = res.wxConfig.timestamp;
- var noncestr = res.wxConfig.nonceStr;
- var signature = res.wxConfig.signature;
- var appId = res.wxConfig.appId;
- wx.config({
- debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
- // debug : true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
- appId: appId, // 必填,公众号的唯一标识
- timestamp: timestamp, // 必填,生成签名的时间戳
- nonceStr: noncestr, // 必填,生成签名的随机串
- signature: signature, // 必填,签名,见附录1
- jsApiList: [
- "scanQRCode",
- ] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
- });
- wx.ready(() => {
- wx.scanQRCode({
- needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
- scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
- success: (res) => {
- var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
- if (result.indexOf(",") != -1) {
- let result1 = res.resultStr.split(",");
- result = result1[result1.length - 1];
- }
- if (type == 1) {
- this.waybillNo = result;
- } else {
- this.goodOrderNo = result;
- }
- },
- error: function (res) {
- console.log(res);
- }
- });
- });
- }, res => {
- //发送失败
- Toast("网络错误!")
- })
- },
- // 财务核销码哦icon扫描
- async vxSearchIcon() {
- console.log('123')
- wx.scanQRCode({
- needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
- scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
- success: (res) => {
- //alert(res)
- console.log(res, '==============')
- var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
- if (result.indexOf(",") != -1) {
- let result1 = res.resultStr.split(",");
- result = result1[result1.length - 1];
- }
- console.log(result, '======财务核销码返回结果')
- this.authorization = result
- },
- error: function (res) {
- console.log(res, 'error++++++++++');
- }
- });
- },
- // 快递公司
- async geLogisticsListAPIList() {
- const res = await geLogisticsList({})
- console.log(res, '======================')
- this.columns = res.list.map((item) => {
- return {
- id: item.id,
- expresCompanyName: item.expresCompanyName
- }
- })
- },
- // 选择快递公司
- onConfirm(e) {
- console.log(e, '=============')
- this.expressInfoShow = e.expresCompanyName
- this.expressInfo = e.id
- this.showPicker = false
- },
- // 选择成本中心
- onConfirm9(e) {
- this.costCenterInfoShow = e.text
- this.costCenterId = e.id
- this.costCenterName = e.costCenterName
- this.showPicker9 = false
- console.log("costCenterId:" + this.costCenterId)
- console.log("costCenterName:" + this.costCenterName)
- },
- onConfirm0(e) {
- this.mainType = e
- this.showPicker2 = false
- },
- // 选择物品确定
- onConfirm1(e) {//确定
- this.wptype = e
- // if (this.wptype == '文件') {
- // this.max = '10'
- // } else {
- // this.max = '1'
- // }
- this.wpshow = false
- },
- // 选择付款方式确定
- onConfirm2(e) {//确定
- this.pricetype = e
- this.priceshow = false
- },
- // 填写地址类型确定
- onConfirm8(e) {//确定
- this.addresstype = e
- this.addressshow = false
- },
- // 地址簿跳转
- link(obj) {
- this.$router.push({ path: '/Myaddressbook', query: { active: obj } })
- },
- //立即寄件交互
- async save() {
- if (this.SendInfoValue.phone == '' || this.SendInfoValue.phone == undefined) {
- Toast('寄件人手机号不能为空')
- return
- }
- if (!this.pattern.test(this.SendInfoValue.phone)) {
- Toast('寄件人手机号码不正确')
- return
- }
- if (this.transmitMessageVlaue.addresseeName == '' || this.transmitMessageVlaue.addresseeName == undefined) {
- Toast('收件人姓名不能为空')
- return
- }
- if (this.transmitMessageVlaue.addresseePhone == '' || this.transmitMessageVlaue.addresseePhone == undefined) {
- Toast('手机号码不能为空')
- return
- }
- if (!this.pattern.test(this.transmitMessageVlaue.addresseePhone)) {
- Toast('收件人手机号码不正确')
- return
- }
- if (this.expressInfo == '' || this.expressInfo == undefined) {
- Toast('请选择快递公司')
- return
- }
- if (this.wptype == '' || this.wptype == undefined) {
- Toast('请选择物品类型')
- return
- }
- if (this.stepper == '' || this.stepper == undefined) {
- Toast('请选择重量')
- return
- }
- if (this.pricetype == '' || this.pricetype == undefined) {
- Toast('请选择付款方式')
- return
- }
- // if (this.authorization == '' & this.SendInfoValue.isVerification == 1) {
- // Toast('请填写财务核销码')
- // return
- // }
- let payWay = ''
- let mainType = ''
- if (this.pricetype == "自费(个人件)") {
- payWay = '自费'
- mainType = '个人件'
- }
- if (this.pricetype == "月结(公司件)") {
- payWay = '月结'
- mainType = '公司件'
- }
- if (this.check == false) {
- Toast('请点击同意《电子运单契约条款》')
- return
- }
- const getPrinters = await getListOfPrinters({})
- if (getPrinters.code == 0) {
- // const qwe = {
- // IMEI: "8672970676795912",
- // companyId: "990b526776e74ff9ab141ff28e09f0922",
- // correspondingRoles: "揽件员2",
- // id: 72,
- // printerName: "禁魔石打印机2",
- // recordDate: "2024-04-12 15:10:12.4282",
- // shareCode: "9077782",
- // st: "12",
- // type: "12",
- // useTheId: "11392",
- // } //脏数据
- // getPrinters.data.push(qwe)
- this.getPrintersList = getPrinters.data.map((item) => {
- return { printerName: item.printerName, id: item.id }
- })
- if (this.getPrintersList.length === 1) {
- this.shipServe(this.getPrintersList[0].id)
- return
- }
- this.printerShow = true
- } else {
- Toast('系统异常')
- }
- return
- },
- async onPrinter(e) {
- console.log(e, 'eeeeeeeeeeeeeee')
- // const toask = this.$toast.loading({
- // duration: 0, // 持续展示 toast
- // forbidClick: true,
- // message: '加载中',
- // });
- this.printerName = e.printerName;
- this.printerId = e.id;
- await this.shipServe(e.id)
- // 开始走打印机面单
- // try {
- // const res = await storagePrintSmallTab({ printId: e.id })
- // if (res.msg == 'success') {
- // Toast('打印成功')
- // }
- // console.log(res, '最后')
- // this.printerShow = false;
- // } catch (error) {
- // }
- // toask.clear();
- },
- async shipServe(printId) {
- //先走基础打印
- const $toast = Toast.loading({
- message: '保存中...',
- forbidClick: true,
- duration: 0
- });
- let pricetypeValue = ''
- if (this.pricetype == '月结(公司件)') {
- pricetypeValue = 3
- } else if (this.pricetype == '自费(个人件)') {
- pricetypeValue = 2
- } else if (this.pricetype == '到付') {
- pricetypeValue = 1
- }
- let wptypeValue = ''
- if (this.wptype == "物品") {
- wptypeValue = 2
- } else {
- wptypeValue = 1
- }
- let parmas = {
- expressInfo: this.expressInfo,//快递公司1-顺丰
- userAddressId: this.transmitMessageVlaue.id,
- // userAddressId: 'ede4f065286a406dbb82064ec7524b4e',
- expressType: wptypeValue,//快件类型 1-文件 2-物品
- expressNum: this.stepper, //快递数量
- payInfo: pricetypeValue,//付费信息 1-到付 2-自付 3-月付
- expressRemark: this.bz,//快递备注
- expressWeight: this.Kilogram,//公斤
- expressPrice: this.declaredValue,//价值
- phone: this.SendInfoValue.phone,//寄件人手机号
- addresseeName: this.transmitMessageVlaue.addresseeName,//寄件人姓名
- addresseePhone: this.transmitMessageVlaue.addresseePhone,//收件人手机号
- verificationCode: this.authorization, //财务核销码
- printId: printId
- }
- const res = await saveMailDo({ ...parmas })
- if (res.msg == 'success') {
- Toast('寄件成功')
- this.$router.push('/')
- } else {
- this.$toast(res.error)
- }
- $toast.clear()
- }
- },
- computed: {
- areaList() {
- return areaList
- },
- transmitMessageVlaue() {
- return this.$store.state.transmitMessageVlaue;
- },
- }
- }
- </script>
- <style scoped lang="less">
- .content {
- .sm {
- display: flex;
- padding: .33rem;
- padding-bottom: 0;
- font-size: .3rem;
- justify-content: space-between;
- /deep/.van-field {
- width: 6.2rem;
- height: .76rem;
- .van-search__content {
- background-color: white;
- }
- input {
- text-align: right;
- }
- }
- img {
- width: .4rem;
- height: .4rem;
- position: relative;
- top: -.58rem;
- right: -6.38rem;
- }
- }
- .jjinfo {
- font-size: .24rem;
- color: #999999;
- padding: .33rem;
- padding-top: 0;
- word-break: break-word;
- >div {
- background: white;
- border-radius: .05rem;
- padding: 0rem .3rem;
- .jj {
- display: flex;
- // justify-content: space-between;
- padding: .2rem 0rem;
- .jjaddress {
- display: flex;
- padding: .1rem 0rem;
- .van-cell {
- padding: 0;
- margin: 0;
- .van-field__label.van-cell__title {
- width: 0.2em !important;
- }
- }
- .van-cell::after {
- margin-left: -16px;
- // width: 100%;
- }
- >p {
- font-size: .24rem;
- font-weight: bold;
- display: inline-block;
- width: .5rem;
- height: .5rem;
- background: #00c4b8;
- text-align: center;
- line-height: .5rem;
- color: white;
- border-radius: 50%;
- margin-right: .3rem;
- }
- div {
- //font-weight: bold;
- p:nth-of-type(1) {
- font-size: .24rem;
- color: #333;
- margin-bottom: .2rem;
- }
- p:nth-of-type(2) {
- font-size: .3rem;
- }
- }
- }
- .dzb {
- text-align: center;
- border-left: .01rem solid #ededed;
- padding-left: .3rem;
- width: 36px;
- img {
- width: .39rem;
- height: .42rem;
- padding-top: .2rem;
- }
- p {
- font-size: .2rem;
- }
- }
- }
- }
- }
- .kdshow {
- font-size: .3rem;
- padding: .3rem 0px;
- width: 6.84rem;
- background: white;
- border-radius: .05rem;
- margin: 0rem auto .2rem;
- /deep/.van-cell {
- padding: 0px .3rem;
- overflow: unset;
- input {
- text-align: right;
- height: .5rem;
- padding-right: .25rem;
- }
- }
- /deep/.van-cell::after {
- content: "";
- display: inline-block;
- border-right: .01rem solid #b0b0b0;
- border-bottom: .01rem solid #b0b0b0;
- transform: rotate(-45deg);
- left: unset;
- position: absolute;
- right: .3rem;
- bottom: .15rem;
- width: .2rem;
- height: .2rem;
- }
- }
- .choose {
- font-size: .3rem;
- color: #999999;
- font-weight: bold;
- padding: 0rem .33rem;
- >div {
- background: white;
- padding: .3rem .3rem;
- border-radius: .05rem;
- .type_wp {
- display: flex;
- justify-content: center;
- div {
- flex: 1;
- text-align: center;
- p:nth-of-type(2) {
- color: #333;
- margin-top: .2rem;
- font-size: .36rem;
- //position: relative;
- }
- }
- div:nth-of-type(1) {
- border-right: .01rem solid #ededed;
- p:nth-of-type(2):after {
- content: "";
- display: inline-block;
- width: .15rem;
- height: .15rem;
- border-bottom: .01rem solid #999;
- border-right: .01rem solid #999;
- transform: rotate(45deg);
- margin-left: .15rem;
- position: relative;
- top: -.08rem;
- }
- }
- }
- .type_price {
- display: flex;
- justify-content: center;
- border-top: .01rem solid #ededed;
- margin-top: .3rem;
- padding-top: .3rem;
- div {
- flex: 1;
- text-align: center;
- p:nth-of-type(2) {
- color: #333;
- margin-top: .2rem;
- font-size: .36rem;
- }
- }
- div:nth-of-type(1) {
- border-right: .01rem solid #ededed;
- p:nth-of-type(2):after {
- content: "";
- display: inline-block;
- width: .15rem;
- height: .15rem;
- border-bottom: .01rem solid #999;
- border-right: .01rem solid #999;
- transform: rotate(45deg);
- margin-left: .15rem;
- position: relative;
- top: -.08rem;
- }
- }
- }
- }
- }
- .bz {
- // margin-top: -0.53rem;
- padding: 0 .33rem;
- font-size: 16px;
- /deep/.van-field__value {
- input {
- text-align: right;
- }
- }
- }
- .az {
- margin: 0px .33rem;
- font-size: 16px;
- display: flex;
- align-items: center;
- background-color: #fff;
- // position: absolute;
- /deep/.van-field__value {
- input {
- text-align: right;
- }
- }
- img {
- width: .4rem;
- height: .4rem;
- margin-right: 6px;
- }
- }
- .check {
- font-size: .24rem;
- margin-top: 6px;
- text-align: center;
- /deep/.van-checkbox {
- justify-content: center;
- .van-checkbox__label {
- color: #999;
- }
- }
- }
- .btn-jj {
- padding: 0 .33rem .33rem;
- button {
- width: 100%;
- }
- }
- }
- .address {
- display: flex;
- font-size: 14px;
- line-height: 24px;
- position: relative;
- .address_label {
- flex: none;
- width: 6.2em;
- margin-right: 12px;
- color: #646566;
- text-align: left;
- word-wrap: break-word;
- }
- .address_text {
- color: #323233;
- }
- &::after {
- position: absolute;
- box-sizing: border-box;
- content: ' ';
- pointer-events: none;
- right: 16px;
- bottom: 0;
- left: 16px;
- border-bottom: 1px solid #ebedf0;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- margin-left: -16px;
- width: 100%;
- }
- }
- .whrite_add {
- width: 6.6rem;
- padding: .4rem .2rem;
- /deep/.van-field__value {
- input {
- text-align: right;
- }
- }
- /deep/.van-popup__close-icon--top-right {
- top: 5px;
- right: 10px;
- }
- }
- </style>
|