Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
+2
-3
@@ -9,7 +9,7 @@ ENV = 'development'
|
||||
# VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786'
|
||||
|
||||
# DEV
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
||||
|
||||
# app入口
|
||||
#VITE_APP_BASE_API_Url = 'http://25.16.122.65:7001'
|
||||
@@ -19,5 +19,4 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
# h5专用地址
|
||||
|
||||
|
||||
VITE_APP_BASE_H5_API_Url = 'http://aitstest.jlbank.com.cn:7001'
|
||||
|
||||
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.66:9786'
|
||||
Executable
BIN
Binary file not shown.
@@ -1,8 +1,10 @@
|
||||
<template>
|
||||
<view class="course-item-box" @click="clickItem">
|
||||
<view class="img-box-view">
|
||||
<ImagePreview class="img-box" :imgId="itemInfo.imgId" :isCache="true" width="340" height="340"></ImagePreview>
|
||||
|
||||
<ImagePreview class="img-box" :imgId="itemInfo.imgId" :isCache="true" width="340" height="340" mode="aspectFill"></ImagePreview>
|
||||
<view class="item-grade">{{itemInfo.evalGrade}}</view>
|
||||
<!-- <image class="item-grade" mode="aspectFill"></view> -->
|
||||
</view>
|
||||
<view class="cont-box">
|
||||
<view class="item-title">{{itemInfo.crsName}}</view>
|
||||
@@ -78,6 +80,7 @@
|
||||
position: relative;
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 10rpx #c3c3c3;
|
||||
.img-box{
|
||||
width: 170rpx;
|
||||
height: 170rpx;
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const windowInfo = uni.getWindowInfo()
|
||||
|
||||
const props = defineProps({
|
||||
is_fixed: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<view class="body-title">
|
||||
<!-- @click="test.testApi" -->
|
||||
<uv-icon class="arrow-icon" name="arrow-left" @click="common.switchTab('/pages/index/index')"/>
|
||||
课程中心
|
||||
AI学习
|
||||
</view>
|
||||
<view class="input-view" @click="toSearchPage">
|
||||
<uv-input shape="circle"
|
||||
@@ -160,7 +160,11 @@ import { onShow } from "@dcloudio/uni-app"
|
||||
const tagsTree = ref([])
|
||||
|
||||
const showFilterList = ref(false)
|
||||
const {
|
||||
statusBarHeight
|
||||
} = uni.getWindowInfo()
|
||||
|
||||
const pageTopPadding = computed(() => statusBarHeight + 'px')
|
||||
// 点击标签
|
||||
const chooseTag = (item)=>{
|
||||
activeTag.value = item.value
|
||||
@@ -187,6 +191,7 @@ import { onShow } from "@dcloudio/uni-app"
|
||||
let _reqListN = _arr.filter(t=>t.required === "N")
|
||||
return _reqList.concat(_reqListN)
|
||||
})
|
||||
|
||||
const courseListBase = ref([])
|
||||
const courseList = computed(()=>{
|
||||
return activeTag.value
|
||||
@@ -326,11 +331,14 @@ import { onShow } from "@dcloudio/uni-app"
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-top: v-bind(pageTopPadding);
|
||||
// padding-top: var(--status-bar-height);
|
||||
.body-title{
|
||||
height: 150rpx;
|
||||
height: 90rpx;
|
||||
// background-color: red;
|
||||
text-align: center;
|
||||
font-size: 33rpx;
|
||||
padding-top: 70rpx;
|
||||
padding-top: 10rpx;
|
||||
line-height: 46rpx;
|
||||
box-sizing: border-box;
|
||||
font-weight: 500;
|
||||
@@ -340,7 +348,7 @@ import { onShow } from "@dcloudio/uni-app"
|
||||
.arrow-icon{
|
||||
position: absolute;
|
||||
left:36rpx;
|
||||
top:80rpx;
|
||||
top:20rpx;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,17 +180,9 @@ const flagVal = ref('1')
|
||||
const isUploadingVoice = ref(false)
|
||||
|
||||
const {
|
||||
// windowWidth,
|
||||
// windowHeight,
|
||||
// windowTop,
|
||||
statusBarHeight,
|
||||
screenTop,
|
||||
safeArea,
|
||||
// screenHeight,
|
||||
// safeAreaInsets
|
||||
statusBarHeight
|
||||
} = uni.getWindowInfo()
|
||||
|
||||
console.log(safeArea,screenTop,statusBarHeight)
|
||||
const pageTopPadding = computed(() => statusBarHeight + 'px')
|
||||
|
||||
// 初始化数据
|
||||
@@ -941,7 +933,7 @@ const chooseRateNow = (item) => {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 20rpx;
|
||||
top: calc(v-bind(pageTopPadding) + 8rpx);
|
||||
top: calc(v-bind(pageTopPadding) - 12rpx);
|
||||
font-size: 26rpx;
|
||||
width: 140rpx;
|
||||
height: 92rpx;
|
||||
@@ -976,10 +968,10 @@ const chooseRateNow = (item) => {
|
||||
flex-direction: column;
|
||||
padding-top: v-bind(pageTopPadding);
|
||||
.body-title{
|
||||
height: 110rpx;
|
||||
height: 90rpx;
|
||||
text-align: center;
|
||||
font-size: 33rpx;
|
||||
padding-top: 30rpx;
|
||||
padding-top: 10rpx;
|
||||
line-height: 46rpx;
|
||||
box-sizing: border-box;
|
||||
font-weight: 500;
|
||||
@@ -989,7 +981,7 @@ const chooseRateNow = (item) => {
|
||||
.arrow-icon{
|
||||
position: absolute;
|
||||
left:21rpx;
|
||||
top:25rpx;
|
||||
top:5rpx;
|
||||
color: #000;
|
||||
padding: 15rpx;
|
||||
// background-color: red;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<view class="max_page ">
|
||||
<view class="max_page">
|
||||
<nav-bar :is_seat="false" :backgroundColor="bgOpacity"></nav-bar>
|
||||
<scroll-view :scroll-y="true" class="scroll detail-main" @scroll="scroll_fun" @scrolltolower="scrolltolower">
|
||||
<view class="bg_div">
|
||||
<image-preview class="img_100 " :imgId="form.imgId" mode="widthFix"></image-preview>
|
||||
<image-preview class="img_100" :imgId="form.imgId" mode="widthFix"></image-preview>
|
||||
</view>
|
||||
<view class="back_div" @click="common.navigateBack()">
|
||||
<view class="back-icon"></view>
|
||||
@@ -183,7 +183,7 @@
|
||||
margin-right: 10rpx;
|
||||
position: fixed;
|
||||
left: 25rpx;
|
||||
top: 45rpx;
|
||||
top: var(--status-bar-height) ;
|
||||
// background-color: red;
|
||||
// width: 60rpx;
|
||||
// height: 60rpx;
|
||||
|
||||
+19
-10
@@ -5,13 +5,14 @@
|
||||
<view class="bot-bg"></view>
|
||||
<scroll-view class="index-dialog-body" :scroll-y="true" upper-threshold="0" refresher-enabled="true"
|
||||
refresher-default-style="none" @refresherrefresh="scrolltolower">
|
||||
<view class="seek-setting">
|
||||
<image src="@/static/images/dialog/new-dialog.png" alt="" class="image-icon-new"></image>
|
||||
<image src="@/static/images/dialog/history.png" alt="" class="image-icon"></image>
|
||||
</view>
|
||||
|
||||
<view class="body-title">
|
||||
<!-- <uv-icon class="arrow-icon" name="arrow-left" @click="common.navigateBack()"/> -->
|
||||
AI问答
|
||||
<view class="seek-setting">
|
||||
<image src="@/static/images/dialog/new-dialog.png" alt="" class="image-icon-new"></image>
|
||||
<image src="@/static/images/dialog/history.png" alt="" class="image-icon"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ai-info">
|
||||
<!-- <image src="@/static/images/dialog/pet-3.png" alt="" class="image-pet-bg"></image> -->
|
||||
@@ -126,6 +127,11 @@
|
||||
import {
|
||||
queryHotQuestionApi
|
||||
} from "@/api/dialog.js"
|
||||
const {
|
||||
statusBarHeight
|
||||
} = uni.getWindowInfo()
|
||||
|
||||
const pageTopPadding = computed(() => statusBarHeight + 'px')
|
||||
|
||||
const socketStore = useSocketStore()
|
||||
const {
|
||||
@@ -553,14 +559,17 @@
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
padding-top: v-bind(pageTopPadding);
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
|
||||
|
||||
.body-title {
|
||||
height: 140rpx;
|
||||
height: 90rpx;
|
||||
text-align: center;
|
||||
font-size: 33rpx;
|
||||
padding-top: 70rpx;
|
||||
padding-top: 20rpx;
|
||||
|
||||
line-height: 46rpx;
|
||||
box-sizing: border-box;
|
||||
font-weight: 500;
|
||||
@@ -571,7 +580,7 @@
|
||||
.arrow-icon {
|
||||
position: absolute;
|
||||
left: 36rpx;
|
||||
top: 80rpx;
|
||||
top: 30rpx;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
@@ -580,7 +589,7 @@
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 45rpx;
|
||||
top: 68rpx;
|
||||
top: 8rpx;
|
||||
font-size: 26rpx;
|
||||
width: 140rpx;
|
||||
height: 52rpx;
|
||||
@@ -741,7 +750,7 @@
|
||||
}
|
||||
|
||||
.talking-list {
|
||||
height: calc(100% - 832rpx);
|
||||
height: calc(100% - 832rpx + v-bind(pageTopPadding));
|
||||
padding: 12rpx 24rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<!-- 文字logo -->
|
||||
<view class="title_logo">
|
||||
<image src="@/static/images/index/logo_text.png" class="log_img"></image>
|
||||
<image src="@/static/images/index/logo_text.png" class="log_img" mode="heightFix"></image>
|
||||
<view class="fl1"></view>
|
||||
</view>
|
||||
<!-- 搜索框 -->
|
||||
@@ -81,7 +81,7 @@
|
||||
<view class="group">
|
||||
<view class="item" @click="common.switchTab('/pages/course/index')">
|
||||
<image class="icon" src="@/static/images/index/navigation_course.png"></image>
|
||||
<view class="title">课程中心</view>
|
||||
<view class="title">AI学习</view>
|
||||
</view>
|
||||
<view class="item"
|
||||
@click="common.navigateTo('/pages/index/dialog',{ animationType: 'slide-in-bottom'})">
|
||||
@@ -89,7 +89,7 @@
|
||||
<view class="title">AI问答</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<image class="icon" src="@/static/images/index/navigation_ai.png" @click="ai_test()"></image>
|
||||
<image class="icon" src="@/static/images/index/navigation_ai.png"></image>
|
||||
<view class="title">AI陪练</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
@@ -356,7 +356,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
const index = ref(0)
|
||||
const ai_test = () => {
|
||||
index.value++
|
||||
@@ -372,6 +372,7 @@
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
// 进入搜索页
|
||||
const goto_search_page = () => {
|
||||
common.navigateTo('/pages/search/search')
|
||||
@@ -548,11 +549,10 @@
|
||||
display: flex;
|
||||
margin-top: 106rpx;
|
||||
margin-left: $bg-margin-left;
|
||||
|
||||
.log_img {
|
||||
margin-left: 10rpx;
|
||||
width: 300rpx;
|
||||
height: 46rpx;
|
||||
// width: 300rpx;
|
||||
height: 50rpx;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<image src="/static/images/login/profile.png" class="profile"></image>
|
||||
</view>
|
||||
<view class="title_logo">
|
||||
<image src="/static/images/login/logo_text.png" class="log_img" @click="goTest"></image>
|
||||
<image src="/static/images/login/logo_text.png" mode="heightFix" class="log_img" @click="goTest"></image>
|
||||
<view class="fl1"></view>
|
||||
</view>
|
||||
<view class="title_text_div">
|
||||
@@ -269,7 +269,7 @@ onBackPress(() => back_state.value);
|
||||
margin-top: 120rpx;
|
||||
|
||||
.log_img {
|
||||
width: 380rpx;
|
||||
// width: 380rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 4.5 KiB |
Reference in New Issue
Block a user