|
|
|
@ -23,40 +23,40 @@
|
|
|
|
</view> -->
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
|
|
<view class="m-card">
|
|
|
|
<view class="m-card">
|
|
|
|
<view class="g_h_10"></view>
|
|
|
|
<view class="g_h_24"></view>
|
|
|
|
<view class="" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="g_p_10 g_flex_row_between flex_center g_bg_f g_radius_8 g_fs_16" hover-class="none"
|
|
|
|
<view class="g_p_10 g_flex_row_between flex_center g_bg_f g_radius_8 g_fs_16" hover-class="none"
|
|
|
|
hover-stop-propagation="false" style="padding: 16px 10px;">
|
|
|
|
hover-stop-propagation="false" style="padding: 16px 10px;">
|
|
|
|
<view class="g_flex_column_center g_fw_500 g_c_0 g_fs_17" hover-class="none" hover-stop-propagation="false"> 默认城市 </view>
|
|
|
|
<view class="g_flex_column_center g_fw_500 g_c_0 g_fs_17" hover-class="none" hover-stop-propagation="false"> 职位默认位置 </view>
|
|
|
|
<view class="g_flex_column_center" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="g_flex_column_center" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<u-switch @change="handleSwitch($event, 'defaultCity')"
|
|
|
|
<div class="g_flex_row_end">
|
|
|
|
cusSize='24'
|
|
|
|
<div class="g_flex_1 g_flex_column_center" style="font-size: 17px;color: #666;">
|
|
|
|
cusTop='2'
|
|
|
|
{{ fdbHomeCity == 1 ? "全国" : "当前城市" }}
|
|
|
|
:cusLeft='fdb_Homecity ? 3.5 : 2.2'
|
|
|
|
</div>
|
|
|
|
v-model="fdb_Homecity"
|
|
|
|
<div class="g_flex_none g_flex_column_center">
|
|
|
|
activeColor="#027aff"
|
|
|
|
<i class="iconfont iconfont icon-gengduo11 g_c_c"></i>
|
|
|
|
inactiveColor="#e5e5e5"
|
|
|
|
</div>
|
|
|
|
></u-switch>
|
|
|
|
</div>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="m-card">
|
|
|
|
<view class="m-card">
|
|
|
|
<view class="g_h_10"></view>
|
|
|
|
<view class="g_h_24"></view>
|
|
|
|
<view class="" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="g_p_10 g_flex_row_between flex_center g_bg_f g_radius_8 g_fs_16" hover-class="none"
|
|
|
|
<view class="g_p_10 g_flex_row_between flex_center g_bg_f g_radius_8 g_fs_16" hover-class="none"
|
|
|
|
hover-stop-propagation="false" style="padding: 16px 10px;">
|
|
|
|
hover-stop-propagation="false" style="padding: 16px 10px;">
|
|
|
|
<view class="g_flex_column_center g_fw_500 g_c_0 g_fs_17" hover-class="none" hover-stop-propagation="false"> 默认显示推荐 </view>
|
|
|
|
<view class="g_flex_column_center g_fw_500 g_c_0 g_fs_17" hover-class="none" hover-stop-propagation="false"> 职位默认tab </view>
|
|
|
|
<view class="g_flex_column_center" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<view class="g_flex_column_center" hover-class="none" hover-stop-propagation="false">
|
|
|
|
<u-switch @change="handleSwitch($event, 'recommend')"
|
|
|
|
<div class="g_flex_row_end">
|
|
|
|
cusSize='24'
|
|
|
|
<div class="g_flex_1 g_flex_column_center" style="font-size: 17px;color: #666;">
|
|
|
|
cusTop='2'
|
|
|
|
{{ fdbHomeTab == 1 ? "全部" : "推荐" }}
|
|
|
|
:cusLeft='fdb_HomeTab ? 3.5 : 2.2'
|
|
|
|
</div>
|
|
|
|
v-model="fdb_HomeTab"
|
|
|
|
<div class="g_flex_none g_flex_column_center">
|
|
|
|
activeColor="#027aff"
|
|
|
|
<i class="iconfont iconfont icon-gengduo11 g_c_c"></i>
|
|
|
|
inactiveColor="#e5e5e5"
|
|
|
|
</div>
|
|
|
|
></u-switch>
|
|
|
|
</div>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -103,17 +103,17 @@ export default {
|
|
|
|
that.G.Get(that.api.login_agencyInfo, {}, (aRes) => {
|
|
|
|
that.G.Get(that.api.login_agencyInfo, {}, (aRes) => {
|
|
|
|
uni.setStorageSync("agencyInfo", aRes.agency);
|
|
|
|
uni.setStorageSync("agencyInfo", aRes.agency);
|
|
|
|
let _data = aRes.agency;
|
|
|
|
let _data = aRes.agency;
|
|
|
|
that.fdb_Homecity = _data.fdbHomeCity == 1 ? true : false;// 0当前城市 1全国
|
|
|
|
that.fdbHomeCity = _data.fdbHomeCity;// 0当前城市 1全国
|
|
|
|
that.fdb_HomeTab = _data.fdbHomeTab == 1 ? true : false;//0推荐 1全部
|
|
|
|
that.fdbHomeTab = _data.fdbHomeTab;//0推荐 1全部
|
|
|
|
console.log("获取团队信息:", aRes, that.fdb_Homecity, that.fdb_HomeTab);
|
|
|
|
console.log("获取团队信息:", aRes, that.fdbHomeCity, that.fdbHomeTab);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
applySwitch: false,
|
|
|
|
applySwitch: false,
|
|
|
|
jobSwitch: false,
|
|
|
|
jobSwitch: false,
|
|
|
|
fdb_Homecity: false,
|
|
|
|
fdbHomeCity: false,
|
|
|
|
fdb_HomeTab: false,
|
|
|
|
fdbHomeTab: false,
|
|
|
|
appInfo: uni.getStorageSync("miniApp-info"),
|
|
|
|
appInfo: uni.getStorageSync("miniApp-info"),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|