优化新产品列表进入产品详情
parent
eaeb85862c
commit
d12090cc5d
|
@ -72,7 +72,7 @@
|
|||
|
||||
"path": "pages/repairsPage/repairsPage",
|
||||
"style": {
|
||||
"navigationBarTitleText": "添加保修",
|
||||
"navigationBarTitleText": "添加报修",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,20 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<view class="repairs-nav">
|
||||
<status-nav navBarTitle="添加报修" returnColor="#c2c2c2"></status-nav>
|
||||
<container-subgroup>
|
||||
<view slot="content" style="margin: 0 -30rpx;">
|
||||
<view class="repairs-nav" style="margin-top: -30rpx;">
|
||||
<view class="li" @click="repairsNavFun(index)" :class="item.state?'on':''" v-for="(item,index) in navDataState">
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="repairs-hint padding">
|
||||
<image class="icon" src="../../static/iocn/lp.png" mode="aspectFill"></image>
|
||||
<view class="text">
|
||||
请务必拍好故障照片或视频上传,便于技术工程师作为判断依据,带齐 相关维保设备。高效为您提供服务。
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="fault-type-title padding">
|
||||
故障类型:
|
||||
</view>
|
||||
|
||||
<view class="fault-type-title padding">故障类型:</view>
|
||||
<view class="padding fault-type-content">
|
||||
<view class="li" :class="item.state?'on':''" v-for="(item,index) in faultTypeData">
|
||||
{{item.title}}
|
||||
|
@ -59,6 +57,8 @@
|
|||
|
||||
<button class="submit-button" type="default">提交故障申报</button>
|
||||
</view>
|
||||
</view>
|
||||
</container-subgroup>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<view class="home-fun-box">
|
||||
<view class="fun-title col3 fon28 disac bold">故障报修</view>
|
||||
<view class="disac mar-s30">
|
||||
<view class="disjcac fc width25" v-for="(item,index) in repairList" :key="index">
|
||||
<view @tap="goFaultRepair(index)" class="disjcac fc width25" v-for="(item,index) in repairList" :key="index">
|
||||
<image :style="{width: [58,58,50][index]+'rpx',height:[53,56,58][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
|
||||
<view class="fon24 col3 mar-s10">{{item.title}}</view>
|
||||
</view>
|
||||
|
@ -323,6 +323,20 @@
|
|||
goNoticeDetail(e){
|
||||
console.log(e);
|
||||
},
|
||||
// 故障报修分类下的点击事件
|
||||
goFaultRepair(index){
|
||||
if(index!=2) {
|
||||
let faultRepairUrls = [
|
||||
'/pages/repairsPage/repairsPage',
|
||||
'/pages/workOrder/workOrderLlsit',
|
||||
];
|
||||
uni.navigateTo({
|
||||
url:faultRepairUrls[index]
|
||||
})
|
||||
} else {
|
||||
this.$toolAll.tools.showToast('已催单成功')
|
||||
}
|
||||
},
|
||||
// 其他分类下的点击事件
|
||||
otherEv(index) {
|
||||
let otherUrls = [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<statusNav navBarTitle="工单列表"></statusNav>
|
||||
<status-nav navBarTitle="工单列表" returnColor="#c2c2c2"></status-nav>
|
||||
<view class="project-list-input">
|
||||
<input type="text" class="int" value="" placeholder="请输入关键字" />
|
||||
<image class="search" src="../../static/iocn/ss.png" mode=""></image>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
// 去新产品详情
|
||||
goDetail(index){
|
||||
uni.navigateTo({
|
||||
url:'/pagesB/plan-fault-product-detail/detail'
|
||||
url:'/pagesB/plan-fault-product-detail/detail?index=2'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
this.detailTitle = `${['方案详情','详情概述'][op.index*1]}`;
|
||||
this.detailTitle = `${['方案详情','详情概述','产品详情'][op.index*1]}`;
|
||||
},
|
||||
methods: {
|
||||
// 去新产品详情
|
||||
|
|
Loading…
Reference in New Issue