소스 검색

车牌颜色获取

yxb
DESKTOP-2IO5MST\huting 2 년 전
부모
커밋
199b511a98

+ 2
- 3
subpackage/applyCard/components/layout-numberplate-color.vue 파일 보기

{src:'bg-black',checkSrc:'icon-select-black',id:2,color:'#ffffff',title:'黑色'}, {src:'bg-black',checkSrc:'icon-select-black',id:2,color:'#ffffff',title:'黑色'},
{src:'bg-white',checkSrc:'icon-select-white',id:3,color:'#000000',title:'白色'}, {src:'bg-white',checkSrc:'icon-select-white',id:3,color:'#000000',title:'白色'},
{src:'bg-white_blue',checkSrc:'icon-select-blue',id:6,color:'#000000',title:'蓝白渐变'}, {src:'bg-white_blue',checkSrc:'icon-select-blue',id:6,color:'#000000',title:'蓝白渐变'},
{src:'bg-green',checkSrc:'icon-select-green',id:11,color:'rgb(0,255,0)',title:'绿色'},
{src:'bg-white_white',checkSrc:'icon-select-white',id:12,color:'rgb(255,0,0)',title:'红色'},
{src:'bg-green',checkSrc:'icon-select-green',id:11,color:'#ffffff',title:'绿色'},
{src:'bg-green',checkSrc:'icon-select-green',id:12,color:'#ffffff',title:'红色'},
] ]
}) })

+ 16
- 0
subpackage/applyCard/opening-account-people.vue 파일 보기

fileUpload, fileUpload,
register, register,
envs, envs,
getUserMsg
} from "@/utils/network/api.js"; } from "@/utils/network/api.js";


import { import {
state.isSign=option.isSign; state.isSign=option.isSign;
//state.fromOrder = option.fromOrder //是否来自订单-修改资料 //state.fromOrder = option.fromOrder //是否来自订单-修改资料
getGlobalParam(); //全局配置数据 getGlobalParam(); //全局配置数据
queryUserMsg(); //通过opneId查询用户信息
}); });
//监听页面滚动 //监听页面滚动
} }
} }
// 通过opneId查询用户信息
const queryUserMsg=()=>{
const options = {
type: 2,
data: {
"openId":getItem('openId')
},
method: "POST",
showLoading: true,
};
request(getUserMsg, options).then((res) => {
console.log("通过opneId查询用户信息",stringToJson(res.bizContent))
})
}
</script> </script>


<style lang="scss" scoped> <style lang="scss" scoped>

+ 1
- 0
subpackage/invoice/moreHighMsg/moreHighMsg.vue 파일 보기

.content{ .content{
background-color: #eef7f7; background-color: #eef7f7;
overflow: hidden; overflow: hidden;
min-height: 100vh;
} }
.item{ .item{
width: 95%; width: 95%;

+ 27
- 4
subpackage/orders/order-evaluate-product.vue 파일 보기

<form-image @backImg="backImgInterest($event)" @removeImg="removeImgInterest" :isUrl="false" style="width: 100%;" :retract="-15"></form-image> <form-image @backImg="backImgInterest($event)" @removeImg="removeImgInterest" :isUrl="false" style="width: 100%;" :retract="-15"></form-image>
</view> </view>
</view> </view>

<view class="uni-list" style='font-size:32rpx'>
<view class="uni-list-cell uni-list-cell-pd">
<view class="uni-list-cell-db">是否匿名</view>
<switch checked style="transform:scale(0.7)" @change="switchChange"/>
</view>
</view>
<view class="btn"> <view class="btn">
<submit-button @submit="publish" title="发布"></submit-button> <submit-button @submit="publish" title="发布"></submit-button>
</view> </view>
tagAllList:[], tagAllList:[],
orderId:"", orderId:"",
haveInterestsProduct:false, //是否有权益产品 haveInterestsProduct:false, //是否有权益产品
isAnonymity:1, //是否匿名
}) })


/* 确认选择tag */ /* 确认选择tag */
"score":state.product.score, "score":state.product.score,
"pictureUrl":state.product.imageList.join(";"), "pictureUrl":state.product.imageList.join(";"),
"message":'', "message":'',
"suggestion":state.product.content
"suggestion":state.product.content,
"isAnonymity":state.isAnonymity
}, },
method: 'POST', method: 'POST',
showLoading: true, showLoading: true,
"score":state.interest.score, "score":state.interest.score,
"pictureUrl":state.interest.imageList.join(";"), "pictureUrl":state.interest.imageList.join(";"),
"message":'', "message":'',
"suggestion":state.interest.content
"suggestion":state.interest.content,
"isAnonymity":state.isAnonymity
}, },
method: 'POST', method: 'POST',
showLoading: true, showLoading: true,
state.orderInfo = stringToJson(res.bizContent); state.orderInfo = stringToJson(res.bizContent);
}) })
} }
// 是否匿名
const switchChange=(e)=>{
console.log('switch1 发生 change 事件,携带值为', e.detail.value);
if(e.detail.value){
state.isAnonymity=1
}else{
state.isAnonymity=0
}
}
onLoad((option) => { onLoad((option) => {
getOrderDetails(option.id); getOrderDetails(option.id);
state.orderId=option.orderId state.orderId=option.orderId
.btn { .btn {
margin: 60rpx 40rpx 0rpx; margin: 60rpx 40rpx 0rpx;
} }
.uni-list-cell{
display: flex;
margin: 10rpx auto;
width: 90%;
justify-content: space-between;
align-items: center;
}
</style> </style>

+ 12
- 4
subpackage/orders/order-evaluate-salesman.vue 파일 보기

</textarea> </textarea>
</view> </view>
</view> </view>
<view class="uni-list">
<view class="uni-list" style='font-size:32rpx'>
<view class="uni-list-cell uni-list-cell-pd"> <view class="uni-list-cell uni-list-cell-pd">
<view class="uni-list-cell-db">是否匿名</view> <view class="uni-list-cell-db">是否匿名</view>
<switch checked style="transform:scale(0.7)" @change="switchChange"/> <switch checked style="transform:scale(0.7)" @change="switchChange"/>
tagAllList:[], tagAllList:[],
orderId:'', //订单ID orderId:'', //订单ID
id:'', id:'',
isAnonymity:1, //是否匿名 默认匿名
}) })
/* 确认选择tag 满意度 */ /* 确认选择tag 满意度 */
const confirmSelectTag1 = (selectTag) => { const confirmSelectTag1 = (selectTag) => {
"serviceType":"service", "serviceType":"service",
"score":state.handle.score, "score":state.handle.score,
"message":tagListArr.toString(), "message":tagListArr.toString(),
"suggestion":state.handle.content
"suggestion":state.handle.content,
"isAnonymity":state.isAnonymity
}, },
method: 'POST', method: 'POST',
showLoading: true, showLoading: true,
"serviceType":"staff", "serviceType":"staff",
"score":state.user.score, "score":state.user.score,
"message":tagListArr.toString(), "message":tagListArr.toString(),
"suggestion":state.user.content
"suggestion":state.user.content,
"isAnonymity":state.isAnonymity
}, },
method: 'POST', method: 'POST',
showLoading: true, showLoading: true,
} }
// 是否匿名 // 是否匿名
const switchChange=(e)=>{ const switchChange=(e)=>{
console.log('switch1 发生 change 事件,携带值为', e.detail.value)
console.log('switch1 发生 change 事件,携带值为', e.detail.value);
if(e.detail.value){
state.isAnonymity=1
}else{
state.isAnonymity=0
}
} }
onLoad((option) => { onLoad((option) => {
console.log("option",option) console.log("option",option)

+ 1
- 0
utils/network/api.js 파일 보기

export const judageSalesman="35744a8e282a42ddbc63814303e9e441" //判断是否有业务员 export const judageSalesman="35744a8e282a42ddbc63814303e9e441" //判断是否有业务员
export const judageQuanProduct="fe71273c1a394eaa999825afe7daa59b" //判断是否有权益产品 export const judageQuanProduct="fe71273c1a394eaa999825afe7daa59b" //判断是否有权益产品
export const getGlobalParam="d0579171c82443cb9b243c113309119a" //全局配置 export const getGlobalParam="d0579171c82443cb9b243c113309119a" //全局配置
export const getUserMsg="c4a499a2a63042b9a2d4e88fc77d3fc0" //通过opneId查询用户信息

Loading…
취소
저장