1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006 |
- <template>
- <view class="container">
- <view class="detail-desc">
- <view class="d-header">
- <text>派车单</text>
- </view>
- <view class="c-list">
- <view class="c-row b-b">
- <text class="tit">出发地</text>
- <view class="con-list">
- <text>{{carInfo.startPlace}}</text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">目的地</text>
- <view class="con-list">
- <text>{{carInfo.startInPlace}}</text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">任务量</text>
- <view class="con-list">
- <text>{{numFilter(carInfo.num)}}</text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">已发运量</text>
- <view class="con-list">
- <text>{{numFilter(carInfo.tranCount)}}</text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">货名</text>
- <view class="con-list">
- <text>{{carInfo.goodsName}}</text>
- </view>
- </view>
- </view>
- <view class="d-header">
- <text>发运数据</text>
- </view>
- <view class="c-list">
- <view class="c-row b-b">
- <text class="tit">车号</text>
- <view class="con-list">
- <input placeholder="请填写车号" name="input" v-model="carNo" @input="carNoInput"></input>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">毛重(吨)</text>
- <view class="con-list">
- <input placeholder="请填写毛重" name="input" v-model="grossWeight" @input="grossWeightInput"></input>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">皮重(吨)</text>
- <view class="con-list">
- <input placeholder="请填写皮重" name="input" v-model="skinWeight" @input="skinWeightInput"></input>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">净重(自动计算)</text>
- <view class="con-list">
- <text>{{numFilter(netWeight)}}</text>
- </view>
- </view>
- <view class="cu-bar bg-white">
- <view class="action">
- 磅单照片
- </view>
- </view>
- <view class="cu-form-group">
- <view class="grid col-2 grid-square flex-sub">
- <view class="bg-img" v-if="poundImg != ''" @tap="ViewImage" :data-url="poundImg">
- <image :src="poundImg" mode="aspectFit"></image>
- <view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="0">
- <text class='cuIcon-close'></text>
- </view>
- </view>
- <view class="solids" @tap="ChooseImagePound" v-if="poundImg == ''">
- <text class='cuIcon-cameraadd'></text>
- </view>
- </view>
- </view>
- </view>
- <view class="cu-modal" :class="modalName=='userModal'?'show':''" @tap="hideModal">
- <scroll-view scroll-y class="cu-dialog" :style="userStyle" @tap.stop="">
- <view class="cu-list menu text-center" >
- <view class="cu-item" v-for="(item,index) in userList" :key="index" @click="mygaipai(item.id)">
- <label class="flex justify-between align-center flex-sub">
- <view class="flex-sub">{{item.userName}}</view>
- </label>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="cu-modal" :class="modalName=='workModal'?'show':''" @tap="hideModal">
- <scroll-view scroll-y class="cu-dialog" :style="userStyle" @tap.stop="">
- <view class="cu-list menu text-center" >
- <view class="cu-item" v-for="(item,index) in fieldList" :key="index" @click="nextPerson2(item.id)">
- <label class="flex justify-between align-center flex-sub">
- <view class="flex-sub">{{item.userName}}</view>
- </label>
- </view>
- </view>
- </scroll-view>
- </view>
- <view v-if="taskStatus == 1" class="page-bottom">
- <view class="action-btn-group">
- <button type="primary" class=" action-btn no-border add-cart-btn" @click="finish">完成</button>
- <button type="primary" class=" action-btn no-border add-cart-btn" @click="gaipai">改派</button>
- </view>
- </view>
- <view class="cu-modal" :class="modalName=='inModal'?'show':''" @tap="hideModal">
- <scroll-view scroll-y class="cu-dialog" :style="userStyle" @tap.stop="">
- <view class="cu-list menu text-center" >
- <view class="cu-item" v-for="(item,index) in userList" :key="index" @click="selectInPerson(item)">
- <label class="flex justify-between align-center flex-sub">
- <view class="flex-sub">{{item.carNo}} ———— {{item.tranCount}}</view>
- </label>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import uploadImage from '@/components/ossutil/uploadFile.js';
- import Handwriting from '@/components/ossutil/signature.js';
- import {
- mapState
- } from 'vuex';
- export default {
- data() {
- return {
- carInfo:[],
- trainImg:'',
- otherImg:'',
- grossWeight:'',
- skinWeight:'',
- fee:'',
- otherFee:'',
- carSkinNo:'',
- boxNo:'',
- taskStatus:'',
- userStyle:'',
- fieldList:[],
- modalName:'',
- modalfieldName:'',
- taskType:'',
- taskId:'',
- goodsValue:'',
- addNumStatus:false,
- wechatNo:'',
- lineColor:'black',
- slideValue:50,
- handwriting:'',
- selectColor:'black',
- color:'',
- insuranceFee:'',
- rentboxFee:'',
- loadingFee:'',
- userList:[],
- inPersonName:'',
- carlist:[],
- suttleWeight2:'',
- taskInfo:[],
- poundImg:'',
- grossWeight:'',
- skinWeight:'',
- netWeight:'',
- carNo:'',
- taskStatus:'',
- userStyle:'',
- modalName:'',
- taskType:'',
- taskId:'',
- boxImg:'',
- boxNoImg:'',
- titleNoImg:'',
- titleNo:'',
- nextUserId:''
- };
- },
- computed: {
- ...mapState(['hasLogin','userInfo']),
- suttleWeight(){
- let num=0
- if(this.carlist.length>0){
- for(var i=0;i<this.carlist.length;i++){
- num=Number(num+Number(this.carlist[i].count))
- }
- }else{
- num=this.suttleWeight2
- }
- return num
- }
- },
- onShow() {
- },
- onLoad(options) {
- const that = this
- this.taskId = options.taskId
- this.taskType = options.taskType
- this.taskStatus = options.taskStatus
- uni.showLoading({
- title: '正在加载'
- })
- that.$api.request('tran', 'getTrainDetailInfo', {
- id: options.taskId
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- that.carInfo = res.data
-
- console.log(that.carInfo)
- // that.inPersonName = res.data.receiver
- that.fee = that.carInfo.fee
- that.carNo = that.carInfo.carNos
- that.grossWeight = that.carInfo.grossWeight
- that.skinWeight=that.carInfo.skinWeight
- that.netWeight=that.carInfo.netWeight
- that.poundImg= that.carInfo.poundImg
- uni.hideLoading()
- })
- },
- onReady(){
-
- },
- methods: {
- ChooseImageBox() {
- var that = this
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'boxImg/',
- result => {
- that.boxImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
- ChooseImageBoxNo() {
- var that = this
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'boxNoImg/',
- result => {
- that.boxNoImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
- nextPerson2(id){
- var that = this
- that.$api.request('tran', 'finishTrainCarInfo', {
- taskId:that.taskId,
- grossWeight:!that.grossWeight?'':that.grossWeight,
- skinWeight:!that.skinWeight?'':that.skinWeight,
- netWeight:!that.netWeight?'':that.netWeight,
- poundImg:!that.poundImg?'':that.poundImg,
- carNo:!that.carNo?'':that.carNo,
- nextUserId: id
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- uni.hideLoading()
- that.$api.msg('完成成功')
- setTimeout(()=>{uni.navigateBack({})},1000);
- })
- },
- ChooseImageTitleNo() {
- var that = this
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'titleNoImg/',
- result => {
- that.titleNoImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
- hideModal(e) {
- this.modalName = null
- },
- ViewImage(e) {
- var img = [];
- img = e.currentTarget.dataset.url.split(' ')
- uni.previewImage({
- current:0,
- urls: img
- });
- },
- DelImg(e) {
- uni.showModal({
- title: '提示',
- content: '确定要删除该照片吗?',
- cancelText: '取消',
- confirmText: '确定',
- success: res => {
- if (res.confirm) {
- if(e.currentTarget.dataset.index == 0){
- this.poundImg = "";
- }
- else if(e.currentTarget.dataset.index == 1){
- this.boxImg = "";
- }
- else if(e.currentTarget.dataset.index == 2){
- this.boxNoImg = "";
- }
- else if(e.currentTarget.dataset.index == 3){
- this.titleNoImg = "";
- }
-
- }
- }
- })
- },
- ChooseImagePound() {
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'poundImg/',
- result => {
- this.poundImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
- grossWeightInput(e) {
- this.grossWeight = e.detail.value
- if(this.grossWeight && this.skinWeight){
- this.netWeight = this.grossWeight - this.skinWeight
- }
- },
- skinWeightInput(e) {
- this.skinWeight = e.detail.value
- if(this.grossWeight && this.skinWeight){
- this.netWeight = this.grossWeight - this.skinWeight
- }
- },
- carNoInput(e) {
- this.carNo = e.detail.value
- },
- boxNoInput(e) {
- this.boxNo = e.detail.value
- },
- titleNoInput(e) {
- this.titleNo = e.detail.value
- },
- finish(){
- const that = this
- if(!that.grossWeight){
- this.$api.msg('请填写毛重');
- return;
- }
- if(!that.skinWeight){
- this.$api.msg('请填写皮重');
- return;
- }
- if(!that.carNo){
- this.$api.msg('请填写车牌号');
- return;
- }
- if(!that.poundImg){
- this.$api.msg('请上传磅单照片');
- return;
- }
- uni.showModal({
- title: '温馨提示',
- content: '是否指派外勤继续完成发运任务',
- confirmText:"是",
- cancelText:"否",
- success: function (res) {
- if (res.confirm) {
- uni.showLoading({
- title: '正在加载'
- })
- that.$api.request('user', 'getUserList', {
- role:'外勤'
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- that.fieldList = res.data
- if(that.fieldList.length == 0){
- that.$api.msg('暂无外勤信息')
- }
- else{
- var height = that.fieldList.length * 100
- var width = 500
- that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
- that.modalName = 'workModal'
- }
- uni.hideLoading()
- })
- } else if (res.cancel) {
- uni.showLoading({
- title: '正在加载'
- })
- that.$api.request('tran', 'finishTrainCarInfo', {
- taskId: that.taskId,
- grossWeight:!that.grossWeight?'':that.grossWeight,
- skinWeight:!that.skinWeight?'':that.skinWeight,
- netWeight:!that.netWeight?'':that.netWeight,
- poundImg:!that.poundImg?'':that.poundImg,
- carNo:!that.carNo?'':that.carNo,
- nextUserId: -1
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- uni.hideLoading()
- that.$api.msg('完成成功')
- setTimeout(()=>{uni.navigateBack({})},1000);
- })
- }
- }
- });
-
-
- },
- priceInput(e){
- this.price = e.detail.value
- },
- otherPriceInput(e){
- this.otherPrice = e.detail.value
- },
- insuranceFeeInput(e){
- this.insuranceFee = e.detail.value
- },
- netWeightInput(e){
- this.netWeight = e.detail.value
- },
- carNoInput(e){
- this.carNo = e.detail.value
- },
- rentboxFeeInput(e){
- this.rentboxFee = e.detail.value
- },
- loadingFeeInput(e){
- this.loadingFee = e.detail.value
- },
- boxNoInput(e){
- this.boxNo = e.detail.value
- },
- numFilter (value) {
- if(!value){
- return 0
- }
- // 截取当前数据到小数点后两位
- let realVal = parseFloat(value).toFixed(2)
- return realVal
- },
- carInput(item,e){
- if(item.count>item.tranCount){
- uni.showToast({
- title: `当前车辆可载吨数为${item.tranCount},请不要超过`,
- icon:'none',
- duration: 2000
- })
- item.count = 0
- }else{
- item.count = e.detail.value
- }
-
- },
- selectInPerson(item){
- if(JSON.stringify(this.carlist).indexOf(JSON.stringify(item.id))==-1){
- this.carlist.push(item)
- }else{
- for(var i=0;i<this.carlist.length;i++){
- if(this.carlist[i].id==item.id){
- this.carlist[i].count=item.count
- }
- }
- }
- this.modalName = null
- },
- ChooseSignImage() {
- this.handwriting = new Handwriting({
- lineColor: this.lineColor,
- slideValue: this.slideValue, // 0, 25, 50, 75, 100
- canvasName: 'handWriting',
- })
- this.showAutograph = true
- },
- uploadScaleStart(event){
- this.handwriting.uploadScaleStart(event)
- },
- uploadScaleMove(event){
- this.handwriting.uploadScaleMove(event)
- },
- uploadScaleEnd(event){
- this.handwriting.uploadScaleEnd(event)
- },
- retDraw() {
- this.handwriting.retDraw()
- },
- hideModal(e) {
- this.modalName = null
- },
- ViewImage(e) {
- var img = [];
- img = e.currentTarget.dataset.url.split(' ')
- uni.previewImage({
- current:0,
- urls: img
- });
- },
- selectPerson(){
- const that = this
- uni.showLoading({
- title: '正在加载'
- })
- that.$api.request('tran', 'getCarList', {
- tranNo:that.carInfo.tranNo,
- taskId:that.taskId
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- for(var i=0;i<res.data.length;i++){
- console.log(res.data[i].tranCount)
- res.data[i].count = res.data[i].tranCount
- }
- that.userList = res.data
- if(that.userList.length == 0){
- that.$api.msg('暂无汽车号')
- }
- else{
- var height = that.userList.length * 100
- var width = 500
- that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
- that.modalName = 'inModal'
- }
-
- uni.hideLoading()
- })
- },
- DelImg(e) {
- uni.showModal({
- title: '提示',
- content: '确定要删除该照片吗?',
- cancelText: '取消',
- confirmText: '确定',
- success: res => {
- if (res.confirm) {
- if(e.currentTarget.dataset.index == 0){
- this.trainImg = "";
- }
- else if(e.currentTarget.dataset.index == 1){
- this.otherImg = "";
- }
- }
- }
- })
- },
- ChooseImage() {
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'trainImg/',
- result => {
- this.trainImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
- ChooseImageOther() {
- uni.chooseImage({
- count: 1, //默认9
- sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- //上传图片
- //图片路径可自行修改
- uploadImage(res.tempFilePaths[0], 'otherImg/',
- result => {
- this.otherImg = result
- uni.hideLoading();
- }
- )
- }
- });
- },
-
- goodsValueInput(e){
- this.goodsValue = e.detail.value
- },
- numInput(e){
- this.addNum = e.detail.value
- },
- wechatNoInput(e) {
- this.wechatNo = e.detail.value
- },
- gaipai(){
- console.log(1111)
- const that = this
- uni.showLoading({
- title: '正在加载'
- })
- that.$api.request('user', 'getUserList', {
- role:'外勤'
- }, failres => {
- that.$api.msg(failres.errmsg)
- uni.hideLoading()
- }).then(res => {
- that.userList = res.data
- if(that.userList.length == 0){
- that.$api.msg('暂无外勤信息')
- }
- else{
- var height = that.userList.length * 100
- var width = 500
- that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
- that.modalName = 'userModal'
- }
-
- uni.hideLoading()
- })
- },
- mygaipai(id){
- this.nextUserId=id
- var that = this
- that.$api.request('tran', 'gaipai',{
- taskId: that.taskId,
- outPersonId:id,
- taskType:that.taskType
- },failres => {
- that.$api.msg(failres.errmsg)
- that.modalName = null
- uni.hideLoading()
- }).then(res => {
- that.modalName = null
- uni.navigateBack({
- delta: 2
- })
- uni.hideLoading()
- })
- },
- },
- }
- </script>
- <style lang='scss' scoped="true">
- .container{
- padding-bottom: 160upx;
- }
- .carwrap{
- font-size:20rpx;
- }
- .detail-desc {
- background: #fff;
- margin-top: 16upx;
- width: 750upx;
-
- .d-header {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 80upx;
- font-size: $font-base + 2upx;
- color: $font-color-dark;
- position: relative;
-
- text {
- padding: 0 20upx;
- background: #fff;
- position: relative;
- z-index: 1;
- }
-
- &:after {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translateX(-50%);
- width: 300upx;
- height: 0;
- content: '';
- border-bottom: 1px solid #ccc;
- }
- }
- }
- .carwrap{
- display: flex;
- justify-content: space-between;
- padding: 10px 40px;
- border-bottom:1px solid #f0f0f0;
- }
- .trancount{
- display: inline-block;
- vertical-align: middle;
- text-align: right;
- width: 100rpx;
- }
- .c-list {
- font-size: $font-sm + 2upx;
- color: $font-color-base;
- background: #fff;
-
- .c-row {
- display: flex;
- align-items: center;
- padding: 20upx 30upx;
- position: relative;
- }
-
- .tit {
- width: 220upx;
- }
-
- .con {
- flex: 1;
- color: $font-color-dark;
-
- .selected-text {
- margin-right: 10upx;
- }
- }
-
- .bz-list {
- height: 40upx;
- font-size: $font-sm+2upx;
- color: $font-color-dark;
-
- text {
- display: inline-block;
- margin-right: 30upx;
- }
- }
-
- .con-list {
- flex: 1;
- display: flex;
- flex-direction: column;
- color: $font-color-dark;
- line-height: 40upx;
- text-align: right;
- padding-right: 20upx;
- }
-
- .red {
- color: $uni-color-primary;
- }
- }
- /* 底部操作菜单 */
- .page-bottom {
- position: fixed;
- left: 30upx;
- bottom: 30upx;
- z-index: 95;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 690upx;
- height: 100upx;
- background: rgba(255, 255, 255, .9);
- box-shadow: 0 0 20upx 0 rgba(0, 0, 0, .5);
- border-radius: 16upx;
-
- .p-b-btn {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: $font-sm;
- color: $font-color-base;
- width: 96upx;
- height: 80upx;
-
- .yticon {
- font-size: 40upx;
- line-height: 48upx;
- color: $font-color-light;
- }
-
- &.active,
- &.active .yticon {
- color: $uni-color-primary;
- }
-
- .icon-fenxiang2 {
- font-size: 42upx;
- transform: translateY(-2upx);
- }
-
- .icon-shoucang {
- font-size: 46upx;
- }
- }
- }
- @mixin playcenter {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .xsh-start {
- width: 105rpx;
- height: 105rpx;
- background: #FFFFFF;
- border-radius: 50%;
- font-size: 29rpx;
- color: #4135EB;
- @include playcenter;
- flex-wrap: wrap;
- }
- .x-modal {
- width: 100%;
- .x-m-title {
- width: 100%;
- height: 90rpx;
- padding: 0 38rpx 0 31rpx;
- box-sizing: border-box;
- font-size: 29rpx;
- color: #333333;
- border-bottom: 1px dashed #999;
- @include playcenter;
- justify-content: space-between;
- .xm-t-clear {
- font-size: 25rpx;
- color: #341DB7;
- @include playcenter;
- >image {
- width: 28rpx;
- height: 28rpx;
- display: block;
- margin-right: 8rpx;
- }
- }
- }
- .x-m-con {
- width: 100%;
- padding: 0 31rpx 18rpx;
- margin-top: 5rpx;
- box-sizing: border-box;
- }
- }
- .wrapper {
- width: 100%;
- height: 100%;
- margin: 30upx 0;
- overflow: hidden;
- display: flex;
- align-content: center;
- flex-direction: column;
- justify-content: center;
- font-size: 28upx;
- }
-
- .handWriting {
- background: #fff;
- width: 100%;
- height: 350upx;
- }
-
- .handRight {
- align-items: center;
- }
-
- .handCenter {
- border: 4upx dashed #e9e9e9;
- flex: 5;
- overflow: hidden;
- box-sizing: border-box;
- width: 90%;
- margin: 0 auto;
- }
- .handTitle {
- flex: 1;
- color: #666;
- justify-content: center;
- font-size: 30upx;
- }
- .handBtn {
- flex-direction: column;
- padding: 40upx 20upx;
- }
- .buttons{
- width: 100%;
- margin-top: 20upx;
- justify-content: space-between;
- }
- .buttons>button{
- font-size: 30upx;
- height: 80upx;
- }
- .delBtn {
- background: #23df02;
- color: #fff;
- }
- .color{
- align-items: center;
- }
- .color>text{
- margin-right: 20upx;
- }
- .subBtn {
- background: #008ef6;
- color: #fff;
- text-align: center;
- justify-content: center;
- }
-
- .black-select {
- width: 60upx;
- height: 60upx;
- }
- .black-select.color_select {
- width: 90upx;
- height: 90upx;
- }
- .red-select {
- width: 60upx;
- height: 60upx;
- }
- .red-select.color_select {
- width: 90upx;
- height: 90upx;
- }
- .slide-wrapper {
- align-items: center;
- margin-bottom: 20upx;
- }
- .slider{
- width: 400upx;
- padding-left: 20upx;
- }
- .drop {
- width: 50upx;
- height: 50upx;
- border-radius: 50%;
- background: #FFF;
- position: absolute;
- left: 0upx;
- top: -10upx;
- box-shadow: 0px 1px 5px #888888;
- }
-
- .slide {
- width: 250upx;
- height: 30upx;
- }
- .showimg{
- border: 4upx solid #e9e9e9;
- overflow: hidden;
- width: 90%;
- margin: 0 auto;
- background: #eee;
- height: 350upx;
- margin-top: 40upx;
- align-items: center;
- justify-content: center;
- }
- .showimg>image{
- width: 100%;
- height: 100%;
- }
- .showimg>text{
- font-size: 40upx;
- color: #888;
- }
- .indexFixed{
- position: fixed;
- left:0;
- bottom:0;
- right:0;
- }
- </style>
|