页面
Some checks are pending
Auto Merge Main to Other Branches / Merge main into i18n (push) Waiting to run
Auto Merge Main to Other Branches / Merge main into base-sard-ui (push) Waiting to run

This commit is contained in:
sjeam 2025-09-06 10:32:36 +08:00
parent c5a67db7a0
commit 8c0c065dca
4 changed files with 20 additions and 24 deletions

16
env/.env vendored
View File

@ -11,8 +11,8 @@ VITE_APP_PUBLIC_BASE=/
VITE_LOGIN_URL = '/pages/login/index'
# 数字乡村
VITE_SERVER_BASEURL = 'http://test.data-middle.lihaink.cn'
VITE_UPLOAD_BASEURL = 'http://test.data-middle.lihaink.cn/api/upload/image'
VITE_SERVER_BASEURL = 'https://test.data-middle.lihaink.cn'
VITE_UPLOAD_BASEURL = 'https://test.data-middle.lihaink.cn/api/upload/image'
# 商城
VITE_SHOP_SERVER_BASEURL = 'https://shop.lihaink.cn'
@ -24,13 +24,13 @@ VITE_CRMEB_SERVER_BASEURL_LOGIN = 'https://test.shop.lihaink.cn/pages/user/login
# 有些同学可能需要在微信小程序里面根据 develop、trial、release 分别设置上传地址,参考代码如下。
# 下面的变量如果没有设置,会默认使用 VITE_SERVER_BASEURL or VITE_UPLOAD_BASEURL
VITE_SERVER_BASEURL__WEIXIN_DEVELOP = 'http://test.data-middle.lihaink.cn'
VITE_SERVER_BASEURL__WEIXIN_TRIAL = 'http://test.data-middle.lihaink.cn'
VITE_SERVER_BASEURL__WEIXIN_RELEASE = 'http://test.data-middle.lihaink.cn'
VITE_SERVER_BASEURL__WEIXIN_DEVELOP = 'https://test.data-middle.lihaink.cn'
VITE_SERVER_BASEURL__WEIXIN_TRIAL = 'https://test.data-middle.lihaink.cn'
VITE_SERVER_BASEURL__WEIXIN_RELEASE = 'https://test.data-middle.lihaink.cn'
VITE_UPLOAD_BASEURL__WEIXIN_DEVELOP = 'http://test.data-middle.lihaink.cn/upload'
VITE_UPLOAD_BASEURL__WEIXIN_TRIAL = 'http://test.data-middle.lihaink.cn/upload'
VITE_UPLOAD_BASEURL__WEIXIN_RELEASE = 'http://test.data-middle.lihaink.cn/upload'
VITE_UPLOAD_BASEURL__WEIXIN_DEVELOP = 'https://test.data-middle.lihaink.cn/upload'
VITE_UPLOAD_BASEURL__WEIXIN_TRIAL = 'https://test.data-middle.lihaink.cn/upload'
VITE_UPLOAD_BASEURL__WEIXIN_RELEASE = 'https://test.data-middle.lihaink.cn/upload'
# h5是否需要配置代理
VITE_APP_PROXY=true

View File

@ -28,8 +28,8 @@
></wd-swiper>
</view>
<view
class="m-2 absolute top-65 text-center left-0 right-0 bg-gray-200 bg-opacity-60"
style="backdrop-filter: blur(10rpx); border-radius: 20rpx"
class="m-2 absolute top-65 text-center left-0 right-0 bg-gray-200 bg-opacity-70"
style="backdrop-filter: blur(20rpx); border-radius: 20rpx"
>
<view class="content p-2 text-left" style="align-items: normal">
<view class="px-2 flex-content-column">
@ -62,7 +62,7 @@
<view class="p-2">
<wd-card custom-class="card-content m-2">
<view class="m-2 p-2 font-size-4 color-black">场所介绍</view>
<view class="m-2 px-2" style="backdrop-filter: blur(2rpx); border-radius: 10rpx">
<view class="m-2 px-2 pb-2" style="backdrop-filter: blur(2rpx); border-radius: 10rpx">
<!-- <wd-textarea v-html="detail.content" /> -->
<rich-text :nodes="detail.content"></rich-text>
</view>

View File

@ -40,7 +40,6 @@
class="m-2 p-2 absolute bottom-0 text-center left-0 right-0 text-white bg-black bg-opacity-40"
style="backdrop-filter: blur(2rpx); border-radius: 10rpx"
>
<!-- <wd-search hide-cancel placeholder-left placeholder="请输入内容"></wd-search> -->
<text class="block font-size-4 text-left">{{ city }}</text>
<text class="block font-size-3 text-left ellipsis-2">
{{ title }}
@ -202,8 +201,10 @@
class="m-2 p-2 absolute bottom-0 text-center left-0 right-0 text-white bg-gray-300 bg-opacity-5"
style="backdrop-filter: blur(2rpx); border-radius: 10rpx"
>
<text class="block font-size-4 text-left">{{ current_item.title }}</text>
<view class="px-1 font-size-3 ellipsis-2">{{ current_item.description }}</view>
<text class="block font-size-4 text-left ellipsis-2">{{ current_item.title }}</text>
<view class="font-size-3 text-left ellipsis-2">
{{ current_item.description }}
</view>
</view>
</view>
</wd-card>

View File

@ -189,7 +189,7 @@ function more(item) {
color: 'orange',
},
]"
@click="more"
@click="more(item)"
>
<wd-grid-item use-slot>
<view class="p-2">
@ -203,7 +203,7 @@ function more(item) {
</wd-grid>
</wd-card>
</view>
<view class="p-2">
<!-- <view class="p-2">
<wd-card>
<view class="p-2">
<wd-card custom-class="background-none">
@ -211,13 +211,8 @@ function more(item) {
<view class="title">
<view>
<text class="text-sm text-xl font-size-4">本地必备</text>
<text class="ps-2 text-sm text-xl font-size-3 color-gray-500">
<!-- 好物上新季特产抢先购 -->
</text>
<text class="ps-2 text-sm text-xl font-size-3 color-gray-500"></text>
</view>
<!-- <wd-button type="primary" size="small">
<wd-text text="更多" color="#ffffff" size="24rpx"></wd-text>
</wd-button> -->
</view>
</template>
</wd-card>
@ -250,7 +245,7 @@ function more(item) {
color: 'red',
},
]"
@click="more"
@click="more(item)"
>
<wd-grid-item use-slot>
<view class="p-2">
@ -263,7 +258,7 @@ function more(item) {
</view>
</wd-grid>
</wd-card>
</view>
</view> -->
<view class="p-2" />
<!-- <RequestComp />