Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
e8e1990e
Commit
e8e1990e
authored
Aug 17, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
66666
parent
aae0bb15
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
35 deletions
+35
-35
request.js
api/request.js
+2
-2
popup-shengri.vue
components/popup-shengri/popup-shengri.vue
+3
-3
aibenxinrenli.vue
components/quanyi/aibenxinrenli.vue
+2
-2
jinjili.vue
components/quanyi/jinjili.vue
+2
-2
mianfeiwenzhen.vue
components/quanyi/mianfeiwenzhen.vue
+2
-2
xinrenliPopup.vue
components/quanyi/xinrenliPopup.vue
+7
-7
zhuanduanli.vue
components/quanyi/zhuanduanli.vue
+2
-2
Integral.vue
views/Integral.vue
+15
-15
No files found.
api/request.js
View file @
e8e1990e
...
...
@@ -17,9 +17,9 @@ const {
// 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.224.178:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
let
baseUrl
=
"https://momclub.feihe.com/pmall"
;
//生产环境
//
let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
//
const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
const
baseUrl
=
"https://feihe.m.duibatest.com.cn/pmall"
const
request
=
(
options
=
{})
=>
{
// 在这里可以对请求头进行一些设置
...
...
components/popup-shengri/popup-shengri.vue
View file @
e8e1990e
...
...
@@ -6,11 +6,11 @@
</view>
<view
:class=
"`content-box sty-$
{type}`">
<view
class=
"box-2"
>
<image
:src=
"
`/static/
shengriPopup/$
{type}-1.png`" >
</image>
<image
:src=
"
`/static/
shengriPopup/$
{type}-2.png`" >
</image>
<image
:src=
"
$baseUrl + `
shengriPopup/$
{type}-1.png`" >
</image>
<image
:src=
"
$baseUrl + `
shengriPopup/$
{type}-2.png`" >
</image>
</view>
<view
class=
"box-3"
@
click=
"goUse"
>
<image
:src=
"
`/static/
jingxuan/$
{type}-3.png`" >
</image>
<image
:src=
"
$baseUrl + `
jingxuan/$
{type}-3.png`" >
</image>
</view>
</view>
<view
class=
"content-2"
@
click=
"closeBtn"
>
...
...
components/quanyi/aibenxinrenli.vue
View file @
e8e1990e
<
template
>
<view
class=
"aiben-component"
:style=
"
{
background: `url(
/static/integral/1013
/aibenxinrenliBg${props.index}.png) no-repeat center/contain`,
background: `url(
${$baseUrl}integral/1314
/aibenxinrenliBg${props.index}.png) no-repeat center/contain`,
}">
<!-- 标题区域 -->
<view
class=
"title-section"
>
...
...
@@ -13,7 +13,7 @@
<image
:v-if=
"Number(props.index) === 0"
class=
"bottom-button"
:src=
"
`/static/integral/1013
/aibenxinrenliQushengjiBtn$
{props.index}.png`"
:src=
"
$baseUrl + `integral/1314
/aibenxinrenliQushengjiBtn$
{props.index}.png`"
mode="aspectFit"
@click="handleUpgrade"
/>
...
...
components/quanyi/jinjili.vue
View file @
e8e1990e
<
template
>
<view
class=
"jinjili-component"
:style=
"
{
background: `url(
/static/integral/1013
/jinjiliBg${props.index}.png) no-repeat center/contain`,
background: `url(
${$baseUrl}integral/1314
/jinjiliBg${props.index}.png) no-repeat center/contain`,
}">
<!-- 标题区域 -->
<view
class=
"title-section"
>
...
...
@@ -13,7 +13,7 @@
<image
:v-if=
"Number(props.index) === 0 || Number(props.index) === 1"
class=
"bottom-button"
:src=
"
`/static/integral/1013
/jinjiQushengjiBtn$
{props.index}.png`"
:src=
"
$baseUrl + `integral/1314
/jinjiQushengjiBtn$
{props.index}.png`"
mode="aspectFit"
@click="handleUpgrade"
/>
...
...
components/quanyi/mianfeiwenzhen.vue
View file @
e8e1990e
<
template
>
<view
class=
"mianfei-component"
:style=
"
{
background: `url(
/static/integral/1013
/mianfeiwenzhenBg${props.index}.png) no-repeat center/contain`,
background: `url(
${$baseUrl}integral/1314
/mianfeiwenzhenBg${props.index}.png) no-repeat center/contain`,
}">
<!-- 标题区域 -->
<view
class=
"title-section"
>
...
...
@@ -10,7 +10,7 @@
<!-- 底部按钮 -->
<image
class=
"bottom-button"
:src=
"
`/static/integral/1013
/mianfeiwenzhenQushiyongBtn$
{props.index}.png`"
:src=
"
$baseUrl + `integral/1314
/mianfeiwenzhenQushiyongBtn$
{props.index}.png`"
mode="aspectFit"
@click="handleUseNow"
/>
...
...
components/quanyi/xinrenliPopup.vue
View file @
e8e1990e
<
template
>
<view
class=
"xinrenli-component"
:style=
"
{
background: `url(
/static/integral/1013
/xinrenliBg${props.index}.png) no-repeat center/contain`,
background: `url(
${$baseUrl}integral/1314
/xinrenliBg${props.index}.png) no-repeat center/contain`,
}">
<!-- 标题区域 -->
<view
class=
"title-section"
>
...
...
@@ -16,7 +16,7 @@
<view
class=
"coupon-item"
@
click=
"handleCouponClick(0)"
>
<image
class=
"coupon-img"
src=
"/static/integral/1013/xirenliQuan00.png
"
:src=
"$baseUrl + `integral/1314/xirenliQuan$
{props.index}0.png`
"
mode="aspectFit"
/>
</view>
...
...
@@ -24,7 +24,7 @@
<view
class=
"coupon-item"
@
click=
"handleCouponClick(1)"
>
<image
class=
"coupon-img"
src=
"/static/integral/1013/xirenliQuan01.png
"
:src=
"$baseUrl + `integral/1314/xirenliQuan$
{props.index}1.png`
"
mode="aspectFit"
/>
</view>
...
...
@@ -32,7 +32,7 @@
<view
class=
"coupon-item"
@
click=
"handleCouponClick(2)"
>
<image
class=
"coupon-img"
src=
"/static/integral/1013/xirenliQuan02.png
"
:src=
"$baseUrl + `integral/1314/xirenliQuan$
{props.index}2.png`
"
mode="aspectFit"
/>
</view>
...
...
@@ -43,7 +43,7 @@
<view
class=
"coupon-item"
@
click=
"handleCouponClick(3)"
>
<image
class=
"coupon-img"
src=
"/static/integral/1013/xirenliQuan03.png
"
:src=
"$baseUrl + `integral/1314/xirenliQuan$
{props.index}3.png`
"
mode="aspectFit"
/>
</view>
...
...
@@ -51,7 +51,7 @@
<view
class=
"coupon-item"
@
click=
"handleCouponClick(4)"
>
<image
class=
"coupon-img"
src=
"/static/integral/1013/xirenliQuan04.png
"
:src=
"$baseUrl + `integral/1314/xirenliQuan$
{props.index}4.png`
"
mode="aspectFit"
/>
</view>
...
...
@@ -61,7 +61,7 @@
<!-- 底部按钮 -->
<image
class=
"bottom-button"
:src=
"
`/static/integral/1013
/xinrenliQuxingmaBtn$
{props.index}.png`"
:src=
"
$baseUrl + `integral/1314
/xinrenliQuxingmaBtn$
{props.index}.png`"
mode="aspectFit"
@click="handleGoToShop"
/>
...
...
components/quanyi/zhuanduanli.vue
View file @
e8e1990e
<
template
>
<view
class=
"zhuanduanli-component"
:style=
"
{
background: `url(
/static/integral/1013
/zhuanduanliBg${props.index}.png) no-repeat center/contain`,
background: `url(
${$baseUrl}integral/1314
/zhuanduanliBg${props.index}.png) no-repeat center/contain`,
}">
<!-- 标题区域 -->
<view
class=
"title-section"
>
...
...
@@ -13,7 +13,7 @@
<image
:v-if=
"Number(props.index) === 0"
class=
"bottom-button"
:src=
"
`/static/integral/1013
/zhuanduanliQushengjiBtn$
{props.index}.png`"
:src=
"
$baseUrl + `integral/1314
/zhuanduanliQushengjiBtn$
{props.index}.png`"
mode="aspectFit"
@click="handleUpgrade"
/>
...
...
views/Integral.vue
View file @
e8e1990e
...
...
@@ -44,16 +44,16 @@
@
click=
"handleVipClick"
>
<image
class=
"vip-bg"
:src=
"
`/static/
integral/$
{tupianBanben}/${item?.vipLvBg}`"
:src=
"
$baseUrl + `
integral/$
{tupianBanben}/${item?.vipLvBg}`"
mode="aspectFit"
/>
<image
class=
"vip-icon"
:src=
"
`/static/
integral/$
{tupianBanben}/${item?.vipLvIcon}`"
:src=
"
$baseUrl + `
integral/$
{tupianBanben}/${item?.vipLvIcon}`"
mode="aspectFit"
/>
<image
class=
"current-tag"
v-if=
"memberInfo?.grade === gradeList[index]?.grade"
:src=
"
`/static/
integral/$
{tupianBanben}/${item?.currentLvTip}`"
:src=
"
$baseUrl + `
integral/$
{tupianBanben}/${item?.currentLvTip}`"
mode="aspectFit"
/>
...
...
@@ -85,7 +85,7 @@
<view
class=
"progress-bar-container"
>
<!-- 进度条背景图片 -->
<image
:src=
"
`/static/
integral/$
{tupianBanben}/barBgVip${index}.png`"
:src=
"
$baseUrl + `
integral/$
{tupianBanben}/barBgVip${index}.png`"
class="progress-bar-bg"
mode="aspectFit"
@error="onProgressBarError"
...
...
@@ -93,7 +93,7 @@
<!-- 进度条填充图片 -->
<view
class=
"progress-bar-mask"
>
<image
:src=
"
`/static/
integral/$
{tupianBanben}/barVip${index}.png`"
:src=
"
$baseUrl + `
integral/$
{tupianBanben}/barVip${index}.png`"
class="progress-bar-fill"
mode="aspectFit"
:style="{ transform: `translateX(${(points/gradeList[index]?.gradeScoreRuleMax)*100 -100}%)` }"
...
...
@@ -284,13 +284,13 @@
>
<image
class="
itemBg
"
:src="
`/static/
integral/${tupianBanben
}
/${index === selectIdx ? quanyiBgs[itemIndex]['selectImg'] : (index < quanyiBgs[itemIndex].quanyiNum ? quanyiBgs[itemIndex]['unlockImg'] : quanyiBgs[itemIndex]['lockImg'])
}
`"
:src="
$baseUrl
+
`
integral/${tupianBanben
}
/${index === selectIdx ? quanyiBgs[itemIndex]['selectImg'] : (index < quanyiBgs[itemIndex].quanyiNum ? quanyiBgs[itemIndex]['unlockImg'] : quanyiBgs[itemIndex]['lockImg'])
}
`"
:style="
{
width
:
item
.
width
,
height
:
item
.
height
}
"
mode="
aspectFit
"
/>
<image
class="
privilege
-
icon
"
:src="
`/static/
integral/${tupianBanben
}
/${item?.img
}
`"
:src="
$baseUrl
+
`
integral/${tupianBanben
}
/${item?.img
}
`"
:style="
{
width
:
item
.
width
,
height
:
item
.
height
}
"
mode="
aspectFit
"
@click="
handlePrivilegeClick
(
item
,
index
)
"
...
...
@@ -363,13 +363,13 @@
<image
v-if="
isshowShouqi
"
class="
shouqi
-
quanyi
-
img
"
:src="
`/static/
integral/${tupianBanben
}
/shouqiBtn${itemIndex
}
.png`"
:src="
$baseUrl
+
`
integral/${tupianBanben
}
/shouqiBtn${itemIndex
}
.png`"
mode="
aspectFit
"
/>
<image
v-if="
!
isshowShouqi
"
class="
zhankai
-
quanyi
-
img
"
:src="
`/static/
integral/${tupianBanben
}
/zhankaiBtn${itemIndex
}
.png`"
:src="
$baseUrl
+
`
integral/${tupianBanben
}
/zhankaiBtn${itemIndex
}
.png`"
mode="
aspectFit
"
/>
</view>
...
...
@@ -571,7 +571,7 @@
}
const integralData = ref({
"
tupianBanben
": "
1
013
",
"
tupianBanben
": "
1
314
",
"
swiper
": [
],
"
vipLvInfo
":[
...
...
@@ -686,31 +686,31 @@
"quanyiBgs"
:[
{
"lockImg"
:
"quanyiLockBg0.png"
,
"unlockImg"
:
"quanyiun
l
ockBg0.png"
,
"unlockImg"
:
"quanyiun
L
ockBg0.png"
,
"selectImg"
:
"quanyiSelectBg0.png"
,
"quanyiNum"
:
4
}
,
{
"lockImg"
:
"quanyiLockBg1.png"
,
"unlockImg"
:
"quanyiun
l
ockBg1.png"
,
"unlockImg"
:
"quanyiun
L
ockBg1.png"
,
"selectImg"
:
"quanyiSelectBg1.png"
,
"quanyiNum"
:
6
}
,
{
"lockImg"
:
"quanyiLockBg2.png"
,
"unlockImg"
:
"quanyiun
l
ockBg2.png"
,
"unlockImg"
:
"quanyiun
L
ockBg2.png"
,
"selectImg"
:
"quanyiSelectBg2.png"
,
"quanyiNum"
:
9
}
,
{
"lockImg"
:
"quanyiLockBg3.png"
,
"unlockImg"
:
"quanyiun
l
ockBg3.png"
,
"unlockImg"
:
"quanyiun
L
ockBg3.png"
,
"selectImg"
:
"quanyiSelectBg3.png"
,
"quanyiNum"
:
10
}
,
{
"lockImg"
:
"quanyiLockBg4.png"
,
"unlockImg"
:
"quanyiun
l
ockBg4.png"
,
"unlockImg"
:
"quanyiun
L
ockBg4.png"
,
"selectImg"
:
"quanyiSelectBg4.png"
,
"quanyiNum"
:
10
}
,
...
...
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