Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
539ee496
Commit
539ee496
authored
Aug 31, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
五粮液待办弹窗暂存
parent
8edfbf6c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
140 additions
and
6 deletions
+140
-6
package-lock.json
+3
-3
src/App.vue
+2
-2
src/components/common/WLYToDoList.vue
+129
-0
src/pages/home/index.vue
+5
-1
src/pages/home/main.json
+1
-0
No files found.
package-lock.json
View file @
539ee496
...
@@ -5754,9 +5754,9 @@
...
@@ -5754,9 +5754,9 @@
}
}
},
},
"mayi-front-tools"
:
{
"mayi-front-tools"
:
{
"version"
:
"1.0.
1
"
,
"version"
:
"1.0.
3
"
,
"resolved"
:
"https://registry.npmjs.org/mayi-front-tools/-/mayi-front-tools-1.0.
1
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/mayi-front-tools/-/mayi-front-tools-1.0.
3
.tgz"
,
"integrity"
:
"sha512-
xEkLnrY5VDU9ooonUwQyiKcOHuNhGq8MJ7dlNfM3QUlUWmZVxZj5r2Aa8yQI/ukfQdl1p5RUFjmIPfSZRQKMjQ
=="
"integrity"
:
"sha512-
tiMgJbyKBqbHbSApNC7zDok35ETRqu6tssyFwJZvIuwQWaJH8iiGJKOchXvDzjHm8yHiBKRb62FqqWaaG03/Kg
=="
},
},
"md5.js"
:
{
"md5.js"
:
{
"version"
:
"1.3.5"
,
"version"
:
"1.3.5"
,
...
...
src/App.vue
View file @
539ee496
...
@@ -18,8 +18,8 @@ export default {
...
@@ -18,8 +18,8 @@ export default {
let
shopItem
=
{
let
shopItem
=
{
// development: { mixid: "IR8rkL", "shopid": 3813}, //道可测试1
// development: { mixid: "IR8rkL", "shopid": 3813}, //道可测试1
// development: { mixid: "iLntd3", "shopid": 3814}, //道可测试2
// development: { mixid: "iLntd3", "shopid": 3814}, //道可测试2
//
development: { mixid: "ssa", "shopid": 2342}, //五粮液uat
development
:
{
mixid
:
"ssa"
,
"shopid"
:
2342
},
//五粮液uat
development
:
{
mixid
:
"antgood"
,
"shopid"
:
67
},
//
development: { mixid: "antgood", "shopid": 67},
production
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1095
},
// 小工蚁新零售
production
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1095
},
// 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
...
...
src/components/common/WLYToDoList.vue
0 → 100644
View file @
539ee496
<
template
>
<!-- 五粮液-营销端-待办事项 -->
<div
class=
"WLYToDoList"
v-if=
"show"
catchtouchmove=
"ture"
>
<div
class=
"WLYToDoList__bg"
@
click=
"bgHide"
></div>
<div
class=
"WLYToDoList__content"
>
<div
class=
"WLYToDoList__content__title"
>
待办事项
</div>
<div
class=
"WLYToDoList__content__list"
>
<div
class=
"WLYToDoList__content__list__item"
v-for=
"(item,index) in list"
:key=
"index"
@
click=
"toPage(item)"
>
<div
class=
"WLYToDoList__content__list__item__label"
>
{{
item
.
label
}}
</div>
<div
class=
"WLYToDoList__content__list__item__count"
>
{{
item
.
count
}}
项
<i
class=
"iconfont icon-tubiao_jiyao-xiangyou"
></i></div>
</div>
</div>
</div>
</div>
</
template
>
<
script
type=
"text/ecmascript-6"
>
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
""
,
data
()
{
return
{
show
:
true
,
list
:
[
{
id
:
0
,
label
:
"品鉴会商家对接"
,
count
:
0
,
link
:
"https://uat-zanmall-m.cipmp.com/#/pages/advanceOrder/index?getMixId=1&noLogin=true&advanceOrderStatus=reserve"
,
},
{
id
:
0
,
label
:
"餐费待确认"
,
count
:
0
,
link
:
"https://uat-zanmall-m.cipmp.com/#/pages/advanceOrder/index?getMixId=1&noLogin=true&advanceOrderStatus="
,
}
]
}
},
components
:
{},
computed
:
{},
created
()
{
console
.
log
(
'WLYToDoList-created'
)
this
.
init
();
},
mounted
()
{
},
methods
:
{
init
()
{
// 获取待办数据
},
bgHide
()
{
console
.
log
(
"bgHide"
)
this
.
show
=
false
;
},
toPage
(
item
)
{
app
.
$themeToLink
({
key
:
"1.5"
,
link
:
item
.
link
,
name
:
item
.
link
,
type
:
1.2
})
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.WLYToDoList
{
z-index
:
999
;
position
:
fixed
;
width
:
100vw
;
height
:
100%
;
left
:
0
;
bottom
:
0
;
margin
:
0
auto
;
padding
:
0
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
&__bg
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100vw
;
height
:
100%
;
z-index
:
6
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
opacity
:
0.8
;
}
&
__content
{
box-sizing
:
border-box
;
width
:
80%
;
border-radius
:
8px
;
overflow
:
hidden
;
z-index
:
11
;
padding
:
20px
;
background
:
#fff
;
&__title{
text-align
:
center
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#333
;
}
&
__list
{
margin-top
:
10px
;
&__item{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
10px
6px
;
font-size
:
14px
;
color
:
#333
;
&:not(:first-child)
{
border-top
:
1px
solid
#e5e5e5
;
}
&
__count
{
display
:
flex
;
color
:
#e5515b
;
align-items
:
center
;
}
}
}
}
}
</
style
>
src/pages/home/index.vue
View file @
539ee496
...
@@ -153,6 +153,8 @@
...
@@ -153,6 +153,8 @@
<TwoBAddCart></TwoBAddCart>
<TwoBAddCart></TwoBAddCart>
<!-- 麦贝思-客户选择标签 -->
<!-- 麦贝思-客户选择标签 -->
<SWQUserSelectTag
ref=
"SWQUserSelectTag"
></SWQUserSelectTag>
<SWQUserSelectTag
ref=
"SWQUserSelectTag"
></SWQUserSelectTag>
<!-- 五粮液-营销端-弹窗展示待办 -->
<WLYToDoList></WLYToDoList>
</div>
</div>
</template>
</template>
...
@@ -190,6 +192,7 @@ import GoodsFliters from "../../components/common/GoodsFliters";
...
@@ -190,6 +192,7 @@ import GoodsFliters from "../../components/common/GoodsFliters";
import
SelectGoods
from
"../../components/common/SelectGoods"
;
import
SelectGoods
from
"../../components/common/SelectGoods"
;
import
TwoBAddCart
from
"../../components/common/TwoBAddCart"
;
import
TwoBAddCart
from
"../../components/common/TwoBAddCart"
;
import
SWQUserSelectTag
from
"../../components/common/SWQUserSelectTag"
;
import
SWQUserSelectTag
from
"../../components/common/SWQUserSelectTag"
;
import
WLYToDoList
from
"../../components/common/WLYToDoList"
;
import
{
setTabBarActive
,
checkTabbarPage
,
themeColor
,
checkShowConditionIds
,
setStoreInfo
,
getStoreInfo
}
from
"../../utils/mayi.js"
;
import
{
setTabBarActive
,
checkTabbarPage
,
themeColor
,
checkShowConditionIds
,
setStoreInfo
,
getStoreInfo
}
from
"../../utils/mayi.js"
;
import
indexApi
from
"@/api/index.js"
;
import
indexApi
from
"@/api/index.js"
;
import
{
throttle
,
concatUrl
}
from
"../../utils/index.js"
import
{
throttle
,
concatUrl
}
from
"../../utils/index.js"
...
@@ -270,7 +273,8 @@ export default {
...
@@ -270,7 +273,8 @@ export default {
StoreAddr
,
StoreAddr
,
pageLoading
,
pageLoading
,
CustomNav
,
CustomNav
,
SWQUserSelectTag
SWQUserSelectTag
,
WLYToDoList
},
},
computed
:
{
computed
:
{
applySucessEntryFlag
()
{
applySucessEntryFlag
()
{
...
...
src/pages/home/main.json
View file @
539ee496
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"van-tabs"
:
"/static/vant/tabs/index"
,
"van-tabs"
:
"/static/vant/tabs/index"
,
"van-tab"
:
"/static/vant/tab/index"
,
"van-tab"
:
"/static/vant/tab/index"
,
"van-card"
:
"/static/vant/card/index"
,
"van-card"
:
"/static/vant/card/index"
,
"van-popup"
:
"/static/vant/popup/index"
,
"van-loading"
:
"/static/vant/loading/index"
,
"van-loading"
:
"/static/vant/loading/index"
,
"banner"
:
"/static/nativeComponents/Banner/index"
,
"banner"
:
"/static/nativeComponents/Banner/index"
,
"goods-list"
:
"/static/nativeComponents/GoodsList/index"
,
"goods-list"
:
"/static/nativeComponents/GoodsList/index"
,
...
...
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