123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538 |
- <template>
- <view class="content">
- <view class="top">
- <view class="tabBox">
- <view class="tabline" :class="{tabActive:tabIndex==1}" @click="tbFn(1)">我的</view>
- <view class="tabline" :class="{tabActive:tabIndex==2}" @click="tbFn(2)">全部</view>
- </view>
- <view class="qiehuanBOx">
- <view class="tabBox2">
- <view class="tabline2 " :class="{tabActive2:tabIndex2==1}" @click="tbFn2(1)">未处理 (7)</view>
- <view class="tabline2" :class="{tabActive2:tabIndex2==2}" @click="tbFn2(2)">处理中 (99+)</view>
- <view class="tabline2" :class="{tabActive2:tabIndex2==3}" @click="tbFn2(3)">已完成</view>
- <view class="tabline2" :class="{tabActive2:tabIndex2==4}" @click="tbFn2(4)">全部</view>
- </view>
- </view>
- <view class="topPadding">
- <view class="searchBox">
- <view class="searchInputBox">
- <image src="../../static/img/icon_search.png" mode="" class="searchIcon"></image>
- <input type="text" placeholder="单号、车牌号、客户姓名、手机号 " class="searchInput">
- </view>
- <view class="searchBtnBox" @click="sxShowFn">
- <image src="../../static/img/shaixuan.png" v-show="!sxShow" mode="" class="shaixuan"></image>
- <image src="../../static/img/icon_shaix.png" v-show="sxShow" mode="" class="shaixuan"></image>
- <span class="searchBtnSpan" :class="{searchBtnSpanActive:sxShow}">筛选</span>
- </view>
- </view>
- <view class="sxBox" v-show="!sxShow">
- <view class="sxLine">
- <span>检测门店</span>
- <image src="../../static/img/arrow_down.png" mode="" class="downIcon"></image>
- </view>
- <view class="sxLine">
- <span>下次服务日期</span>
- <image src="../../static/img/arrow_down.png" mode="" class="downIcon"></image>
- </view>
- </view>
- </view>
-
-
- </view>
- <view class="heightView"></view>
- <view class="lineBox">
- <view class="line" @click="goDetail()">
- <view class="codeBox">
- <view class="code">TX202209090009</view>
- <view class="linestate">提醒单状态</view>
- </view>
- <view class="lineCont">
- <view class="lineCtop">
- <view class="lineCtopLeft">
- <view class="name">鲁A29090</view>
- <view class="name" style="padding-left: 30rpx;">张珊</view>
- <image src="../../static/img/wechat.png" mode="" class="weChat"></image>
- <image src="../../static/img/wx1.png" mode="" class="weChat"></image>
- </view>
- <image src="../../static/img/lanCall.png" mode="" class="call"></image>
- </view>
- <view class="lineMs1">东风日产-轩逸-2022款 e-POWER 超智PLUS</view>
- <view class="lineMs1">上次到店:2019-05-12</view>
- <view class="lineMs2">
- <view>下次服务:2016-06-25</view>
- <view class="day">剩15天到期</view>
- </view>
- <view class="lineMs3">
- <view>检测部位:机油滤清器备份</view>
- <view>处理人:张三</view>
- </view>
- <view class="jianche">
- <view class="jcLine">检测结果:长了换 行检测结果:长了换行
- 检测结果:长了换行检测结果:长了换行检测结果:长了换行检测结果:长了换行
- </view>
- <view class="jcLine">检测日期:2024-01-12</view>
- <view class="jcLine">检测门店:这是门店名称</view>
- </view>
- </view>
- <view class="lineBottom">
- <view class="lineB">
- <image src="../../static/img/bcall.png" mode="" class="lineBIcon"></image>
- <view class="lineBtxt">电话</view>
- </view>
- <view class="lineB">
- <image src="../../static/img/duanxin.png" mode="" class="lineBIcon"></image>
- <view class="lineBtxt">短信</view>
- </view>
- <view class="lineB">
- <image src="../../static/img/bwx.png" mode="" class="lineBIcon"></image>
- <view class="lineBtxt">微信</view>
- </view>
- <view class="lineB">
- <image src="../../static/img/bwc.png" mode="" class="lineBIcon"></image>
- <view class="lineBtxt">完成</view>
- </view>
- </view>
- </view>
-
- </view>
-
- <!-- 筛选 -->
- <view class="sxY" v-if="sxShow" @click="sxHdie">
- <view class="sxTkBox" @click.stop="">
- <view class="sxTitle">处理人</view>
- <picker @change="bindPickerChange" :value="index" :range="array">
- <view class="sxInputBox">
- <view class="sxLineCont">{{array[index]}}</view>
- <image src="../../static/img/jt2.png" mode="" class="sxJt"></image>
- </view>
- </picker>
- <view class="sxTitle" >检测部位</view>
- <picker @change="bindPickerChange" :value="index" :range="array">
- <view class="sxInputBox">
- <view class="sxLineCont">{{array[index]}}</view>
- <image src="../../static/img/jt2.png" mode="" class="sxJt"></image>
- </view>
- </picker>
- <view class="sxTitle" >检测日期</view>
- <view class="sxTimeBox">
- <view class="sxtimeLine">请选择</view>
- <view class="sxTimeHx"></view>
- <view class="sxtimeLine">请选择</view>
- </view>
- <view class="sxTitle" style="padding-top: 40rpx;">客户所属门店</view>
- <picker @change="bindPickerChange" :value="index" :range="array">
- <view class="sxInputBox">
- <view class="sxLineCont">{{array[index]}}</view>
- <image src="../../static/img/jt2.png" mode="" class="sxJt"></image>
- </view>
- </picker>
- <view class="sxTitle" >电话提醒</view>
- <view class="scCklineBox">
- <view class="scCkline" @click="sxIndex1=1" :class="{scCklineActive:sxIndex1==1}">未提醒</view>
- <view class="scCkline" @click="sxIndex1=2" :class="{scCklineActive:sxIndex1==2}">已提醒</view>
- </view>
- <view class="sxTitle" style="padding-top: 40rpx;">短信提醒</view>
- <view class="scCklineBox">
- <view class="scCkline" @click="sxIndex2=1" :class="{scCklineActive:sxIndex2==1}">未提醒</view>
- <view class="scCkline " @click="sxIndex2=2" :class="{scCklineActive:sxIndex2==2}">已提醒</view>
- </view>
- <view class="sxTitle" style="padding-top: 40rpx;">发放优惠券</view>
- <view class="scCklineBox">
- <view class="scCkline" @click="sxIndex3=1" :class="{scCklineActive:sxIndex3==1}">未发放</view>
- <view class="scCkline" @click="sxIndex3=2" :class="{scCklineActive:sxIndex3==2}">已发放</view>
- </view>
- <view class="sxTitle" style="padding-top: 40rpx;">处理人</view>
- <view class="scCklineBox">
- <view class="scCkline" @click="sxIndex4=1" :class="{scCklineActive:sxIndex4==1}">未分配</view>
- <view class="scCkline" @click="sxIndex4=2" :class="{scCklineActive:sxIndex4==2}">已分配</view>
- </view>
-
- <view class="sxBottom">
- <view class="chongzhi">重置</view>
- <view class="sxSure">确定</view>
- </view>
-
- </view>
- </view>
-
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- iStatusBarHeight:'',
- token:'',
- uid:'',
- sxShow:false,
- array: ['请选择','中国', '美国', '巴西', '日本'],
- index: 0,
- sxIndex1:'',
- sxIndex2:'',
- sxIndex3:'',
- sxIndex4:'',
- tabIndex:1,
- tabIndex2:1,
- }
- },
- onLoad(opt) {
-
- console.log(window.location.origin)
- //this.url=window.location.origin
- this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
- this.token=opt.token;
- this.uid=opt.uid
-
- },
-
- methods: {
- tbFn(num){
- this.tabIndex=num
- },
- tbFn2(num){
- this.tabIndex2=num
- },
- sxShowFn(){
- this.sxShow=!this.sxShow;
- },
- sxHdie(){
- this.sxShow=false;
- },
- bindPickerChange: function(e) {
- console.log('picker发送选择改变,携带值为', e.detail.value)
- this.index = e.detail.value
- },
- getList(){
- //console.log("list")
- },
- goDetail(){
- uni.navigateTo({
- url:'detectionDetail'
- })
- }
-
- },
- onPullDownRefresh() {
- this.page = 1;
- this.getList()
- setTimeout(function() {
- uni.stopPullDownRefresh();
- }, 1000);
- }
- }
- </script>
- <style scoped>
- .sxBottom{
- display: flex;justify-content: space-between;padding-top: 50rpx;
- }
- .chongzhi{
- width: 334rpx;
- height: 70rpx;
- border-radius: 10rpx;
- border: 1px solid #DDDDDD;
- line-height: 70rpx;
- font-size: 26rpx;
- color: #333333;
- text-align: center;
-
- }
- .sxSure{
- width: 334rpx;
- height: 70rpx;
- border-radius: 10rpx;
- line-height: 70rpx;
- font-size: 26rpx;
- color: #FFFFFF;
- text-align: center;
- background: #FF8113;
- }
- .sxTimeBox{
- display: flex;justify-content: space-between;
- }
- .sxtimeLine{
- width: 317rpx;
- height: 54rpx;
- background: #F7F7F7;
- border-radius: 6rpx;
- font-size: 22rpx;
- color: #999999;
- padding-left: 20rpx;
- line-height:54rpx ;
- }
- .sxTimeHx{
- width: 13rpx;
- height: 4rpx;
- background: #DDDDDD;
- margin-top: 26rpx;
- }
- .scCklineBox{
- display: flex;
- }
- .scCkline{
- width: 160rpx;
- height: 54rpx;
- background: #F7F7F7;
- border-radius: 6rpx;
- line-height: 54rpx;
- text-align: center;
- font-size: 22rpx;
- color: #3C3C3C;
- margin-right: 20rpx;
- }
- .scCklineActive{
- background: rgba(255,129,19,0.1);
- border-radius: 6rpx;
- border: 2rpx solid #FF8113;
- width: 156rpx;
- height: 50rpx;
- color: #FF8113;
- line-height: 50rpx
- }
- .content{
- min-height: 100vh;
- background: #F6F6F6;
- }
- .tabBox{
- display: flex;justify-content: space-around;
- }
- .tabline{
- font-size: 30rpx;
- color: #666666;
- width: 134rpx;
- text-align: center;
- line-height: 76rpx;
- }
- .top{
- background: #ffffff;
- position: fixed;
- width:750rpx;
- left: 0;
- top: 44px;
- z-index: 11;
- }
- .heightView{
- height: calc(260rpx + 44px);
- }
- .tabActive{
- color: #3F90F7;border-bottom: 4rpx solid #3F90F7;
- }
- .tabBox2{
- display: flex;
- line-height: 58rpx;
- border: 1px solid #EEEEEE;
- border-radius: 6rpx;
- overflow: hidden;
- }
- .qiehuanBOx{
- padding: 20rpx 34rpx 0 34rpx;
- }
- .tabline2{
- width: 25%;text-align: center;
- font-size: 26rpx;
- color: #333333;
- }
- .tabActive2{
- color: #3F90F7;background: rgba(63,144,247,0.08);
- }
- .topPadding{
- padding: 20rpx 24rpx;
- }
- .shaixuan{
- width: 32rpx;
- height: 32rpx;
- }
- .searchBox{
- display: flex;
- }
- .searchInputBox{
- display: flex;
- width: 572rpx;
- height: 72rpx;
- background: #F4F5F7;
- border-radius: 36rpx;
- }
- .searchIcon{
- width: 40rpx;height: 40rpx;
- margin-top: 16rpx;
- margin-left: 20rpx;
- }
- .searchInput{
- height: 72rpx;
- line-height: 73rpx;
- padding-left: 11px;
- font-size: 26rpx;
- color: #9999;
- width: 400rpx;
- }
- .searchBtnBox{
- display: flex;
- padding: 20rpx;
- }
- .searchBtnSpan{
- line-height: 32rpx;padding-left:10rpx ;
- font-size: 26rpx;
- color: #333333;
- }
- .downIcon{
- width: 24rpx;height: 24rpx;
- margin-top: 6rpx;margin-left: 6rpx;
- }
- .sxLine{
- display: flex;
- font-size: 26rpx;
- color: #3C3C3C;
- line-height: 36rpx;
- }
- .sxBox{
- display: flex;justify-content: space-around;
- padding-top: 36rpx;
- }
- .line{
- background: #FFFFFF;
- border-radius: 10rpx;
- margin-top: 20rpx;
- }
- .lineBox{
- padding: 0 24rpx;
- }
- .codeBox{
- border-bottom: 1px solid #EEEEEE;
- padding: 20rpx;
- display: flex;
- justify-content: space-between;
- font-size: 26rpx;
- color: #999999;
- line-height: 37rpx;
- }
- .linestate{
- color: #3F90F7;
- }
- .lineCtopLeft{
- display: flex;
- font-weight: 500;
- font-size: 30rpx;
- color: #3C3C3C;
- line-height: 38rpx;
- }
- .weChat{
- width: 38rpx;height: 31rpx;
- margin-left: 16rpx;
- margin-top: 2rpx;
- }
- .lineCont{
- padding: 20rpx;
- border-bottom: 1px solid #EEEEEE;
- }
- .lineMs1{
- font-size: 24rpx;
- color: #999999;
- padding-top: 10rpx;
- }
- .lineMs2{
- display: flex;
- padding-top: 10rpx;
- line-height: 36rpx;
- font-weight: 500;
- font-size: 24rpx;
- color: #3C3C3C;
- }
- .day{
- background: #FEF8EB;
- border-radius: 4rpx;
- height: 36rpx;
- font-size: 22rpx;
- color: #F19D01;
- line-height: 36rpx;
- padding: 0 10rpx;
- font-weight: 400;
- margin-left: 20rpx;
- }
- .lineMs3{
- display: flex;
- padding-top: 10rpx;
- line-height: 36rpx;
- font-weight: 500;
- font-size: 24rpx;
- color: #3C3C3C;
- justify-content: space-between;
- }
- .call{
- width: 40rpx;height: 40rpx;
- }
- .lineCtop{
- display: flex;justify-content: space-between;
- }
- .lineBottom{
- display: flex;
- justify-content: space-between;
- padding: 26rpx 30rpx;
- }
- .lineBIcon{
- width: 32rpx;height: 32rpx;
- }
- .lineB{
- display: flex;line-height: 32rpx;
- }
- .lineBtxt{
- font-size: 26rpx;
- color: #333333;
- padding-left: 6rpx;
- }
- .jianche{
- background: #FAFAFA;
- border-radius: 10rpx;
- padding: 0 20rpx;
- padding-bottom: 20rpx;
- margin-top: 20rpx;
- }
- .jcLine{
- font-size: 24rpx;
- color: #999999;
- padding-top: 20rpx;
- }
- .sxY{
- width: 750rpx;
- height: 100vh;
- position: fixed;
- left: 0;
- top: 0;
- background: rgba(0,0,0,0.5);
- }
- .sxTkBox{
- padding: 24rpx;
- background: #ffffff;
- margin-top: 350rpx;
- }
- .sxTitle{
- font-weight: 500;
- font-size: 26rpx;
- color: #3C3C3C;
- padding-bottom: 15rpx;
- }
- .sxJt{
- width: 14rpx;height: 23rpx;
- margin-top: 16rpx;
- margin-right: 20rpx;
- }
- .sxInputBox{
- display: flex;
- height: 54rpx;
- background: #F7F7F7;
- border-radius: 6rpx;
- margin-bottom: 40rpx;
- line-height: 54rpx;
- padding-left: 22rpx;
- justify-content: space-between;
- font-size: 22rpx;
- color: #999999;
- }
- .searchBtnSpanActive{
- color: #FF8113;
- }
- </style>
|