|
|
@@ -2,7 +2,7 @@
|
|
|
<view class="content" v-if="isShow">
|
|
|
<!-- 搜索框 -->
|
|
|
<view class="input-box">
|
|
|
- <image src="/static/policy/u377.png" alt="" />
|
|
|
+ <image src="/static/policy/u377.png" alt="" mode="aspectFit"/>
|
|
|
<input
|
|
|
type="text"
|
|
|
placeholder="请输入关键词搜索"
|
|
|
@@ -13,10 +13,10 @@
|
|
|
<view class="companys">
|
|
|
<view>推荐企业</view>
|
|
|
<view
|
|
|
- class="company"
|
|
|
v-for="(company, index) in companyList"
|
|
|
:key="index"
|
|
|
@tap="toDetail(company.id)"
|
|
|
+ class="company"
|
|
|
>
|
|
|
<view class="title">
|
|
|
<view class="logo">
|
|
|
@@ -41,7 +41,7 @@
|
|
|
<view class="line"></view>
|
|
|
<view class="view">
|
|
|
<view class="info_t">注册资本</view>
|
|
|
- {{ company.capital }}
|
|
|
+ {{ company.capital }}万元
|
|
|
</view>
|
|
|
<view class="line"></view>
|
|
|
<view class="view">
|
|
|
@@ -99,8 +99,7 @@ export default {
|
|
|
"&sign=" +
|
|
|
md5Sign;
|
|
|
let postData = {
|
|
|
- page: 1,
|
|
|
- page_size: 15,
|
|
|
+ s_show: "1",
|
|
|
};
|
|
|
uni.request({
|
|
|
url: url,
|
|
|
@@ -112,15 +111,10 @@ export default {
|
|
|
success: (res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
let list = res.data.data.list;
|
|
|
+ console.log(res.data.data.list);
|
|
|
list.forEach((e, i) => {
|
|
|
- let {
|
|
|
- pic_url,
|
|
|
- name,
|
|
|
- representative,
|
|
|
- capital,
|
|
|
- found_date,
|
|
|
- id,
|
|
|
- } = e;
|
|
|
+ let { pic_url, name, representative, capital, found_date, id } =
|
|
|
+ e;
|
|
|
list[i] = {
|
|
|
pic_url,
|
|
|
name,
|
|
|
@@ -169,14 +163,8 @@ export default {
|
|
|
let list = res.data.data.list;
|
|
|
console.log(list);
|
|
|
list.forEach((e, i) => {
|
|
|
- let {
|
|
|
- pic_url,
|
|
|
- name,
|
|
|
- representative,
|
|
|
- capital,
|
|
|
- found_date,
|
|
|
- id,
|
|
|
- } = e;
|
|
|
+ let { pic_url, name, representative, capital, found_date, id } =
|
|
|
+ e;
|
|
|
list[i] = {
|
|
|
pic_url,
|
|
|
name,
|
|
|
@@ -210,10 +198,10 @@ export default {
|
|
|
align-items: center;
|
|
|
position: relative;
|
|
|
image {
|
|
|
- position: absolute;
|
|
|
- left: 72rpx;
|
|
|
- width: 30rpx;
|
|
|
- height: 30rpx;
|
|
|
+ position: absolute;
|
|
|
+ left: 72rpx;
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
}
|
|
|
input {
|
|
|
background-color: #ffffff;
|
|
|
@@ -251,7 +239,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.line {
|
|
|
- width: 3rpx;
|
|
|
+ width: 2rpx;
|
|
|
height: 70rpx;
|
|
|
background: rgb(175, 186, 197);
|
|
|
}
|
|
|
@@ -266,12 +254,12 @@ export default {
|
|
|
margin-top: 2%;
|
|
|
.view {
|
|
|
margin-top: 2%;
|
|
|
- .name {
|
|
|
- color: #02a7f0;
|
|
|
- }
|
|
|
+ font-size: 30rpx;
|
|
|
+ // .name {
|
|
|
+ // color: #02a7f0;
|
|
|
+ // }
|
|
|
.info_t {
|
|
|
margin-bottom: 10rpx;
|
|
|
- font-size: 25rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|