Browse Source

样式bug修复

210plan
aBin 3 years ago
parent
commit
34e3871e79
  1. 2
      src/components/Service/Service.vue
  2. 10
      src/components/Test/component/Talk.vue
  3. 16
      src/pages/index/index.vue
  4. BIN
      src/static/image.png
  5. BIN
      src/static/news/news.png

2
src/components/Service/Service.vue

@ -9,7 +9,7 @@
<!-- 客服 --> <!-- 客服 -->
<img style="height: 28px; width: 28px" src="./icon/tel-we.png" alt="" /> <img style="height: 28px; width: 28px" src="./icon/tel-we.png" alt="" />
</button> </button>
<view class="edition">v4.0.0</view> <view class="edition">v4.0.1</view>
</div> </div>
</template> </template>
<script> <script>

10
src/components/Test/component/Talk.vue

@ -8,7 +8,8 @@
{{ $moment(+talkStart).format('YYYY-MM-DD HH:mm') }} {{ $moment(+talkStart).format('YYYY-MM-DD HH:mm') }}
</span> </span>
<span class="mr-3 gray-text" v-else>请选择时间</span> <span class="mr-3 gray-text" v-else>请选择时间</span>
<u-icon name="clock" color="#2979ff" size="28"></u-icon> <u-icon name="arrow-right" color="#70798C" size="28"></u-icon>
<!-- <u-icon name="clock" color="#2979ff" size="28"></u-icon> -->
</div> </div>
</div> </div>
</div> </div>
@ -42,7 +43,8 @@
{{ $moment(+ZQTHSJ).format('YYYY-MM-DD HH:mm') }} {{ $moment(+ZQTHSJ).format('YYYY-MM-DD HH:mm') }}
</span> </span>
<span class="mr-3 gray-text" v-else>请选择时间</span> <span class="mr-3 gray-text" v-else>请选择时间</span>
<u-icon name="clock" color="#2979ff" size="28"></u-icon> <u-icon name="arrow-right" color="#70798C" size="28"></u-icon>
<!-- <u-icon name="clock" color="#2979ff" size="28"></u-icon> -->
</div> </div>
</div> </div>
</div> </div>
@ -103,7 +105,7 @@ export default {
height: '54px', height: '54px',
lineHeight: '30px', lineHeight: '30px',
fontSize: '14px', fontSize: '14px',
padding: '0 16px', padding: '0 0 0 16px',
/* color: #1890ff; */ /* color: #1890ff; */
color: 'rgba(0, 0, 0, 0.65)', color: 'rgba(0, 0, 0, 0.65)',
backgroundColor: '#fff', backgroundColor: '#fff',
@ -259,7 +261,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 12px 16px; padding: 24rpx 0 24rpx 32rpx;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
/* margin-top: 8px; */ /* margin-top: 8px; */
} }

16
src/pages/index/index.vue

@ -64,7 +64,7 @@
</view> </view>
<view class="news-content flex" v-for="(item, index) in newsList" :key="index" @click="jumpDetail(item)"> <view class="news-content flex" v-for="(item, index) in newsList" :key="index" @click="jumpDetail(item)">
<img src="@/static/news/news.png" class="news-img" alt="" /> <img src="@/static/news/news.png" class="news-img" alt="" />
<view class="news-time"> <view class="news-time flex justify-center items-center">
{{ $moment(+item.publishTime).format('YYYY-MM-DD') }} {{ $moment(+item.publishTime).format('YYYY-MM-DD') }}
</view> </view>
<view class="flex-1"> <view class="flex-1">
@ -429,13 +429,13 @@ export default {
.news-intro { .news-intro {
width: 100%; width: 100%;
height: 72rpx; height: 72rpx;
margin: 14rpx 0; margin: 12rpx 0;
background: #f7f7fa; background: #f7f7fa;
border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
padding: 6rpx; padding: 6rpx;
line-height: 30rpx; line-height: 31rpx;
opacity: 1; opacity: 1;
font-size: 10px; font-size: 20rpx;
font-family: OPPOSans-Medium, OPPOSans; font-family: OPPOSans-Medium, OPPOSans;
font-weight: 500; font-weight: 500;
color: #70798c; color: #70798c;
@ -556,10 +556,14 @@ page {
.news-time { .news-time {
position: absolute; position: absolute;
left: 0; left: 0;
width: 240rpx; width: 180rpx;
left: 30rpx;
border-radius: 12rpx;
background: #fff;
text-align: center; text-align: center;
bottom: 48rpx; bottom: 25%;
font-size: 20rpx; font-size: 20rpx;
height: 24rpx;
font-family: OPPOSans-Medium, OPPOSans; font-family: OPPOSans-Medium, OPPOSans;
font-weight: 500; font-weight: 500;
color: #70798c; color: #70798c;

BIN
src/static/image.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 26 KiB

BIN
src/static/news/news.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Loading…
Cancel
Save