问题修改

master
wangxia 2 years ago
commit c00fb7bf60

@ -38,7 +38,7 @@
<view class="flex-1 vsb"> <view class="flex-1 vsb">
<view class="display-flex"> <view class="display-flex">
<view class="storeName">{{item.jobName || item.aliasName}}</view> <view class="storeName">{{item.jobName || item.aliasName}}</view>
<view class="hourPay">{{item.salaryClassifyValue}}</view> <view class="hourPay">{{item.monthlyPay}}元/月</view>
</view> </view>
<view class="v-center mt12 mb12"> <view class="v-center mt12 mb12">
<view class="f14s c045 flex-1 display-flex"> <view class="f14s c045 flex-1 display-flex">

@ -168,7 +168,7 @@ Page({
let resImg = e.currentTarget.dataset.src; let resImg = e.currentTarget.dataset.src;
var imgArr = []; var imgArr = [];
this.data.jobDetail.storeImage.forEach((item) => { this.data.images.forEach((item) => {
// let regs = /\.(jpg|jpeg|png)(\?.*)?$/; // let regs = /\.(jpg|jpeg|png)(\?.*)?$/;
// item.isImg = regs.test(item.url.toLowerCase()); // item.isImg = regs.test(item.url.toLowerCase());
if (item.isImg) { if (item.isImg) {

@ -33,13 +33,69 @@
</view> </view>
</view> </view>
</view> </view>
<view class="bb1 tabBox pb4 mt4"> </view>
<!-- <view wx:if="{{jobDetail.rebate != null}}" class='tagsLi spli'> <view class="tr">
<view class="jobMoney color-f40">
<!-- {{jobDetail.combiSalary}} -->
<!-- {{jobDetail.hourlyPay || '--'}} -->
{{jobDetail.monthlyPay || '--'}}元/月
</view>
<view class="f14s c633 mt10 color-f40">
<!-- 5200-8400 -->
<!-- {{jobDetail.monthlyPay || '--'}} -->
</view>
</view>
</view>
<view class="bb1 tabBox pb4 mt4">
<!-- <view wx:if="{{jobDetail.rebate != null}}" class='tagsLi spli'>
返费{{jobDetail.rebate}} 返费{{jobDetail.rebate}}
</view>--> </view>-->
<view class="display-flex" hover-class="none" hover-stop-propagation="false"> <view class="display-flex" hover-class="none" hover-stop-propagation="false">
<!-- <view class="t-icon t-icon-ziying1" wx:if="{{jobDetail.storeProjectSignType == 1}}"></view> --> <!-- <view class="t-icon t-icon-ziying1" wx:if="{{jobDetail.storeProjectSignType == 1}}"></view> -->
<view class="tagsLi" style="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.jobSpecialLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view> <view class="tagsLi" style="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.jobSpecialLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
</view>
<view class="display-flex" hover-class="none" hover-stop-propagation="false">
<view class="tagsLi" tyle="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.jobRequestLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
</view>
</view>
</view>
<view class="mg020 pb10 bb1 v-center" bindtap="toMapChoice" data-address="{{jobDetail}}">
<view>
<i class="iconfont icon-dizhi11 f18 mr10 lh1" style="color:var(--color-ysd);"></i>
</view>
<view class="address c3">{{jobDetail.storeAddr ? jobDetail.storeAddr :'暂无地址信息'}}</view>
<view>
<i class="iconfont icon-gengduo11 f14 ml18 dib pr c9" style="line-height:1;top:1px;"></i>
</view>
</view>
<view class="p016 mt12" wx:if="{{images.length > 0}}">
<block wx:for="{{images}}" wx:for-item="item" wx:key="index">
<image src="{{item.url}}" bind:tap="showImage" wx:if="{{item.isImg}}" data-src="{{item.url}}" class="img5" mode=""/>
</block>
</view>
<view class="p020">
<view class="f14">
<block wx:if="{{currIndex == '1'}}">
<view>
<view class="detailH3">
<view class="fl mr12" style="width: 4px;height: 19px;background: #0dcc91;border-radius: 2px;"></view>
职位描述</view>
<view class="pri f16" style="line-height:24px;padding:3px 0px;border-radius: 4px;color:#777;">{{jobDetail.jobInfo}}</view>
</view>
<view style="height: 40px;"></view>
</block>
<block wx:if="{{currIndex == '2'}}">
<view class="detailH3">面试</view>
<view class="outSp">
<view class="display-flex">
<view class="rb1">面试时间</view>
<view class="textb1">{{jobDetail.interviewDuration}}</view>
</view> </view>
<view class="display-flex" hover-class="none" hover-stop-propagation="false"> <view class="display-flex" hover-class="none" hover-stop-propagation="false">
<view class="tagsLi" tyle="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.jobRequestLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view> <view class="tagsLi" tyle="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.jobRequestLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view>

@ -40,7 +40,7 @@ page,
margin-right: 16px; margin-right: 16px;
} }
.jobMoney { .jobMoney {
font-size: 18px; font-size: 16px;
font-weight: 601; font-weight: 601;
line-height: 20px; line-height: 20px;
} }

@ -295,7 +295,7 @@
<view class="flex-1 vsb"> <view class="flex-1 vsb">
<view class="display-flex"> <view class="display-flex">
<view class="storeName">{{item.jobName || item.aliasName}}</view> <view class="storeName">{{item.jobName || item.aliasName}}</view>
<view class="hourPay">{{item.salaryClassifyValue}}</view> <view class="hourPay">{{item.monthlyPay}}元/月</view>
</view> </view>
<view class="v-center mt12 mb12"> <view class="v-center mt12 mb12">
<view class="f14s c045 flex-1 display-flex"> <view class="f14s c045 flex-1 display-flex">
@ -304,7 +304,7 @@
<view class="fl" wx:if="{{item.distance != null && item.distance != '' && storeJobListSearchForm.sortTag == 2}}">{{ item.distanceKm}}</view> <view class="fl" wx:if="{{item.distance != null && item.distance != '' && storeJobListSearchForm.sortTag == 2}}">{{ item.distanceKm}}</view>
<view class="fl" wx:else>{{item.age}}</view> <view class="fl" wx:else>{{item.age}}</view>
</view> </view>
<!--<view class="fr f14s fw400" style="color: var(--color-f40);">{{item.monthlyPay}}</view>--> <!-- <view class="fr f14s fw400" style="color: var(--color-f40);">{{item.monthlyPay}}</view> -->
</view> </view>
</view> </view>
<view class="display-flex"> <view class="display-flex">

@ -375,7 +375,7 @@ height: 746rpx;
} }
.hourPay { .hourPay {
/* f18 c633 lh1 flex-1 tr */ /* f18 c633 lh1 flex-1 tr */
font-size: 18px; font-size: 16px;
line-height: 1; line-height: 1;
flex: 1; flex: 1;
text-align: right; text-align: right;

@ -276,7 +276,7 @@
<view class="display-flex"> <view class="display-flex">
<view class="storeName" wx:if="{{item.jobName != null && item.jobName != ''}}">{{item.jobName}}</view> <view class="storeName" wx:if="{{item.jobName != null && item.jobName != ''}}">{{item.jobName}}</view>
<view class="storeName" wx:else>{{item.aliasName}}</view> <view class="storeName" wx:else>{{item.aliasName}}</view>
<view class="hourPay">{{item.salaryClassifyValue}}</view> <view class="hourPay">{{item.monthlyPay}}元/月</view>
</view> </view>
<view class="v-center mt12 mb12"> <view class="v-center mt12 mb12">
<view class="f14s c045 flex-1 display-flex"> <view class="f14s c045 flex-1 display-flex">

@ -45,7 +45,7 @@
</view> </view>
<view class="weui-cell mark mt16"> <view class="weui-cell mark mt16">
<view class="weui-cell__hd"> <view class="weui-cell__hd">
<label class="weui-label">标签</label> <label class="weui-label" style="width: 60px;">标签</label>
</view> </view>
<view class="weui-cell__bd tr"> <view class="weui-cell__bd tr">
<view bindtap="selectAddressClassify" data-classify="0" class="adTag {{addressClassify == 0 && addressClassify !== '' && addressClassify !== null ? 'active' : ''}}">家</view> <view bindtap="selectAddressClassify" data-classify="0" class="adTag {{addressClassify == 0 && addressClassify !== '' && addressClassify !== null ? 'active' : ''}}">家</view>

@ -14,12 +14,15 @@ Page({
troubleList:[ troubleList:[
"投诉", "建议", "故障", "其他" "投诉", "建议", "故障", "其他"
], ],
actived:0 actived:0,
count:4,
}, },
chooseMedia () { chooseMedia () {
var that = this; var that = this;
console.log( that.data.count)
wx.chooseMedia({ wx.chooseMedia({
count: 4, count: that.data.count,
mediaType: ['image'], mediaType: ['image'],
sizeType: ['original', 'compressed'], sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'], sourceType: ['album', 'camera'],
@ -51,7 +54,8 @@ Page({
that.data.newAddImg.push(JSON.parse(res.data).data) that.data.newAddImg.push(JSON.parse(res.data).data)
that.setData({ that.setData({
files: that.data.files, files: that.data.files,
newAddImg: that.data.newAddImg newAddImg: that.data.newAddImg,
count: 4 - that.data.files.length
}) })
// currData.data = JSON.parse(res.data); // currData.data = JSON.parse(res.data);
@ -91,7 +95,8 @@ Page({
that.pushImg(); that.pushImg();
that.setData({ that.setData({
files: that.data.files, files: that.data.files,
newAddImg: that.data.newAddImg newAddImg: that.data.newAddImg,
count: 4 - that.data.files.length
}) })
} else if (res.cancel) { } else if (res.cancel) {
@ -202,7 +207,8 @@ console.log(that.data.newAddImg)
data: { data: {
content: that.data.textVal, content: that.data.textVal,
classify: Number(that.data.actived + 1), classify: Number(that.data.actived + 1),
imgs:that.data.newAddImg.toString() imgs:that.data.newAddImg.toString(),
appId:app.globalData.appId
}, },
success: function (res) { success: function (res) {
console.log(res); console.log(res);

@ -34,8 +34,8 @@
<view class="display-flex"> <view class="display-flex">
<view class="flex-1 vsb"> <view class="flex-1 vsb">
<view class="display-flex"> <view class="display-flex">
<view class="storeName" style="font-size: 14px;">{{item.jobName || item.aliasName}}</view> <view class="storeName" style="font-size: 14px;max-width:300rpx;">{{item.jobName || item.aliasName}}</view>
<view class="hourPay" style="font-size: 14px;">{{item.salaryClassifyValue}}</view> <view class="hourPay" style="font-size: 14px;">{{item.monthlyPay}}元/月</view>
</view> </view>
<view class="v-center mt12 mb12"> <view class="v-center mt12 mb12">
<view class="f12 c045 flex-1 display-flex"> <view class="f12 c045 flex-1 display-flex">

@ -8,6 +8,13 @@
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{
"name": "我的2",
"pathName": "pages/mine/index",
"query": "",
"launchMode": "default",
"scene": null
},
{ {
"name": "反馈与建议", "name": "反馈与建议",
"pathName": "pages/mine/opinion/index", "pathName": "pages/mine/opinion/index",
@ -193,5 +200,5 @@
] ]
} }
}, },
"libVersion": "3.4.0" "libVersion": "3.0.0"
} }
Loading…
Cancel
Save