| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527 |
- <template>
- <view>
- <view class="order">
- <u-tabs :list="list" :is-scroll="false" active-color="#FF7F00" inactive-color=" #666666" :bold="bold" :current="current" @change="change"></u-tabs>
- <!-- 全部 -->
- <view class="tabs_box" :class="{ dis: current == 0 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <view class="order_success" v-if="item.indentState == '2'">
- <view class="order_name">待支付领取</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '3'">
- <view class="order_name">待取货</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '4'">
- <view class="order_name">配送中</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '5'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '6'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '7'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '10'">
- <view class="order_name">已取消</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '9'">
- <view class="order_name">已取消</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; font-size: 20px" v-if="item.orderPaySequence">#{{ item.orderPaySequence }}</view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn1" v-if="item.indentState == '3'" @click.stop="quxiao(item.indentNumber)">取消订单</view>
- <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
- <view class="btn2" v-if="item.indentState == '3'" @click.stop="quhuo(item.indentId)">确认取货</view>
- <view class="btn2" v-if="item.indentState == '4'" @click.stop="onshow(item)">确认送达</view>
- <view class="btn2" v-if="item.indentState == '9'">已取消</view>
- <view class="btn2" v-if="item.indentState == '10'">已取消</view>
- </view>
- </view>
- </view>
- <!-- 待取货 -->
- <view class="tabs_box" :class="{ dis: current == 1 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <view class="order_success" v-if="item.indentState == '2'">
- <view class="order_name">待支付领取</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '3'">
- <view class="order_name">待取货</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn1" v-if="item.indentState == '3'" @click.stop="quxiao(item.indentNumber)">取消订单</view>
- <view class="btn2" v-if="item.indentState == '3'" @click.stop="quhuo(item.indentId)">确认取货</view>
- </view>
- </view>
- </view>
- <!-- 配送中 -->
- <view class="tabs_box" :class="{ dis: current == 2 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <view class="order_success" v-if="item.indentState == '4'">
- <view class="order_name">配送中</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '5'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '6'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '7'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn1" v-if="item.indentState == '3'">取消订单</view>
- <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
- <view class="btn2" v-if="item.indentState == '3'" @click.stop="quhuo(item.indentId)">确认取货</view>
- <view class="btn2" v-if="item.indentState == '4'" @click.stop="onshow(item)">确认送达</view>
- <view class="btn2" v-if="item.indentState == '9'">已取消</view>
- </view>
- </view>
- </view>
- <!-- 配送完 -->
- <view class="tabs_box" :class="{ dis: current == 3 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <!-- <view class="order_success" v-if="item.indentState=='4'">
- <view class="order_name">配送中</view>
- <view class="order_data">{{item.receivingTime}}</view>
- </view> -->
- <view class="order_success" v-if="item.indentState == '5'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '6'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '7'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn1" v-if="item.indentState == '3'">取消订单</view>
- <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
- <view class="btn2" v-if="item.indentState == '3'" @click="quhuo(item.indentId)">确认取货</view>
- <view class="btn2" v-if="item.indentState == '4'" @click="onshow(item)">确认送达</view>
- <view class="btn2" v-if="item.indentState == '9'">已取消</view>
- </view>
- </view>
- </view>
- <!-- 已完成 -->
- <view class="tabs_box" :class="{ dis: current == 4 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <view class="order_success" v-if="item.indentState == '4'">
- <view class="order_name">配送中</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '5'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '6'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '7'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn1" v-if="item.indentState == '3'">取消订单</view>
- <!-- <view class="btn1" v-if="item.indentState=='6'">客户待确认</view> -->
- <view class="btn2" v-if="item.indentState == '3'" @click="quhuo(item.indentId)">确认取货</view>
- <view class="btn2" v-if="item.indentState == '4'" @click="onshow(item)">确认送达</view>
- <view class="btn2" v-if="item.indentState == '9'">已取消</view>
- </view>
- </view>
- </view>
- <!-- 已取消 -->
- <view class="tabs_box" :class="{ dis: current == 5 }">
- <view class="order_box" v-for="(item, index) in lists" :key="index" @click="bindorderDetail(item.indentNumber, item.orderId)">
- <view class="order_success" v-if="item.indentState == '4'">
- <view class="order_name">配送中</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '5'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '6'">
- <view class="order_name">已完成</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <view class="order_success" v-if="item.indentState == '9'">
- <view class="order_name">已取消</view>
- <view class="order_data">{{ item.receivingTime }}</view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_city">
- <view class="city_type">
- <view class="type_name" v-if="item.indentType == 1">帮我送</view>
- <view class="type_name" v-if="item.indentType == 2">帮我取</view>
- <view class="type_name" v-if="item.indentType == 3">同城帮买</view>
- <view class="type_name" v-if="item.indentType == 4">同城服务</view>
- <view class="type_name" v-if="item.indentType == 5">同城外卖</view>
- <view class="city_text" v-if="item.itemType">{{ item.itemType }}</view>
- </view>
- <view style="padding: 0 30rpx; color: #ff7f00">{{ item.shopName }}</view>
- <view style="padding: 0 30rpx">订单编号:{{ item.indentNumber }}</view>
- <view class="city_address" v-if="item.indentType == 1 || item.indentType == 2">
- <view class="fh_box">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 3">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 4">
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="city_address" v-if="item.indentType == 5">
- <view class="fh_box" v-if="item.buy_type == 1">
- <view class="fh_image">
- <image src="../../static/image/icon_f.png"></image>
- </view>
- <view class="box">
- <view class="fh_name">{{ item.shopAddressDetail }}</view>
- <view class="fh_type">
- {{ item.shopName }}
- <text>{{ item.shopPhone }}</text>
- </view>
- </view>
- </view>
- <view class="sh_box">
- <view class="sh_image">
- <image src="../../static/image/icon_s.png"></image>
- </view>
- <view class="box">
- <view class="sh_name">{{ item.userAddressDetail }}</view>
- <view class="sh_type">
- {{ item.userName }}
- <text>{{ item.userPhone }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <u-line color="#E6E6E6" />
- <view class="order_btn">
- <view class="btn2" v-if="item.indentState == '9'">已取消</view>
- </view>
- </view>
- </view>
- <empty v-if="lists.length == 0"></empty>
- <!-- 收货码弹框 -->
- <u-popup v-model="shows" mode="center" border-radius="18" :closeable="closeable" close-icon="close-circle" close-icon-size="45" width="580rpx" height="400rpx">
- <view class="receipt_code">
- <view class="code_title">填写收货码</view>
- <u-input v-model="shouhuoma" type="text" placeholder="请输入收货码" :border="true" />
- <view class="sure" @click="querenSh">确定</view>
- </view>
- </u-popup>
- <!-- 确认收货拍照弹出框 -->
- <u-popup
- v-model="alertPhone"
- mode="center"
- border-radius="18"
- :closeable="closeable"
- close-icon="close-circle"
- close-icon-size="45"
- width="680rpx"
- height="900rpx"
- @close="onclose"
- >
- <view class="receipt_code">
- <view class="phone_title">图片凭证</view>
- <view class="phone_title2">请在确认外卖送达后、通过拍照,进行现场还原</view>
- <view>
- <view class="flex" style="overflow: hidden; flex-wrap: wrap">
- <view v-if="goodsPicture.length">
- <view class="margin-top flex margin-right-sm flex-wrap">
- <view
- class="flex"
- style="width: 200rpx; height: 200rpx; margin-right: 2rpx; position: relative"
- v-for="(image, index) in goodsPicture"
- :key="index"
- >
- <image :src="image" style="width: 100%; height: 100%"></image>
- <view style="z-index: 9; position: absolute; top: -15rpx; right: -15rpx" @click="removeImg(index, 'lb')">
- <u-icon name="close-circle-fill" color="#FCD202" size="50rpx"></u-icon>
- </view>
- </view>
- </view>
- </view>
- <view class="margin-top" @click="addImages(1)" v-if="goodsPicture.length <= 1">
- <view style="width: 200rpx; height: 200rpx; background: #f4f5f6" class="flex justify-center align-center">
- <view>
- <view class="text-center">
- <image src="../../static/addimg.png" style="width: 65rpx; height: 55rpx"></image>
- </view>
- <view class="text-center text-black">添加图片</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="receipt_code" v-if="alertduan">
- <view class="code_title">是否确认送达</view>
- <view class="code_title2">已选订单:1单</view>
- <view class="code_title2">通知形式:短信</view>
- <view class="code_title2">通知内容:{{ duanxin[0].templateContent.substring(0, 21) }}{{ qiPhone }}</view>
- <view class="sure" @click="querenSh">确认送达</view>
- </view>
- <!-- <view class="sure" @click="querenduanxin">确认拍照</view> -->
- </view>
- </u-popup>
- <!-- 确认收货选择短信框 -->
- <!-- <u-popup v-model="alertduan" mode="center" border-radius="18" :closeable="closeable" close-icon="close-circle"
- close-icon-size="45" width="680rpx" height="600rpx">
- <view class="receipt_code">
- <view class="code_title">是否确认送达</view>
- <view class="code_title2">已选订单:1单</view>
- <view class="code_title2">通知形式:短信</view>
- <view class="code_title2">通知内容:{{duanxin[0].templateContent.substring(0, 21)}}{{qiPhone}}</view>
- <view class="sure" @click="querenSh">确认送达</view>
- </view>
- </u-popup> -->
- </view>
- <!-- 用于图片压缩的canvas画布 -->
- <canvas
- :style="{
- width: cw + 'px',
- height: cw + 'px',
- position: 'absolute',
- zIndex: -1,
- left: '-10000rpx',
- top: '-10000rpx'
- }"
- canvas-id="zipCanvas"
- ></canvas>
- <!--画布结束-->
- </view>
- </template>
- <script>
- import empty from '@/components/empty'
- import configdata from '@/common/config.js'
- import getLessLimitSizeImage from '@/utils/imageCompress.js'
- export default {
- components: {
- empty
- },
- data() {
- return {
- shows: false,
- alertPhone: false, //确认收货拍照弹出框
- alertduan: false, //确认收货选择短信框
- closeable: true,
- shouhuoma: '',
- list: [
- {
- name: '全部'
- },
- {
- name: '待取货'
- },
- {
- name: '配送中'
- },
- {
- name: '已完成'
- }
- ],
- current: 0,
- bold: false,
- page: 1,
- limit: 5,
- order: [],
- lists: [],
- totalCount: 0,
- longitude: '', //经度
- latitude: '', //纬度
- indentState: '', //订单状态
- indentNumber: '', //订单号
- goodsPicture: [],
- count: 3,
- duanxin: [], //发送的短信
- qiPhone: '', //骑手电话
- //画板边长默认是屏幕宽度,正方形画布
- cw: uni.getSystemInfoSync().windowWidth
- }
- },
- onLoad() {
- this.qiPhone = uni.getStorageSync('phone')
- var that = this
- uni.getLocation({
- type: 'wgs84',
- success: function (res) {
- console.log('当前位置的经度:' + res.longitude)
- console.log('当前位置的纬度:' + res.latitude)
- that.longitude = res.longitude
- that.latitude = res.latitude
- that.taskData()
- }
- })
- },
- onShow() {
- let zhuandan = this.$queue.getData('zhuandan')
- if (zhuandan) {
- this.$queue.remove('zhuandan')
- this.page = 1
- this.taskData()
- }
- },
- methods: {
- change(index) {
- uni.showLoading({
- title: '加载中......',
- mask: true, // 是否显示透明蒙层,防止触摸穿透
- icon: 'none'
- })
- this.current = index
- this.lists = []
- this.page = 1
- if (index == 0) {
- this.indentState = ''
- }
- if (index == 1) {
- this.indentState = 3
- }
- if (index == 2) {
- this.indentState = 4
- }
- if (index == 3) {
- this.indentState = 6
- }
- if (index == 4) {
- this.indentState = 9
- }
- this.taskData()
- },
- // 订单获取
- taskData() {
- uni.showLoading({
- title: '加载中......',
- mask: true, // 是否显示透明蒙层,防止触摸穿透
- icon: 'none'
- })
- this.$Request
- .getT('/app/tbindent/findRiderIndent', {
- page: this.page,
- limit: 10,
- indentState: this.indentState
- })
- .then((res) => {
- uni.hideLoading()
- if (this.page == 1) {
- this.lists = res.data.list
- } else {
- this.lists = this.lists.concat(res.data.list)
- }
- for (var i in this.lists) {
- if (this.lists[i].distanceInitial > 1000) {
- this.lists[i].distanceInitials = (Number(this.lists[i].distanceInitial) / 100).toFixed(2)
- }
- if (this.lists[i].distance > 1000) {
- this.lists[i].distances = (Number(this.lists[i].distance) / 100).toFixed(2)
- }
- }
- console.log('lists', this.lists)
- this.totalCount = res.data.totalCount
- uni.stopPullDownRefresh()
- })
- },
- // 订单详情
- bindorderDetail(indentNumber, orderId) {
- console.log(indentNumber, orderId)
- uni.navigateTo({
- url: '/pages/index/orderdetail/orderdetail?id=' + indentNumber + '&orderId=' + orderId
- })
- },
- // 取消订单
- quxiao(indentNumber) {
- let that = this
- console.log('indentNumber', indentNumber)
- uni.showModal({
- title: '取消订单将会被扣保证金',
- content: '',
- cancelText: '取消',
- confirmText: '确认'
- })
- .then((res) => {
- that.$Request
- .postT('/app/tbindent/riderCancleIndent', {
- indentNumber: indentNumber
- })
- .then((res) => {
- console.log(res)
- if (res.code == 0) {
- that.page = 1
- that.taskData()
- uni.showToast({
- title: '订单已取消',
- icon: 'none'
- })
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- })
- .catch((err) => {})
- },
- quhuo(indentId) {
- let that = this
- uni.showModal({
- title: '提示',
- content: '确认取到货吗',
- success: function (res) {
- if (res.confirm) {
- that.$Request
- .postJson('/app/tbindent/riderBuyGoods', {
- indentId: indentId,
- indentState: 4
- })
- .then((res) => {
- if (res.code == 0) {
- that.page = 1
- that.taskData()
- uni.showToast({
- title: '确认取货成功',
- icon: 'none'
- })
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- }
- }
- })
- },
- onshow(e) {
- this.indentNumber = e.indentNumber
- if (e.itemCodeFlag == 0) {
- this.shows = true
- } else {
- //需拍照的弹出框
- this.alertPhone = true
- // this.querenSh()
- }
- },
- // 图片上传
- addImages(e) {
- if (e == 1) {
- var num = this.goodsPicture.length
- this.count = 2 - num
- }
- let that = this
- uni.chooseImage({
- count: this.count,
- sourceType: ['camera'],
- success: (res) => {
- for (let i = 0; i < res.tempFiles.length; i++) {
- //这里的id和页面中写的html代码的canvas的id要一致
- let canvasId = 'zipCanvas'
- //原图的路径
- let imagePath = res.tempFiles[i].path
- //大小限制
- let limitSize = 1024 * 2
- //初始绘画区域是画布自身的宽度也就是屏幕宽度
- let drawWidth = uni.getSystemInfoSync().windowWidth
- let that = this
- let token = uni.getStorageSync('token')
- getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, that, (resPath) => {
- uni.showLoading({
- title: '上传中'
- })
- uni.uploadFile({
- url: that.config('APIHOST1') + '/app/new-file/upload',
- filePath: resPath,
- header: {
- token: token
- },
- name: 'file',
- success: (uploadFileRes) => {
- if (e == 1) {
- if (that.goodsPicture.length < 2) {
- that.goodsPicture.push(JSON.parse(uploadFileRes.data).data)
- }
- }
- uni.hideLoading()
- this.querenduanxin()
- },
- fail: () => {
- uni.showToast({
- title: '上传失败',
- icon: 'error'
- })
- }
- })
- })
- }
- }
- })
- },
- // 图片删除
- removeImg(index, texts) {
- if (texts == 'lb') {
- this.goodsPicture.splice(index, 1)
- }
- },
- config: function (name) {
- var info = null
- if (name) {
- var name2 = name.split('.') //字符分割
- if (name2.length > 1) {
- info = configdata[name2[0]][name2[1]] || null
- } else {
- info = configdata[name] || null
- }
- if (info == null) {
- let web_config = cache.get('web_config')
- if (web_config) {
- if (name2.length > 1) {
- info = web_config[name2[0]][name2[1]] || null
- } else {
- info = web_config[name] || null
- }
- }
- }
- }
- return info
- },
- // 监听拍照框关闭
- onclose() {
- this.alertPhone = false
- this.alertduan = false
- this.goodsPicture = []
- },
- // 获取确认送达短信模板
- querenduanxin() {
- // this.$Request.postT('/app/tb-indent-sms/template', {
- this.$Request
- .getT('/app/tb-indent-sms/template', {
- // indentNumber: this.indentNumber,
- // itemCode: this.shouhuoma
- })
- .then((res) => {
- console.log(res)
- this.duanxin = res.data.list
- if (res.code == 0) {
- this.page = 1
- // this.alertPhone = false
- this.alertduan = true
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- },
- querenSh() {
- var tupian = this.goodsPicture.toString()
- console.log(this.goodsPicture.toString())
- // this.$Request.postT('/app/tbindent/riderDelivery', {
- this.$Request
- .postJson('/app/tbindent/riderDelivery', {
- imgs: tupian,
- smsTemplateId: this.duanxin[0].id,
- indentNumber: this.indentNumber,
- itemCode: this.shouhuoma
- })
- .then((res) => {
- console.log(res)
- if (res.code == 0) {
- this.page = 1
- this.taskData()
- uni.showToast({
- title: '订单完成',
- icon: 'none'
- })
- this.alertPhone = false
- // this.alertduan = false
- this.shows = false
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- }
- },
- onReachBottom: function () {
- if (this.page < this.totalCount) {
- this.page += 1
- this.taskData()
- }
- },
- onPullDownRefresh: function () {
- this.page = 1
- this.taskData()
- }
- }
- </script>
- <style>
- body {
- background: #f5f5f5;
- }
- .tabs_box {
- display: none;
- }
- .dis {
- display: block;
- width: 100%;
- }
- .u-tab-item {
- font-size: 26upx !important;
- /* color: #666666 !important; */
- }
- .success_box {
- width: 100%;
- }
- .order_box {
- width: 90%;
- margin: 0 auto;
- /* height: 390rpx; */
- background: #ffffff;
- margin-top: 20rpx;
- border-radius: 16px;
- padding-bottom: 16rpx;
- }
- .order_success {
- width: 90%;
- margin: 0 auto;
- display: flex;
- height: 80upx;
- }
- .order_name {
- flex: 1;
- display: flex;
- justify-content: left;
- align-items: center;
- font-weight: bold;
- font-size: 26rpx;
- letter-spacing: 1upx;
- }
- .order_data {
- flex: 1;
- color: #999999;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- font-size: 24rpx;
- }
- .city_type {
- width: 90%;
- margin: 0 auto;
- height: 60upx;
- line-height: 60upx;
- display: flex;
- justify-content: left;
- align-items: center;
- }
- .type_name {
- font-size: 27rpx;
- }
- .city_text {
- width: 70rpx;
- line-height: 36rpx;
- color: #49a5ff;
- background: #c4e2ff;
- text-align: center;
- font-size: 19rpx;
- margin-left: 20rpx;
- }
- .city_address {
- width: 85%;
- margin: 0 auto;
- margin-top: -10rpx;
- }
- /* 发货地址 */
- .fh_box {
- display: flex;
- /* height: 80upx; */
- margin-top: 20upx;
- }
- .fh_image {
- flex: 1;
- }
- .box {
- flex: 11;
- }
- .fh_name {
- font-size: 26rpx;
- font-weight: 600;
- letter-spacing: 2upx;
- }
- .fh_type {
- color: #999999;
- font-size: 22upx;
- }
- .fh_type text {
- margin-left: 20upx;
- }
- /* 送货地址 */
- .sh_box {
- display: flex;
- margin-bottom: 14upx;
- margin-top: 14rpx;
- }
- .sh_image {
- flex: 1;
- }
- .sh_name {
- font-size: 26rpx;
- font-weight: 600;
- letter-spacing: 2upx;
- }
- .sh_type {
- color: #999999;
- font-size: 22upx;
- }
- .sh_type text {
- margin-left: 20upx;
- }
- .fh_image image {
- width: 30upx;
- height: 30upx;
- }
- .sh_image image {
- width: 30upx;
- height: 30upx;
- }
- .order_btn {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- /* height: 80upx; */
- margin-top: 8upx;
- }
- .btn1 {
- width: 170upx;
- font-size: 22upx;
- line-height: 60upx;
- text-align: center;
- border: 1upx solid #9c9c9c;
- border-radius: 20upx;
- color: #9c9c9c;
- margin-right: 30upx;
- }
- .btn2 {
- width: 170upx;
- line-height: 60upx;
- color: white;
- background: #ff6a04;
- font-size: 22upx;
- text-align: center;
- margin-right: 30upx;
- border-radius: 20upx;
- }
- /* 收货码弹框 */
- .receipt_code {
- width: 90%;
- margin: 0 auto;
- }
- .code_title {
- width: 100%;
- line-height: 100rpx;
- font-size: 31rpx;
- font-weight: bold;
- text-align: center;
- letter-spacing: 2rpx;
- margin-top: 21rpx;
- margin-bottom: 25rpx;
- }
- .u-input--border {
- border: 1px solid #f2f2f2 !important;
- background: #f2f2f2 !important;
- color: #999999 !important;
- font-weight: 500 !important;
- letter-spacing: 2rpx !important;
- }
- .u-input__input {
- font-size: 30rpx;
- font-weight: bold;
- flex: 1;
- color: #999999 !important;
- min-height: 85rpx !important;
- margin-top: 7rpx;
- }
- .sure {
- width: 100%;
- height: 80rpx;
- background: #ff7f00;
- color: white;
- border-radius: 46rpx;
- text-align: center;
- line-height: 80rpx;
- margin-top: 30rpx;
- letter-spacing: 2rpx;
- }
- /* 确认送达拍照框 */
- .phone_title {
- margin-top: 10px;
- width: 100%;
- height: 40px;
- /* background-color: #FF7F00; */
- text-align: center;
- line-height: 40px;
- /* color:#FFFFFF; */
- }
- .phone_title2 {
- margin-top: 10px;
- text-align: center;
- color: #9d9d9d;
- }
- .code_title2 {
- width: 100%;
- line-height: 50rpx;
- text-align: center;
- letter-spacing: 2rpx;
- margin-top: 21rpx;
- margin-bottom: 25rpx;
- }
- </style>
|