Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
610b1f34
Commit
610b1f34
authored
Aug 19, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
731b4724
c51dac8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
12 deletions
+27
-12
building.vue
src/pages/assistingAgriculture/index/building.vue
+18
-9
loading.vue
src/pages/index/loading.vue
+2
-2
order.vue
src/pages/order/order.vue
+7
-1
No files found.
src/pages/assistingAgriculture/index/building.vue
View file @
610b1f34
...
...
@@ -155,6 +155,7 @@ import fab from '../../../components/fab/fab.vue';
import
{
getGoodSaleProdList
,
getPlatformProdList
,
getPresaleList
,
}
from
'../../../api/assistingAgriculture/building'
;
import
{
getshoppingCartList
}
from
'@/api/packageDetail'
;
import
{
onMounted
,
ref
}
from
'vue'
;
...
...
@@ -167,13 +168,11 @@ const light = ref(0);
const
hotImgList
=
ref
([]);
const
testData
=
ref
([]);
const
subscript
=
ref
(
0
);
let
sortData
;
// 轮播图数据
let
lunboData
;
// 轮播图
const
swiperList
=
ref
([
'../../../static/assistingAgriculture/assets/village.png'
,
'../../../static/assistingAgriculture/assets/village.png'
,
'../../../static/assistingAgriculture/assets/village.png'
,
]);
const
swiperList
=
ref
([]);
// 分类列表数据
const
detailList
=
ref
([]);
const
whh
=
ref
({});
...
...
@@ -190,11 +189,23 @@ const params1 = {
const
filteredProdList
=
ref
([]);
onMounted
(
async
()
=>
{
getPresale
();
getGoodSaleProd
();
platformProdList
();
getshoppingCartListFn
();
});
// 筑农板块轮播图
const
getPresale
=
()
=>
{
getPresaleList
({
place
:
'znyx'
}).
then
((
res
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
});
lunboData
=
res
.
data
;
swiperList
.
value
=
res
.
data
.
map
((
item
)
=>
{
return
item
.
imgUrl
;
});
});
};
// 搜索
const
toSearch
=
()
=>
{
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage?prodTypes=7'
});
...
...
@@ -282,8 +293,6 @@ page {
.container
{
position
:
relative
;
left
:
0rpx
;
top
:
-45rpx
;
opacity
:
1
;
}
.top
{
width
:
750rpx
;
...
...
src/pages/index/loading.vue
View file @
610b1f34
...
...
@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index';
import
{
getToken
}
from
'../../utils/auth'
;
onLoad
(
async
(
options
)
=>
{
//
await signIn();
if
(
!
getToken
())
await
signIn2
();
await
signIn
();
//
if (!getToken()) await signIn2();
const
{
type
}
=
options
;
switch
(
type
)
{
case
'0'
:
...
...
src/pages/order/order.vue
View file @
610b1f34
...
...
@@ -41,7 +41,9 @@
{{
iconList
[
item
.
orderType
].
text
}}
</text>
<!--
<image
src=
"@/static/order/shop.png"
/>
-->
<view
class=
"title"
>
{{
item
.
shopName
}}
</view>
<view
class=
"title"
>
{{
item
.
shopName
}}
</view>
</view>
<view
class=
"right"
>
<span
class=
"status"
>
{{
stateList
[
item
.
orderType
][
item
.
status
].
label
}}
</span>
...
...
@@ -798,6 +800,10 @@ page {
color
:
#333
;
font-size
:
32rpx
;
font-family
:
PingFang
SC
;
width
:
420rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment