fix(环境配置): 更新开发环境API地址
style(ETF页面): 调整样式布局和导航方法 - 修改indexEtfInfo.vue的返回方法为doBack - 优化indexEtf.vue的搜索框和列表样式 - 统一组件属性换行格式
This commit is contained in:
parent
1e56d7c8f9
commit
62a3180714
|
|
@ -2,10 +2,10 @@
|
||||||
ENV = development
|
ENV = development
|
||||||
|
|
||||||
# 本地环境接口地址
|
# 本地环境接口地址
|
||||||
VITE_API_URL = http://123.60.153.169:8040/apih5
|
# VITE_API_URL = http://123.60.153.169:8040/apih5
|
||||||
# VITE_API_URL = http://4155gf93ll13.vicp.fun/apih5
|
VITE_API_URL = http://4155gf93ll13.vicp.fun/apih5
|
||||||
# VITE_API_URL = http://123.60.79.143:8041/apih5
|
# VITE_API_URL = http://123.60.79.143:8041/apih5
|
||||||
# VITE_API_URL =http://localhost:8040/apih5
|
# VITE_API_URL =http://192.168.0.135:8040/apih5
|
||||||
# VITE_API_URL = https://cankao.cs.com.cn/apih5
|
# VITE_API_URL = https://cankao.cs.com.cn/apih5
|
||||||
|
|
||||||
VITE_API_DATAV_URL = https://cankao.cs.com.cn/zzck_datav
|
VITE_API_DATAV_URL = https://cankao.cs.com.cn/zzck_datav
|
||||||
|
|
@ -110,8 +110,7 @@
|
||||||
:show="LoginShow"
|
:show="LoginShow"
|
||||||
@handlePopupClose="handlePopupClose"
|
@handlePopupClose="handlePopupClose"
|
||||||
@handlePopupSuccessCallback="handlePopupSuccessCallback"
|
@handlePopupSuccessCallback="handlePopupSuccessCallback"
|
||||||
@handlePopupErrorCallback="handlePopupErrorCallback"
|
@handlePopupErrorCallback="handlePopupErrorCallback" />
|
||||||
/>
|
|
||||||
|
|
||||||
<u-calendar
|
<u-calendar
|
||||||
:show="calendarShow"
|
:show="calendarShow"
|
||||||
|
|
@ -122,8 +121,7 @@
|
||||||
monthNum="12"
|
monthNum="12"
|
||||||
:key="chooseDate.startDate"
|
:key="chooseDate.startDate"
|
||||||
@confirm="calendarConfirm"
|
@confirm="calendarConfirm"
|
||||||
@close="calendarShow = false"
|
@close="calendarShow = false">
|
||||||
>
|
|
||||||
</u-calendar>
|
</u-calendar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<view class="list_content">
|
<view class="list_content">
|
||||||
<!-- 搜索 start -->
|
<!-- 搜索 start -->
|
||||||
<view class="r_sreach">
|
<view class="r_sreach">
|
||||||
<view class="sreach">
|
<view class="sreach" style="height: 72rpx">
|
||||||
<u-search v-model="form.keyword" placeholder="搜索资讯" @search="onSreach" @custom="onSreach" />
|
<u-search v-model="form.keyword" placeholder="搜索资讯" @search="onSreach" @custom="onSreach" />
|
||||||
<!-- <view class="sreach_icon">
|
<!-- <view class="sreach_icon">
|
||||||
<image :src="icon_search"></image>
|
<image :src="icon_search"></image>
|
||||||
|
|
@ -76,8 +76,7 @@
|
||||||
:show="LoginShow"
|
:show="LoginShow"
|
||||||
@handlePopupClose="handlePopupClose"
|
@handlePopupClose="handlePopupClose"
|
||||||
@handlePopupSuccessCallback="handlePopupSuccessCallback"
|
@handlePopupSuccessCallback="handlePopupSuccessCallback"
|
||||||
@handlePopupErrorCallback="handlePopupErrorCallback"
|
@handlePopupErrorCallback="handlePopupErrorCallback" />
|
||||||
/>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -297,20 +296,29 @@ onMounted(async () => {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
|
||||||
background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
|
// margin-top: -70px;
|
||||||
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
// padding: 10rpx 30rpx;
|
||||||
margin-top: -70px;
|
background-color: #f3f5f8;
|
||||||
padding: 10rpx 30rpx;
|
// background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
|
||||||
|
|
||||||
background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
|
|
||||||
// min-height: 80vh;
|
// min-height: 80vh;
|
||||||
|
|
||||||
.r_sreach {
|
.r_sreach {
|
||||||
width: 100%;
|
position: relative;
|
||||||
height: 72rpx;
|
z-index: 99999;
|
||||||
|
|
||||||
|
margin-top: -120rpx;
|
||||||
|
|
||||||
|
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
||||||
|
// width: 100%;
|
||||||
|
height: 120rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 30rpx;
|
// margin-top: 30rpx;
|
||||||
|
padding-top: 30rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
background-color: white;
|
||||||
|
background-image: linear-gradient(to bottom, white 60rpx, #f3f5f8);
|
||||||
|
// background: linear-gradient(to bottom, #ffffff 0%, #f3f5f8 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sreach {
|
.sreach {
|
||||||
|
|
@ -360,6 +368,11 @@ onMounted(async () => {
|
||||||
margin-left: 10rpx;
|
margin-left: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.r_list {
|
||||||
|
padding: 10rpx 30rpx;
|
||||||
|
margin-top: -30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.item_top {
|
.item_top {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 40rpx;
|
margin-top: 40rpx;
|
||||||
|
|
@ -390,12 +403,13 @@ onMounted(async () => {
|
||||||
// height: 334rpx;
|
// height: 334rpx;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
padding: 20rpx 30rpx;
|
padding: 30rpx 30rpx;
|
||||||
|
|
||||||
.card_left {
|
.card_left {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-top: 25rpx;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 8rpx;
|
width: 8rpx;
|
||||||
|
|
@ -416,6 +430,7 @@ onMounted(async () => {
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
|
gap: 10rpx;
|
||||||
|
|
||||||
.item_time {
|
.item_time {
|
||||||
font-family: PingFangSC, PingFang SC;
|
font-family: PingFangSC, PingFang SC;
|
||||||
|
|
@ -427,7 +442,7 @@ onMounted(async () => {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: -8rpx;
|
margin-top: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item_title {
|
.item_title {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="index-etf-info">
|
<div class="index-etf-info">
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<view class="vipHeader">
|
<view class="vipHeader">
|
||||||
<view class="flashBack" @click="back">
|
<view class="flashBack" @click="doBack">
|
||||||
<u-icon size="20" name="arrow-left" color="#000"></u-icon>
|
<u-icon size="20" name="arrow-left" color="#000"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view style="display: flex; flex-direction: column">
|
<view style="display: flex; flex-direction: column">
|
||||||
|
|
@ -112,6 +112,12 @@ function goDetail(item, index) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function doBack() {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const name = ref("");
|
const name = ref("");
|
||||||
const code = ref("");
|
const code = ref("");
|
||||||
onLoad((option) => {
|
onLoad((option) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue