Skip to content

Commit

Permalink
fix: 修复了一些发布前的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
junping.hjp committed Jul 31, 2020
1 parent dee0808 commit 32704bd
Show file tree
Hide file tree
Showing 12 changed files with 65 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VUE_APP_TITLE=Discuz Q Test
VUE_APP_REQUEST_HOST=https://q.e-spy.cn/
VUE_APP_REQUEST_HOST=https://dq.comsenz-service.com/
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VUE_APP_TITLE="Discuz Q"
VUE_APP_REQUEST_HOST=https://q.e-spy.cn/
VUE_APP_REQUEST_HOST=https://dq.comsenz-service.com/
Binary file modified design/设计图V0.0.1-20200725.afdesign
Binary file not shown.
31 changes: 25 additions & 6 deletions src/components/ec-publish/ec-publish.vue
Original file line number Diff line number Diff line change
@@ -1,25 +1,44 @@
<template>
<view class="fbh publish">
<view class="fb1 fbv publish_item">
<view id="0" class="fb1 fbv publish_item" @click="open">
<view>最新版本</view>
<view class="omit">V0.0.0-alpha20200721</view>
</view>
<view class="fb1 fbv publish_item">
<view id="1" class="fb1 fbv publish_item" @click="open">
<view>安装教程</view>
<view class="omit">文字版 · 视频版</view>
</view>
<view class="fb1 fbv publish_item">
<view id="2" class="fb1 fbv publish_item" @click="open">
<view>下载主题</view>
<view class="omit">@souwinds</view>
</view>
</view>
</template>

<script></script>
<script>
export default {
computed: {
t() {
return this.i18n.t('auth');
},
},
methods: {
open(e) {
window.open(
[
'https://github.com/SouWinds/ec-ui-discuzQ/tags',
'https://www.bilibili.com/video/BV1V54y1D7UV',
'https://github.com/SouWinds/ec-ui-discuzQ',
][Number(e.currentTarget.id)],
);
},
},
};
</script>

<style>
.publish {
padding: 0 10px;
padding: 0 5px;
width: 100%;
box-sizing: border-box;
}
Expand All @@ -39,6 +58,6 @@
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
white-space: nowrap;
}
</style>
12 changes: 7 additions & 5 deletions src/components/qui-content/qui-content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,16 @@
>
<qui-icon class="qui-icon" name="icon-liked" size="28" v-if="isGreat"></qui-icon>
<qui-icon class="qui-icon" name="icon-like" size="28" v-else></qui-icon>
{{ isGreat ? t.giveLikeAlready : t.like }}
<!-- {{ isGreat ? t.giveLikeAlready : t.like }} -->
{{ themeLike === 0 ? '' : themeLike }}
</view>

<view
class="themeItem__footer__themeType1__item themeItem__footer__themeType1__comment"
@click="commentClick"
>
{{ t.comment }}
<qui-icon class="qui-icon" name="icon-message" size="28" color="#AAA"></qui-icon>
<!-- {{ t.comment }} -->
{{ themeComment === 0 ? '' : themeComment }}
</view>

Expand All @@ -223,7 +224,7 @@
@click="handleClickShare"
>
<qui-icon class="qui-icon" name="icon-share" size="28" color="#AAA"></qui-icon>
{{ t.share }}
<!-- {{ t.share }} -->
</view>
</view>

Expand Down Expand Up @@ -681,7 +682,7 @@ export default {
display: flex;
line-height: 50px;
text-indent: 10px;
background: #f5f5f510;
background: #0001;
word-break: break-all;
border-radius: 5px;
}
Expand Down Expand Up @@ -765,7 +766,8 @@ export default {
&__item {
font-family: $font-family;
font-size: $fg-f28;
font-size: 14px;
// font-size: $fg-f28;
font-weight: 400;
line-height: 37rpx;
color: rgba(170, 170, 170, 1);
Expand Down
22 changes: 20 additions & 2 deletions src/components/qui-page-home/qui-page-home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<!-- {{ item.type == 1 ? item.title : item.firstPost.summary }} -->
</view>
</view>
<view class="sticky__isSticky__empty"></view>
</view>
</scroll-view>
</view>
Expand Down Expand Up @@ -906,9 +907,21 @@ export default {
// padding: 10px 0;
}
.sticky__box {
padding-right: 20px;
// background: --color(--qui-BG-2);
}
.sticky__isSticky__empty {
display: flex;
width: 0;
height: 80rpx;
margin: 10rpx auto;
border-radius: 5rpx;
// margin-left: 30rpx;
font-size: $fg-f26;
line-height: 80rpx;
padding: 1px;
margin: -1px;
}
.sticky__isSticky {
display: flex;
width: 600rpx;
Expand All @@ -918,7 +931,7 @@ export default {
// margin-left: 30rpx;
font-size: $fg-f26;
line-height: 80rpx;
background: #f5f5f510;
background: #0001;
padding: 0 10px;
margin: 10px;
// border-bottom: 2rpx solid --color(--qui-BOR-ED);
Expand Down Expand Up @@ -1030,4 +1043,9 @@ export default {
text-decoration: none;
}
}
.area {
width: 10px;
height: 10px;
display: block;
}
</style>
7 changes: 5 additions & 2 deletions src/components/qui-page-notice/qui-page-notice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@
</view>
</view>
<!-- 如果没有会话 -->
<view :v-if="!dialogList.length" style="text-align: center; padding: 30px; color: #ccc">
<qui-icon size="100" name="icon-fail" />
<view
v-if="!dialogList.length === 0"
style="text-align: center; padding: 30px; color: #ccc"
>
<qui-icon size="100" name="icon-message" />
<view style="line-height: 40px; font-size: 12px;">暂时没有私信,赶快去联系好友!</view>
</view>
<!-- 会话列表 -->
Expand Down
2 changes: 1 addition & 1 deletion src/components/qui-pay/qui-pay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export default {
line-height: 90rpx;
color: #666;
text-align: center;
border-top-color: #f5f5f5;
border-top-color: #0001;
border-top-style: solid;
border-top-width: 1px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/qui-search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
.serach {
display: flex;
width: 100%;
//border-bottom: 1px #f5f5f5 solid; //去掉边框
//border-bottom: 1px #0001 solid; //去掉边框
font-size: $uni-font-size-base;
box-sizing: border-box;
.content {
Expand Down
2 changes: 1 addition & 1 deletion src/components/uni-popup/uni-popup-dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default {
display: flex;
/* #endif */
flex-direction: row;
border-top-color: #f5f5f5;
border-top-color: #0001;
border-top-style: solid;
border-top-width: 1px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/topic/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2497,7 +2497,7 @@ page {
line-height: 100rpx;
color: #666;
text-align: center;
border-top-color: #f5f5f5;
border-top-color: #0001;
border-top-style: solid;
border-top-width: 1px;
}
Expand Down
4 changes: 2 additions & 2 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ module.exports = {
// 更多代理设置请看:https://github.com/chimurai/http-proxy-middleware#options
proxy: {
'/api': {
target: 'https://q.e-spy.cn',
// target: 'https://dq.comsenz-service.com',
// target: 'https://q.e-spy.cn',
target: 'https://dq.comsenz-service.com',
changeOrigin: true,
secure: true,
ws: true,
Expand Down

0 comments on commit 32704bd

Please sign in to comment.