wujingjing
2024-08-09 fc3906e080b2204648ee83ee9a1db1584f818f4e
tab bar
已删除8个文件
已修改4个文件
已添加6个文件
35 ■■■■ 文件已修改
miniprogram/app.json 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/app.scss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/cart-active.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/cart.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/cate-active.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/cate.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/index-active.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/index.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/my-active.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/my.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/wenda-selected.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/wenda.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/wode-selected.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/wode.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/yingyongchengxu-selected.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/assets/tabbar/yingyongchengxu.png 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/pages/question/question.scss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/pages/question/question.wxml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
miniprogram/app.json
@@ -19,19 +19,26 @@
    "navigationBarTextStyle": "black"
  },
  "tabBar": {
    "custom": true,
    "color": "#333333",
    "selectedColor": "#1c86ff",
    "list": [
      {
        "pagePath": "pages/question/question",
        "text": "问答"
        "text": "问答",
        "iconPath": "assets/tabbar/wenda.png",
        "selectedIconPath": "assets/tabbar/wenda-selected.png"
      },
      {
        "pagePath": "pages/scene/scene",
        "text": "场景"
        "text": "场景",
        "iconPath": "assets/tabbar/yingyongchengxu.png",
        "selectedIconPath": "assets/tabbar/yingyongchengxu-selected.png"
      },
      {
        "pagePath": "pages/my/my",
        "text": "我的"
        "text": "我的",
        "iconPath": "assets/tabbar/wode.png",
        "selectedIconPath": "assets/tabbar/wode-selected.png"
      }
    ]
  },
miniprogram/app.scss
@@ -5,9 +5,10 @@
page {
  --tab-bar-height:90rpx;
  // --tab-bar-height:90rpx;
  background-color: white !important;
  height: calc(100% - var(--tab-bar-height));
  // height: calc(100% - var(--tab-bar-height));
  height: 100%;
}
.container {
miniprogram/assets/tabbar/cart-active.png
Binary files differ
miniprogram/assets/tabbar/cart.png
Binary files differ
miniprogram/assets/tabbar/cate-active.png
Binary files differ
miniprogram/assets/tabbar/cate.png
Binary files differ
miniprogram/assets/tabbar/index-active.png
Binary files differ
miniprogram/assets/tabbar/index.png
Binary files differ
miniprogram/assets/tabbar/my-active.png
Binary files differ
miniprogram/assets/tabbar/my.png
Binary files differ
miniprogram/assets/tabbar/wenda-selected.png
miniprogram/assets/tabbar/wenda.png
miniprogram/assets/tabbar/wode-selected.png
miniprogram/assets/tabbar/wode.png
miniprogram/assets/tabbar/yingyongchengxu-selected.png
miniprogram/assets/tabbar/yingyongchengxu.png
miniprogram/pages/question/question.scss
@@ -104,3 +104,10 @@
  }
}
.van-field{
  .van-icon-replay{
    font-size: 40rpx;
  }
}
miniprogram/pages/question/question.wxml
@@ -52,12 +52,12 @@
    </scroll-view>
  </view>
  <view class="flex-0 flex-items-center py-20" style="background-color: #f4f6f8;">
    <text class="font35 ywicon icon-fenxiang flex-0 mx-15"></text>
    <van-field left-icon="replay" custom-class="py-3 flex-items-center" input-class="ml-10" type="textarea" autosize placeholder="在这里输入你的问题" class="flex-auto" model:value="{{sendText}}" bind:change="onSendTextChange"></van-field>
    <text class="font35 ywicon {{!sendText? 'icon-dianhua1':'icon-fasongxiaoxi'}} flex-0 mx-15" bind:tap="inputRighBtnClick"></text>
    <text class="font46 ywicon icon-fenxiang flex-0 mx-15"></text>
    <van-field left-icon="replay" custom-class="py-3 flex-items-center van-field" input-class="ml-10" type="textarea" autosize placeholder="在这里输入你的问题" class="flex-auto" model:value="{{sendText}}" bind:change="onSendTextChange" size="large"></van-field>
    <text class="font45 ywicon {{!sendText? 'icon-dianhua1':'icon-fasongxiaoxi'}} flex-0 mx-15" bind:tap="inputRighBtnClick"></text>
  </view>
  <fui-drawer model:show="{{drawerIsShow}}" direction="left">
    <view class="w-450 flex flex-col relative" style="height: calc(100% - 90rpx)">
    <view class="w-450 flex flex-col relative h-full" >
      <text class="ywicon icon-guanbi absolute right-10 top-10" bindtap="drawerCloseClick"></text>
      <view class="p-15 flex flex-col justify-between" style="background-color: #e8f0fd;">
        <view class="flex-items-center">