Commit 27876a5a41936f26310223c548d942a158b00c25
1 parent
1c165964
Exists in
develop
and in
1 other branch
feat: 修改问题
Showing
4 changed files
with
12 additions
and
8 deletions
Show diff stats
common/config.js
1 | module.exports = { | 1 | module.exports = { |
2 | //后端接口地址 | 2 | //后端接口地址 |
3 | - baseUrl: 'http://10.11.38.240:9001', //内网开发环境 | ||
4 | - // baseUrl: 'http://172.17.56.37:18082/api', | 3 | + // baseUrl: 'http://10.11.38.240:9001', //内网开发环境 |
4 | + baseUrl: 'http://172.17.56.37:18082/api', //测试环境 | ||
5 | + // baseUrl: 'http://172.17.56.16:18082/api', //正式环境 | ||
5 | // baseUrl: 'http://api-dashboard.yudao.iocoder.cn/app-api', | 6 | // baseUrl: 'http://api-dashboard.yudao.iocoder.cn/app-api', |
6 | // 超时 | 7 | // 超时 |
7 | timeout: 30000, | 8 | timeout: 30000, |
components/news-list/news-list.vue
@@ -6,13 +6,13 @@ | @@ -6,13 +6,13 @@ | ||
6 | {{newItem.title}} | 6 | {{newItem.title}} |
7 | </view> | 7 | </view> |
8 | <view class="bomCss overflow-one-lines"> | 8 | <view class="bomCss overflow-one-lines"> |
9 | - <view class="overflow-one-lines"> {{ $dict(newItem.plateName) }} </view> | 9 | + <view class="overflow-one-lines" style="width: 130rpx;"> {{ $dict(newItem.plateName || "") }} </view> |
10 | <view class="">|</view> | 10 | <view class="">|</view> |
11 | - <view class="overflow-one-lines"> {{newItem.organizeName}} </view> | 11 | + <view class="overflow-one-lines"> {{newItem.organizeName || ""}} </view> |
12 | </view> | 12 | </view> |
13 | </view> | 13 | </view> |
14 | <view class="rightCss"> | 14 | <view class="rightCss"> |
15 | - <u--image class="imgCss" :showLoading="true" width="232rpx" height="176rpx" radius="10" :src="src"></u--image> | 15 | + <u--image class="imgCss" :showLoading="true" width="232rpx" height="176rpx" radius="10" :src="newItem.pictureUrl?newItem.pictureUrl:src"></u--image> |
16 | </view> | 16 | </view> |
17 | </view> | 17 | </view> |
18 | </view> | 18 | </view> |
@@ -76,6 +76,9 @@ | @@ -76,6 +76,9 @@ | ||
76 | 76 | ||
77 | .bomCss { | 77 | .bomCss { |
78 | display: flex; | 78 | display: flex; |
79 | + justify-content: space-between; | ||
80 | + align-items: center; | ||
81 | + height:32rpx; | ||
79 | background-color: rgba(255, 255, 255, 0); | 82 | background-color: rgba(255, 255, 255, 0); |
80 | box-sizing: border-box; | 83 | box-sizing: border-box; |
81 | font-family: '苹方 中等', '苹方', sans-serif; | 84 | font-family: '苹方 中等', '苹方', sans-serif; |
manifest.json
1 | { | 1 | { |
2 | - "name" : "gas-market-h5", | 2 | + "name" : "市场资讯", |
3 | "appid" : "__UNI__A1179CD", | 3 | "appid" : "__UNI__A1179CD", |
4 | - "description" : "gas-market-h5", | 4 | + "description" : "市场资讯", |
5 | "versionName" : "1.0.0", | 5 | "versionName" : "1.0.0", |
6 | "versionCode" : "100", | 6 | "versionCode" : "100", |
7 | "transformPx" : false, | 7 | "transformPx" : false, |
pages.json
@@ -88,7 +88,7 @@ | @@ -88,7 +88,7 @@ | ||
88 | "globalStyle": { | 88 | "globalStyle": { |
89 | "navigationStyle": "custom", | 89 | "navigationStyle": "custom", |
90 | "navigationBarTextStyle": "black", | 90 | "navigationBarTextStyle": "black", |
91 | - "navigationBarTitleText": "gas-market-h5", | 91 | + "navigationBarTitleText": "市场资讯", |
92 | "navigationBarBackgroundColor": "#ffffff", | 92 | "navigationBarBackgroundColor": "#ffffff", |
93 | "backgroundColor": "#ffffff" | 93 | "backgroundColor": "#ffffff" |
94 | } | 94 | } |