1362ae2888ca3e13e0d877938543690ac68c1db4..2123b062a7f6e36c48c34a2ea127a47ff989cd89
2023-05-16 zhaoxing
Merge branch 'master' of http://www.shsening.com:10000/r/chatgpt-AI
2123b0 对比 | 目录
2023-05-16 zhaoxing
修改样式
250107 对比 | 目录
18个文件已修改
120 ■■■■■ 已修改文件
components/css/index.css 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/chat.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/home.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/write.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/loading/loading.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/mine.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tab/assistant.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/style/color-ui.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/tabbar/cd.png 补丁 | 查看 | 原始文档 | blame | 历史
static/tabbar/homed.png 补丁 | 查看 | 原始文档 | blame | 历史
static/tabbar/mined.png 补丁 | 查看 | 原始文档 | blame | 历史
static/tabbar/modeld.png 补丁 | 查看 | 原始文档 | blame | 历史
static/tabbar/wtd.png 补丁 | 查看 | 原始文档 | blame | 历史
store/index.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uni_modules/m-tabbar/components/m-tabbar/m-tabbar.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/css/index.css
@@ -98,8 +98,9 @@
.flooer {
    width: 100vw;
    min-height: 128rpx;
    background: #323552;
    border-radius: 32rpx 32rpx 0 0;
    background: #fff;
    border-radius: 32rpx 32rpx 0 0;
    box-shadow: 0 -1 4px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
@@ -110,19 +111,18 @@
}
.flooer_l {
    width: 540rpx;
    /* height: 68rpx; */
    margin-left: 32rpx;
    width: 100%;
    margin: 20rpx 0 20rpx 32rpx;
    border-radius: 40rpx;
    border:2rpx solid #F6F7FB;
    background: #323552;
    border:2rpx solid rgba(0, 0, 0, 0.36);
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 30rpx;
}
.flooer_l>.u-textarea {
    background: #323552 !important;
    background: #fff !important;
    text-align: justify;
    padding: 16rpx 0;
    line-height: 1.2;
manifest.json
@@ -83,6 +83,6 @@
                "enable" : false
            }
        },
        "title" : "GPT专业版"
        "title" : "Chat Fox"
    }
}
pages.json
@@ -103,7 +103,7 @@
    ],
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "AI智税",
        "navigationBarTitleText": "Chat Fox",
        "navigationBarBackgroundColor": "#F8F8F8",
        "backgroundColor": "#F8F8F8"
    },
pages/index/chat.vue
@@ -1,11 +1,11 @@
<template>
    <view class="content">
        <u-navbar :bgColor="'#17181D'" placeholder :title="now_model.title" :titleStyle ="'color: #fff;'">
        <u-navbar :bgColor="'#302cd9'" placeholder :title="now_model.title" :titleStyle ="'color: #fff;'">
            <view slot="left">
                <u-icon @click="showLeftList = true" name="list" size="24" color="#fff"></u-icon>
                <u-icon @click="showLeftList = true" name="list" size="16" color="#fff"></u-icon>
            </view>
            <view @click="create_newChat" slot="right">
                <u-icon name="plus" size="24" color="#fff"></u-icon>
                <u-icon name="plus" size="16" color="#fff"></u-icon>
            </view>
        </u-navbar>
        <view class="body">
@@ -21,7 +21,7 @@
                            <zero-markdown-view :markdown="item.content"></zero-markdown-view>
                        </view>
                        <view style="position: absolute;right: 0;bottom: 10rpx;">
                            <u-icon @click="copy(item)" name="file-text-fill" size="30"></u-icon>
                            <u-icon @click="copy(item)" name="file-text-fill" size="24" color="#302cd9"></u-icon>
                        </view>
                    </view>
                </view>
@@ -473,12 +473,8 @@
</script>
<style lang="scss">
    page {
        background-color: #17181d;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
    @import url("@/static/style/color-ui.css");
    .safebottom {
        padding-bottom: calc(112rpx + env(safe-area-inset-bottom));
    }
@@ -591,10 +587,12 @@
<style scoped>
    .border_radius_l{
        border-top-left-radius:0;
        background: #30324f;
        background: #fff;
        color: #222;
    }
    .border_radius_r{
        border-top-right-radius:0;
        background: #54c867;
        background: #fff;
        color: #222;
    }
</style>
pages/index/home.vue
@@ -11,7 +11,7 @@
            </view>
        </view>
        <view class="flex justify-center align-center flex-direction">
            <button @click="toChat" style="width: calc(100vw - 60rpx); height: 100rpx;" class="cu-btn lines-cyan text-bold round">
            <button @click="toChat" style="width: calc(100vw - 60rpx); height: 100rpx;" class="cu-btn text-bold chat-button">
                开始咨询 (余{{num}}次) </button>
        </view>
        <view class="tool padding-top-xl">
@@ -139,19 +139,14 @@
        }
    }
</script>
<style>
    /*每个页面公共css */
    @import url("@/static/style/color-ui.css");
</style>
<style>
    page {
        background-color: #17181d;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
</style>
<style lang="scss">
    @import url("@/static/style/color-ui.css");
    .chat-button{
        background: #302cd9 !important;
        color: #fff;
    }
    .tool {
        width: calc(100vw - 60rpx);
        margin: 15rpx auto;
pages/index/index.vue
@@ -355,14 +355,6 @@
</script>
<style>
    page {
        background-color: #17181d;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
</style>
<style>
    @import '../../components/css/index.css';
</style>
<style scoped>
pages/index/write.vue
@@ -291,16 +291,12 @@
    }
</script>
<style>
    .uni-input-input{
        color: #fff !important;
    }
</style>
<style lang="scss">
    @import url("@/static/style/color-ui.css");
    .input-text{
        border-radius: 22rpx;
        background: #30324f;
        background: #ecf4fd;
        border: none;
        padding: 20rpx 24rpx !important;
        margin-bottom: 20rpx;
@@ -357,7 +353,6 @@
</style>
<style>
    @import url("@/static/style/color-ui.css");
    .template-card {
        background: #30324F;
pages/loading/loading.vue
@@ -34,13 +34,13 @@
                        "selectedIconPath": "static/tabbar/qad.png"
                    },
                    chat: {
                        text: '开始聊天',
                        text: '聊天',
                        "pagePath": "/pages/index/chat",
                        "iconPath": "static/tabbar/c.png",
                        "selectedIconPath": "static/tabbar/cd.png"
                    },
                    write: {
                        text: 'AI创作',
                        text: '创作教学',
                        "pagePath": "/pages/index/write",
                        "iconPath": "static/tabbar/wt.png",
                        "selectedIconPath": "static/tabbar/wtd.png"
pages/mine/mine.vue
@@ -341,14 +341,6 @@
        // width: 100%;
    }
</style>
<style>
    page {
        background-color: #17181d;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
</style>
<style lang="scss">
    .head-bg {
        .user-info {
pages/tab/assistant.vue
@@ -139,12 +139,7 @@
</script>
<style lang="scss">
    page {
        background-color: #17181d;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
    @import url("@/static/style/color-ui.css");
    .form {
        border-bottom-left-radius: 30rpx;
@@ -306,12 +301,6 @@
    }
</style>
<style scoped>
    page {
        background-color: #15151f;
        box-sizing: border-box;
        letter-spacing: 0;
        word-wrap: break-word;
    }
    .banner{
        width: 100vw;
        height: calc(100vw * 0.324);
static/style/color-ui.css
@@ -5,7 +5,10 @@
 ==================== */
page {
  background: #17181D;
  background: #ecf4fd;
  box-sizing: border-box;
  letter-spacing: 0;
  word-wrap: break-word;
  font-size: 28rpx;
  color: #333;
  font-family: Helvetica Neue, Helvetica, sans-serif;
static/tabbar/cd.png

static/tabbar/homed.png

static/tabbar/mined.png

static/tabbar/modeld.png

static/tabbar/wtd.png

store/index.js
@@ -16,12 +16,12 @@
        models: [],
        is_loaded: false,
        tabbar: {
            "selectedColor": "#01e681",
            "color": "#848597",
            "selectedColor": "#302cd9",
            "color": "#afbdca",
            "fontSize": "16",
            "list": [
                {
                    "text": "模型切换",
                    "text": "AI创作",
                    "pagePath": "pages/tab/assistant",
                    "iconPath": "static/tabbar/model.png",
                    "selectedIconPath": "static/tabbar/modeld.png"
uni_modules/m-tabbar/components/m-tabbar/m-tabbar.vue
@@ -195,7 +195,7 @@
                if (reload) {}
                return obj2strStyle({
                    'height': `${tabbarHeight}rpx`,
                    'background-color': backgroundColor || '#323552',
                    'background-color': backgroundColor || '#fff',
                })
            },
            tabbarItemStyle() {