Commit 27876a5a41936f26310223c548d942a158b00c25

Authored by 郭伟龙
1 parent 1c165964
Exists in develop and in 1 other branch charge

feat: 修改问题

common/config.js
1 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 6 // baseUrl: 'http://api-dashboard.yudao.iocoder.cn/app-api',
6 7 // 超时
7 8 timeout: 30000,
... ...
components/news-list/news-list.vue
... ... @@ -6,13 +6,13 @@
6 6 {{newItem.title}}
7 7 </view>
8 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 10 <view class="">|</view>
11   - <view class="overflow-one-lines"> {{newItem.organizeName}} </view>
  11 + <view class="overflow-one-lines"> {{newItem.organizeName || ""}} </view>
12 12 </view>
13 13 </view>
14 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 16 </view>
17 17 </view>
18 18 </view>
... ... @@ -76,6 +76,9 @@
76 76  
77 77 .bomCss {
78 78 display: flex;
  79 + justify-content: space-between;
  80 + align-items: center;
  81 + height:32rpx;
79 82 background-color: rgba(255, 255, 255, 0);
80 83 box-sizing: border-box;
81 84 font-family: '苹方 中等', '苹方', sans-serif;
... ...
manifest.json
1 1 {
2   - "name" : "gas-market-h5",
  2 + "name" : "市场资讯",
3 3 "appid" : "__UNI__A1179CD",
4   - "description" : "gas-market-h5",
  4 + "description" : "市场资讯",
5 5 "versionName" : "1.0.0",
6 6 "versionCode" : "100",
7 7 "transformPx" : false,
... ...
pages.json
... ... @@ -88,7 +88,7 @@
88 88 "globalStyle": {
89 89 "navigationStyle": "custom",
90 90 "navigationBarTextStyle": "black",
91   - "navigationBarTitleText": "gas-market-h5",
  91 + "navigationBarTitleText": "市场资讯",
92 92 "navigationBarBackgroundColor": "#ffffff",
93 93 "backgroundColor": "#ffffff"
94 94 }
... ...