| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- // namespace app\constants;
- // class MchPickLink
- // {
- // const LIST = [
- // [
- // 'name' => "商城首页",
- // 'link' => "/pages/home/home",
- // 'open_type' => "switchtab",
- // 'params' => []
- // ],
- // [
- // 'name' => "分类",
- // 'link' => "/pages/cat/cat",
- // 'open_type' => "switchtab",
- // 'params' => [
- // [
- // 'key' => "cat_id",
- // 'value' => "",
- // 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- // ]
- // ]
- // ],
- // [
- // 'name' => "购物车",
- // 'link' => "/pages/shoppingcart/shoppingcart",
- // 'open_type' => "switchtab",
- // 'params' => []
- // ],
- // [
- // 'name' => "福利中心",
- // 'link' => "/integral/integral/integral",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "会员中心",
- // 'link' => "/user/member/member_center",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "用户中心",
- // 'link' => "/pages/my/my",
- // 'open_type' => "switchtab",
- // 'params' => []
- // ],
- // [
- // 'name' => "商品列表",
- // 'link' => "/other/list/list",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "cat_id",
- // 'value' => "",
- // 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- // ]
- // ]
- // ],
- // [
- // 'name' => "商品详情",
- // 'link' => "/goods/goods/goods",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "id",
- // 'value' => "",
- // 'desc' => "id请填写在商品列表中相关商品的ID"
- // ]
- // ]
- // ],
- // [
- // 'name' => "所有订单",
- // 'link' => "/pages/order/order?status=-1",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "待付款订单",
- // 'link' => "/pages/order/order?status=0",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "待发货订单",
- // 'link' => "/pages/order/order?status=1",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "待收货订单",
- // 'link' => "/pages/order/order?status=2",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "已完成订单",
- // 'link' => "/pages/order/order?status=3",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "售后订单",
- // 'link' => "/pages/order/order?status=4",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "我的订单",
- // 'link' => "/pages/order/order",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "status",
- // 'value' => 0,
- // 'desc' => "status 请填写订单列表状态, 为空则跳转为 待付款",
- // ]
- // ],
- // ],
- // [
- // 'name' => "店铺商品分类",
- // 'link' => "/mch/shop/shop",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "cat_id",
- // 'value' => "",
- // 'desc' => "cat_id请填写在店铺商品分类中相关分类的ID"
- // ],
- // [
- // 'key' => "tab",
- // 'value' => "2",
- // 'desc' => "tab该数据为默认数据,请勿修改"
- // ]
- // ]
- // ],
- // [
- // 'name' => "店铺首页",
- // 'link' => "/mch/shop/shop?tab=1",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "店铺全部商品",
- // 'link' => "/mch/shop/shop?tab=2",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "店铺新品上架",
- // 'link' => "/mch/shop/shop?tab=3",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "店铺商品分类",
- // 'link' => "/mch/shop-cat/shop-cat",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "cat_id",
- // 'value' => "",
- // 'desc' => "cat_id请填写在店铺商品分类中相关分类的ID"
- // ]
- // ]
- // ],
- // ];
- // public static function getLink()
- // {
- // $link = self::LIST;
- // foreach($link as $key => $val) {
- // $link[$key]['params'][] = [
- // 'key' => "mch_id",
- // 'value' => get_mch_id(),
- // 'desc' => "该数据为入驻商ID,请不要修改"
- // ];
- // }
- // return $link;
- // }
- // }
- /*
- * @Author: your name
- * @Date: 2021-03-02 09:50:20
- * @LastEditTime: 2021-05-21 11:56:14
- * @LastEditors: Please set LastEditors
- * @Description: In User Settings Edit
- * @FilePath: \admin_php\constants\PickLink.php
- */
- namespace app\constants;
- use app\models\NewDiyTemplate;
- use yii\helpers\Json;
- use app\models\Store;
- class MchPickLink
- {
- const LIST = [
- [
- 'name' => '首页',
- 'link' => '/pages/home/home',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '推广二维码',
- 'link' => '/user/share-qrcode/share-qrcode',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '微信会员卡',
- 'link' => '/weChat/card/index',
- 'open_type' => "weChatCart",
- 'params' => []
- ],
- [
- 'name' => '支付宝会员卡',
- 'link' => '/alipay/card/index',
- 'open_type' => "alipayCard",
- 'params' => []
- ],
- [
- 'name' => '我的联盟券',
- 'link' => '/user/new_balance/new_balance',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => 'WIFI',
- 'link' => '/pages/home/wifi',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '素材中心',
- 'link' => '/tools/quickPost/index/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '支付宝支付券',
- 'link' => '/mkt/list/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '新版本DIY',
- 'link' => '/diy/diyNew/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- // [
- // 'name' => '平台首页',
- // 'link' => '/pages/union/home/index',
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => '分类',
- 'link' => '/pages/cat/cat',
- 'open_type' => "switchtab",
- 'params' => [
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- ]
- ]
- ],
- [
- 'name' => '购物车',
- 'link' => '/pages/shoppingcart/shoppingcart',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '付款码',
- 'link' => '/face-pay/face-pay/collection',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '当面付',
- 'link' => '/face-pay/face-pay/payOut',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '签到',
- 'link' => '/integral/signIn/signIn',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '点餐页',
- 'link' => '/alipay-order/orderMeal/orderMeal',
- 'open_type' => 'navigate',
- 'params' => [
- [
- 'key' => "food_table_num",
- 'value' => "",
- 'desc' => "桌号"
- ]
- ],
- ],
- [
- 'name' => '点餐预约',
- 'link' => '/alipay-order/appointment/appointment',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '点餐订单列表',
- 'link' => '/alipay-order/order/list',
- 'open_type' => "navigate",
- 'params' => []
- ],
- // [
- // 'name' => '福利中心',
- // 'link' => '/integral/integral/integral',
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => '会员中心',
- 'link' => '/user/member/member_center',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '我的',
- 'link' => '/pages/my/my',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '商品列表',
- 'link' => '/other/list/list',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- ]
- ]
- ],
- [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- 'cat_type' => '1',
- ]
- ]
- ],
- // [
- // 'name' => "账户设置",
- // 'link' => "/user/my/setting",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => "地址管理",
- 'link' => "/user/my/addressmanage",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "关于我们",
- 'link' => "/user/my/article-detail",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "专题",
- 'link' => "/other/special/special",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "专题详情",
- 'link' => "/other/special/topic",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的专题ID"
- ]
- ]
- ],
- [
- 'name' => "余额",
- 'link' => "/user/balance/balance",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "充值",
- 'link' => "/user/balance/recharge",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "浏览记录",
- 'link' => "/user/history/history",
- 'open_type' => "navigate",
- 'params' => []
- ],
- // [
- // 'name' => "授权手机号",
- // 'link' => "/user/bind_phone/bind_phone",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => "所有订单",
- 'link' => "/order/order/order?status=-1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待付款订单",
- 'link' => "/order/order/order?status=0",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待发货订单",
- 'link' => "/order/order/order?status=1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待收货订单",
- 'link' => "/order/order/order?status=2",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "已完成订单",
- 'link' => "/order/order/order?status=3",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "售后订单",
- 'link' => "/order/order-refund-list/order-refund-list",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "领券中心",
- 'link' => "/other/coupon_center/coupon_center",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "我的优惠券",
- 'link' => "/user/my_coupon/my_coupon",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "我的核销卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "1",
- 'desc' => "我的核销卡"
- ],
- ]
- ],
- [
- 'name' => "我的礼品卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "2",
- 'desc' => "我的礼品卡"
- ],
- ]
- ],
- [
- 'name' => "我的储值卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "3",
- 'desc' => "我的储值卡"
- ],
- ]
- ],
- [
- 'name' => "我的卡密卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "4",
- 'desc' => "我的卡密卡"
- ],
- ]
- ],
- [
- 'name' => "我的视频卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "5",
- 'desc' => "我的视频卡"
- ],
- ]
- ],
- // [
- // 'name' => "我的卡券",
- // 'link' => "/user/my_card_coupon/my_card_coupon",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => "分销中心",
- 'link' => "/user/share/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "搜索",
- 'link' => "/pages/search/search",
- 'open_type' => "navigate",
- 'params' => []
- ],
- // [
- // 'name' => "申请自提点",
- // 'link' => "/pages/shop/apply",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "自提点后台",
- // 'link' => "/pages/shop/admin",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "附近门店",
- // 'link' => "/pages/shop-nearby/shop-nearby",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "附近店铺",
- // 'link' => "/pages/shop-list/shop-list",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "入驻商",
- // 'link' => "/mch/admin/home/home",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- // [
- // 'name' => "后台管理",
- // 'link' => "/admin/home/home",
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- [
- 'name' => "我的收藏",
- 'link' => "/user/collection/collection",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "小程序直播",
- 'link' => "/wxlive/live/live",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "门店中心",
- 'link' => "/md_admin/md-center/md",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "申请门店",
- 'link' => "/md_admin/apply-md/apply",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "门店员工中心",
- 'link' => "/md_admin/staff-center/staff",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "申请股东",
- 'link' => "/shareholder/apply/apply",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "股东中心",
- 'link' => "/shareholder/shareholder/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '一键拨号',
- 'link' => 'tel',
- 'open_type' => 'tel',
- 'params' => [
- [
- 'key' => "tel",
- 'value' => "",
- 'desc' => "请填写联系电话"
- ]
- ],
- ],
- [
- 'name' => '小程序',
- 'link' => 'wxapp',
- 'open_type' => 'wxapp',
- 'params' => [
- [
- 'key' => "appid",
- 'value' => "",
- 'desc' => "请填写小程序appid"
- ],
- [
- 'key' => "path",
- 'value' => "",
- 'desc' => "打开的页面路径,如pages/index/index,开头请勿加“/”"
- ],
- ],
- ],
- [
- 'name' => '微信客服',
- 'link' => 'contact',
- 'open_type' => 'contact',
- 'params' => []
- ],
- [
- 'name' => '官方客服',
- 'link' => '/kefu/kefu',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- // [
- // 'name' => '外链',
- // 'link' => 'web',
- // 'open_type' => 'web',
- // 'params' => [
- // [
- // 'key' => "web",
- // 'value' => "",
- // 'desc' => "打开的网页链接(注:域名必须已在微信官方小程序平台设置业务域名)"
- // ]
- // ],
- // ],
- [
- 'name' => '核销扫码',
- 'link' => 'clerk',
- 'open_type' => 'clerk',
- 'params' => [],
- ],
- [
- 'name' => '我的核销码',
- 'link' => '/face-pay/face-pay/member',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '手机端后台',
- 'link' => '/admin/home/home',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '短视频列表',
- 'link' => '/videoGoods/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '短视频中心',
- 'link' => '/videoGoods/userInfo/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '我的砍价',
- 'link' => '/marketing/curPrice/order/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '砍价活动',
- 'link' => '/marketing/curPrice/index/index',
- 'open_type' => 'navigate',
- 'params' => [
- // [
- // 'key' => "activity_cut_price_id",
- // 'value' => "",
- // 'desc' => "id请填写在砍价活动列表中相关活动的ID"
- // ]
- ],
- ],
- [
- 'name' => '认养',
- 'link' => '/livestockAdoption/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => "认养详情",
- 'link' => "/livestockAdoption/adopt_detail/adopt_detail",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在认养商品列表中相关商品的ID"
- ]
- ]
- ],
- [
- 'name' => "认养订单",
- 'link' => "/livestockAdoption/my_order/my_order?status=-1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '认养设备',
- 'link' => '/livestockAdoption/camera/camera',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '溯源专区',
- 'link' => '/source/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '我的溯源',
- 'link' => '/source/mySource/mySource',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '积分商城',
- 'link' => '/integral/integralStore/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '储值卡兑换',
- 'link' => '/user/write_off_card/recharge_card',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '拼团首页',
- 'link' => '/pt/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '拼团广场',
- 'link' => '/pt/square/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '我的拼团',
- 'link' => '/pt/order/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => "积分赠送",
- 'link' => "/marketing/mutate/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "",
- 'desc' => "type请填写0.积分转赠 1.余额转赠 2.佣金转余额"
- ]
- ]
- ]
- ];
- // 平台运营菜单
- const PLATFORM_LIST = [
- [
- 'name' => '分类',
- 'link' => '/pages/cat/cat',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- ]
- ]
- ],
- [
- 'name' => '当面付',
- 'link' => '/face-pay/face-pay/payOut',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '点餐',
- 'link' => '/alipay-order/orderMeal/orderMeal',
- 'open_type' => 'navigate',
- 'params' => [
- [
- 'key' => "food_table_num",
- 'value' => "",
- 'desc' => "桌号"
- ]
- ],
- ],
- [
- 'name' => '商品列表',
- 'link' => '/other/list/list',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- ]
- ]
- ],
- [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID"
- ]
- ]
- ],
- [
- 'name' => "领券中心",
- 'link' => "/pages/coupon_center/coupon_center",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "专题",
- 'link' => "/other/special/special",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "专题详情",
- 'link' => "/other/special/topic",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的专题ID"
- ]
- ]
- ],
- [
- 'name' => '一键拨号',
- 'link' => 'tel',
- 'open_type' => 'tel',
- 'params' => [
- [
- 'key' => "tel",
- 'value' => "",
- 'desc' => "请填写联系电话"
- ]
- ],
- ],
- [
- 'name' => '官方客服',
- 'link' => '/kefu/kefu',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ];
- public static function getLink()
- {
- $store_id = get_store_id();
- $store = Store::findOne($store_id);
- $list = self::PLATFORM_LIST;
- if ($store->business_model == 1) { //独立运营才走这个
- $list = self::LIST;
- $system_list = NewDiyTemplate::find()
- ->where([
- 'store_id' => get_store_id(),
- 'is_delete' => 0,
- 'name' => 'system'
- ])->orderBy(['id' => SORT_ASC])->asArray()->all();
- // if (\Yii::$app->prod_is_dandianpu()) {
- // $list[] = [
- // 'name' => '申请店铺',
- // 'link' => '/single-store/applyShop/applyShop',
- // 'open_type' => "navigate",
- // 'params' => []
- // ];
- // }
- foreach ($list as $key => &$value) {
- foreach ($system_list as $k => $v) {
- $template = json_decode($v['template'], true);
- if ($template && is_array($template) && isset($template['page_name'])) {
- if ($value['name'] == $template['page_name']) {
- $value['id'] = $v['id'];
- }
- }
- }
- }
- }
- $template = NewDiyTemplate::find()->where([
- 'store_id' => get_store_id(),
- 'is_index' => 0,
- 'is_delete' => 0,
- 'name' => 'DIY',
- ])->all();
- foreach($template as $item) {
- $info = Json::decode($item->template);
- $list[] = [
- 'name' => $info['page_name'],
- 'link' => "/pages/diy/diy?id=".$item->id,
- 'id' => $item->id,
- 'open_type' => "navigate",
- 'params' => []
- ];
- }
- return $list;
- }
- //连接选择器(分组版)
- public static function getLinkGroup()
- {
- $store_id = get_store_id();
- $store = Store::findOne($store_id);
- $groupDiyPage = [];
- $template = NewDiyTemplate::find()->where([
- 'store_id' => get_store_id(),
- 'is_index' => 0,
- 'is_delete' => 0,
- 'name' => 'DIY',
- ])->all();
- foreach($template as $item) {
- $info = Json::decode($item->template);
- $groupDiyPage[] = [
- 'name' => $info['page_name'],
- 'link' => "/pages/diy/diy?id=".$item->id,
- 'id' => $item->id,
- 'open_type' => "navigate",
- 'params' => []
- ];
- }
- $list = self::PLATFORM_LIST;
- if ($store->business_model == 1) { //独立运营才走这个
- $list = self::LIST;
- $system_list = NewDiyTemplate::find()
- ->where([
- 'store_id' => get_store_id(),
- 'is_delete' => 0,
- 'name' => 'system'
- ])->orderBy(['id' => SORT_ASC])->asArray()->all();
- // if (\Yii::$app->prod_is_dandianpu()) {
- // $list[] = [
- // 'name' => '申请店铺',
- // 'link' => '/single-store/applyShop/applyShop',
- // 'open_type' => "navigate",
- // 'params' => []
- // ];
- // }
- foreach ($list as $key => &$value) {
- foreach ($system_list as $k => $v) {
- $template = json_decode($v['template'], true);
- if ($template && is_array($template) && isset($template['page_name'])) {
- if ($value['name'] == $template['page_name']) {
- $value['id'] = $v['id'];
- }
- }
- }
- }
- }else{
- return [
- [
- 'name' => '商城页面',
- 'child' => [
- [
- 'name' => 'DIY页面',
- 'list' => $groupDiyPage,
- 'type' => 'diy-page',
- ],
- [
- 'name' => '商城链接',
- 'child' => [
- [
- 'name' => '基础链接',
- 'list' => $list
- ]
- ]
- ],
- [
- 'name' => '应用',
- 'child' => [
- [
- 'name' => '预约',
- 'list' => [
- [
- 'name' => '预约活动',
- 'link' => '/marketing/booking/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '扫码点餐',
- 'list' => [
- [
- 'name' => '点餐页',
- 'link' => '/alipay-order/orderMeal/orderMeal',
- 'open_type' => 'navigate',
- 'params' => [
- [
- 'key' => "food_table_num",
- 'value' => "",
- 'desc' => "桌号"
- ]
- ],
- ],
- // [
- // 'name' => '点餐预约',
- // 'link' => '/alipay-order/appointment/appointment',
- // 'open_type' => 'navigate',
- // 'params' => [],
- // ],
- [
- 'name' => '点餐订单列表',
- 'link' => '/alipay-order/order/list',
- 'open_type' => "navigate",
- 'params' => []
- ],
- ]
- ],
- [
- 'name' => '拼团',
- 'list' => [
- [
- 'name' => '商品列表',
- 'link' => '/marketing/other/pt/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- // [
- // 'name' => '我的拼团',
- // 'link' => '/marketing/other/pt/order/index',
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- ]
- ],
- [
- 'name' => '砍价',
- 'list' => [
- [
- 'name' => '商品列表',
- 'link' => '/marketing/other/bargain/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- // [
- // 'name' => '我的砍价',
- // 'link' => '/marketing/other/bargain/order/list/index',
- // 'open_type' => "navigate",
- // 'params' => []
- // ],
- ]
- ],
- [
- 'name' => '秒杀',
- 'list' => [
- [
- 'name' => '商品列表',
- 'link' => '/marketing/other/seckill/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- ]
- ],
- [
- 'name' => '新人专享',
- 'list' => [
- [
- 'name' => '商品列表',
- 'link' => '/marketing/other/newUser/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- ]
- ],
- [
- 'name' => '积分商城',
- 'list' => [
- [
- 'name' => '积分商城',
- 'link' => '/marketing/integral/index/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ]
- ]
- ],
- ]
- ]
- ],
- ],
- [
- 'name' => '商品页面',
- 'icon' => 'shopping',
- 'child' => [
- [
- 'name' => '商品分类',
- 'type' => 'goods-cat',
- 'typeLink' => [
- 'name' => '分类',
- 'link' => '/pages/cat/cat',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '商品',
- 'type' => 'goods',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ]
- ]
- ],
- [
- 'name' => '文章页面',
- 'icon' => 'file-text',
- 'child' => [
- // [
- // 'name' => '文章',
- // 'type' => 'article',
- // 'typeLink' => [
- // 'name' => "专题详情",
- // 'link' => "/other/special/topic",
- // 'open_type' => "navigate",
- // 'params' => [
- // [
- // 'key' => "id",
- // 'valueKey' => "id",
- // 'value' => "",
- // 'desc' => "id请填写对应的专题ID"
- // ]
- // ]
- // ],
- // ],
- [
- 'name' => '专题页',
- 'type' => 'special',
- 'typeLink' => [
- 'name' => "专题详情",
- 'link' => "/other/special/topic",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的专题ID"
- ]
- ]
- ],
- ],
- ],
- ],
- ];
- }
- return [
- [
- 'name' => '商城页面',
- 'icon' => 'shop',
- 'child' => [
- [
- 'name' => 'DIY页面',
- 'list' => $groupDiyPage,
- 'type' => 'diy-page',
- ],
- [
- 'name' => '商城链接',
- 'child' => [
- [
- 'name' => '基础链接',
- 'list' => [
- [
- 'name' => '商城首页',
- 'link' => '/pages/home/home',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '购物车',
- 'link' => '/pages/shoppingcart/shoppingcart',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '我的',
- 'link' => '/pages/my/my',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '商城分类',
- 'link' => '/pages/cat/cat',
- 'open_type' => "switchtab",
- 'params' => []
- ],
- [
- 'name' => '商品列表',
- 'link' => '/other/list/list',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID"
- ]
- ]
- ],
- [
- 'name' => '付款码',
- 'link' => '/face-pay/face-pay/collection',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "关于我们",
- 'link' => "/user/my/article-detail",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "专题",
- 'link' => "/other/special/special",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "搜索",
- 'link' => "/pages/search/search",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '推广二维码',
- 'link' => '/user/share-qrcode/share-qrcode',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '新版本DIY',
- 'link' => '/diy/diyNew/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '一键拨号',
- 'link' => 'tel',
- 'open_type' => 'tel',
- 'params' => [
- [
- 'key' => "tel",
- 'value' => "",
- 'desc' => "请填写联系电话"
- ]
- ],
- ],
- [
- 'name' => '小程序',
- 'link' => 'wxapp',
- 'open_type' => 'wxapp',
- 'params' => [
- [
- 'key' => "appid",
- 'value' => "",
- 'desc' => "请填写小程序appid"
- ],
- [
- 'key' => "path",
- 'value' => "",
- 'desc' => "打开的页面路径,如pages/index/index,开头请勿加“/”"
- ],
- ],
- ],
- [
- 'name' => '微信客服',
- 'link' => 'contact',
- 'open_type' => 'contact',
- 'params' => []
- ],
- [
- 'name' => '官方客服',
- 'link' => '/kefu/kefu',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- // [
- // 'name' => '外链',
- // 'link' => 'web',
- // 'open_type' => 'web',
- // 'params' => [
- // [
- // 'key' => "web",
- // 'value' => "",
- // 'desc' => "打开的网页链接(注:域名必须已在微信官方小程序平台设置业务域名)"
- // ]
- // ],
- // ],
- [
- 'name' => '核销扫码',
- 'link' => 'clerk',
- 'open_type' => 'clerk',
- 'params' => [],
- ],
- [
- 'name' => '我的核销码',
- 'link' => '/face-pay/face-pay/member',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '手机端后台',
- 'link' => '/admin/home/home',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '品牌中心',
- 'link' => '/other/brand/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '品牌分类',
- 'link' => '/brandZone/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ]
- ],
- ],
- [
- 'name' => '个人中心',
- 'list' => [
- [
- 'name' => "浏览记录",
- 'link' => "/user/history/history",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "所有订单",
- 'link' => "/order/order/order?status=-1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待付款订单",
- 'link' => "/order/order/order?status=0",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待发货订单",
- 'link' => "/order/order/order?status=1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "待收货订单",
- 'link' => "/order/order/order?status=2",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "已完成订单",
- 'link' => "/order/order/order?status=3",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "售后订单",
- 'link' => "/order/order-refund-list/order-refund-list",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "我的收藏",
- 'link' => "/user/collection/collection",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "地址管理",
- 'link' => "/user/my/addressmanage",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "余额",
- 'link' => "/user/balance/balance",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "充值",
- 'link' => "/user/balance/recharge",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '会员中心',
- 'link' => '/user/member/member_center',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '视频列表',
- 'link' => '/marketing/video/list/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '我的发票-开票历史',
- 'link' => '/invoice/manage/index?index=1',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "index",
- 'value' => "1",
- 'desc' => "开票历史"
- ],
- ]
- ],
- [
- 'name' => '手机号条形码',
- 'link' => '/teamCenter/phoneCode/phoneCode',
- 'open_type' => "navigate",
- ],
- [
- 'name' => '常购清单',
- 'link' => '/brandZone/purchaseCatList/purchaseCatList',
- 'open_type' => "navigate",
- ],
- ],
- ],
- [
- 'name' => '分销',
- 'list' => [
- [
- 'name' => "分销中心",
- 'link' => "/user/share/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- ],
- ],
- [
- 'name' => '应用',
- 'child' => [
- [
- 'name' => '优惠券',
- 'list' => [
- [
- 'name' => "领券中心",
- 'link' => "/other/coupon_center/coupon_center",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "我的优惠券",
- 'link' => "/user/my_coupon/my_coupon",
- 'open_type' => "navigate",
- 'params' => []
- ]
- ],
- ],
- [
- 'name' => '卡券',
- 'list' => [
- [
- 'name' => "可赠送卡券列表",
- 'link' => "/user/write_off_card/write_index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "我的核销卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "1",
- 'desc' => "我的核销卡"
- ],
- ]
- ],
- [
- 'name' => "我的礼品卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "2",
- 'desc' => "我的礼品卡"
- ],
- ]
- ],
- [
- 'name' => "我的储值卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "3",
- 'desc' => "我的储值卡"
- ],
- ]
- ],
- [
- 'name' => "我的虚拟卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "4",
- 'desc' => "我的虚拟卡"
- ],
- ]
- ],
- [
- 'name' => "我的视频卡",
- 'link' => "/user/write_off_card/write_off_card",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "5",
- 'desc' => "我的视频卡"
- ],
- ]
- ],
- [
- 'name' => '储值卡兑换',
- 'link' => '/user/write_off_card/recharge_card',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '预约',
- 'list' => [
- [
- 'name' => '预约活动',
- 'link' => '/marketing/booking/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '砍价',
- 'list' => [
- [
- 'name' => '我的砍价',
- 'link' => '/marketing/curPrice/order/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '砍价活动',
- 'link' => '/marketing/curPrice/index/index',
- 'open_type' => 'navigate',
- 'params' => [
- // [
- // 'key' => "activity_cut_price_id",
- // 'value' => "",
- // 'desc' => "id请填写在砍价活动列表中相关活动的ID"
- // ]
- ],
- ],
- ],
- ],
- [
- 'name' => '秒杀',
- 'list' => [
- [
- 'name' => '秒杀活动',
- 'link' => '/seckill/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- [
- 'key' => "activeId",
- 'value' => "",
- 'desc' => "id请填写在秒杀活动列表中相关活动的ID"
- ]
- ],
- ],
- ],
- ],
- [
- 'name' => '拼团',
- 'list' => [
- [
- 'name' => '拼团首页',
- 'link' => '/pt/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '拼团广场',
- 'link' => '/pt/square/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '我的拼团',
- 'link' => '/pt/order/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ]
- ],
- ],
- [
- 'name' => '新人专享',
- 'list' => [
- [
- 'name' => '新人专享',
- 'link' => '/marketing/newUser/index/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- [
- 'name' => '更多商品',
- 'link' => '/marketing/newUser/list/index',
- 'open_type' => 'navigate',
- 'params' => [
- ],
- ],
- ]
- ],
- [
- 'name' => '扫码点餐',
- 'list' => [
- [
- 'name' => '点餐页',
- 'link' => '/alipay-order/orderMeal/orderMeal',
- 'open_type' => 'navigate',
- 'params' => [
- [
- 'key' => "food_table_num",
- 'value' => "",
- 'desc' => "桌号"
- ]
- ],
- ],
- // [
- // 'name' => '点餐预约',
- // 'link' => '/alipay-order/appointment/appointment',
- // 'open_type' => 'navigate',
- // 'params' => [],
- // ],
- [
- 'name' => '点餐订单列表',
- 'link' => '/alipay-order/order/list',
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '认养',
- 'list' => [
- [
- 'name' => '认养',
- 'link' => '/livestockAdoption/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => "认养详情",
- 'link' => "/livestockAdoption/adopt_detail/adopt_detail",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在认养商品列表中相关商品的ID"
- ]
- ]
- ],
- [
- 'name' => "认养订单",
- 'link' => "/livestockAdoption/my_order/my_order?status=-1",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '认养设备',
- 'link' => '/livestockAdoption/camera/camera',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '溯源',
- 'list' => [
- [
- 'name' => '溯源专区',
- 'link' => '/source/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '我的溯源',
- 'link' => '/source/mySource/mySource',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '门店',
- 'list' => [
- [
- 'name' => "门店中心",
- 'link' => "/md_admin/md-center/md",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "申请门店",
- 'link' => "/md_admin/apply-md/apply",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "门店员工中心",
- 'link' => "/md_admin/staff-center/staff",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "门店列表",
- 'link' => "/other/store_list/index",
- 'open_type' => "navigate",
- 'link_type' => 'md_list',
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "门店分类ID"
- ],
- ]
- ],
- ],
- ],
- [
- 'name' => '短视频',
- 'list' => [
- [
- 'name' => '短视频列表',
- 'link' => '/videoGoods/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '短视频中心',
- 'link' => '/videoGoods/userInfo/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '消费全返',
- 'list' => [
- [
- 'name' => '我的返利',
- 'link' => '/rebateSelf/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '股东',
- 'list' => [
- [
- 'name' => "申请股东",
- 'link' => "/shareholder/apply/apply",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "股东中心",
- 'link' => "/shareholder/shareholder/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '2+1链动',
- 'list' => [
- [
- 'name' => "团队中心",
- 'link' => "/chain/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "团队数据",
- 'link' => "/chain/teamData/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "链动佣金",
- 'link' => "/chain/commission/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "帮扶佣金",
- 'link' => "/chain/frozenAmount/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "复购冻结佣金",
- 'link' => "/fugou/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '区域代理',
- 'list' => [
- [
- 'name' => "代理申请",
- 'link' => "/area/apply/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "代理中心",
- 'link' => "/area/userInfo/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '资产转赠',
- 'list' => [
- [
- 'name' => "积分转赠",
- 'link' => "/marketing/mutate/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "0"
- ]
- ]
- ],
- [
- 'name' => "余额转赠",
- 'link' => "/marketing/mutate/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "1"
- ]
- ]
- ],
- [
- 'name' => "佣金转余额",
- 'link' => "/marketing/mutate/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "type",
- 'value' => "2"
- ]
- ]
- ],
- ],
- ],
- [
- 'name' => '联盟券',
- 'list' => [
- [
- 'name' => '我的联盟券',
- 'link' => '/user/new_balance/new_balance',
- 'open_type' => "navigate",
- 'params' => []
- ]
- ]
- ],
- [
- 'name' => '支付券',
- 'list' => [
- [
- 'name' => '支付宝支付券',
- 'link' => '/mkt/list/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- ]
- ],
- [
- 'name' => '问答专区',
- 'list' => [
- [
- 'name' => "提问首页",
- 'link' => "/chart-gpt/index/index",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- [
- 'name' => "提问模版",
- 'link' => "/chart-gpt/moban/moban",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- [
- 'name' => "每日任务",
- 'link' => "/chart-gpt/task/task",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- [
- 'name' => "我的问答",
- 'link' => "/chart-gpt/qa-list/qa-list",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '排队免单',
- 'list' => [
- [
- 'name' => "免单列表",
- 'link' => "/freeOrder/index/index",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- [
- 'name' => "累计明细",
- 'link' => "/freeOrder/log/log",
- 'open_type' => "navigate",
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '营销活动',
- 'list' => [
- [
- 'name' => "保单查询",
- 'link' => "/other/insurance/search",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "小程序直播",
- 'link' => "/wxlive/live/live",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '积分商城',
- 'link' => '/integral/integralStore/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '当面付',
- 'link' => '/face-pay/face-pay/payOut',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '签到',
- 'link' => '/integral/signIn/signIn',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '微信会员卡',
- 'link' => '/weChat/card/index',
- 'open_type' => "weChatCart",
- 'params' => []
- ],
- [
- 'name' => '支付宝会员卡',
- 'link' => '/alipay/card/index',
- 'open_type' => "alipayCard",
- 'params' => []
- ],
- [
- 'name' => 'WIFI',
- 'link' => '/pages/home/wifi',
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '素材中心',
- 'link' => '/tools/quickPost/index/index',
- 'open_type' => "navigate",
- 'params' => []
- ],
- ]
- ],
- [
- 'name' => '上门服务',
- 'list' => [
- [
- 'name' => '服务人员中心',
- 'link' => '/service-home/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '服务人员收藏',
- 'link' => '/marketing/serviceHome/collect/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '服务人员列表',
- 'link' => '/marketing/serviceHome/engineer/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '服务商品列表',
- 'link' => '/marketing/serviceHome/category/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => '服务订单',
- 'link' => '/marketing/serviceHome/order/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '视频号营销',
- 'list' => [
- [
- 'name' => '视频号直播',
- 'link' => 'videoShopLive',
- 'open_type' => 'videoShopLive',
- 'params' => [
- [
- 'key' => "finder_id",
- 'value' => "",
- 'desc' => "视频号 id,以“sph”开头的id,可在视频号助手获取"
- ]
- ],
- ],
- [
- 'name' => '视频号主页',
- 'link' => 'videoShop',
- 'open_type' => 'videoShop',
- 'params' => [
- [
- 'key' => "finder_id",
- 'value' => "",
- 'desc' => "视频号 id,以“sph”开头的id,可在视频号助手获取"
- ]
- ],
- ],
- [
- 'name' => '视频号分销选品',
- 'link' => '/videoNumber/center/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '商品表单',
- 'list' => [
- [
- 'name' => '展示商品表单',
- 'link' => '/showGoodsForm/form/index',
- 'open_type' => 'goodsForm',
- 'params' => [],
- ],
- [
- 'name' => '进入抖音号',
- 'link' => 'jump_douyin',
- 'open_type' => 'jump_douyin',
- 'params' => [],
- ],
- [
- 'name' => '我的表单',
- 'link' => '/showGoodsForm/list/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '配送中心',
- 'list' => [
- [
- 'name' => '申请骑手',
- 'link' => '/distribution/index/rider',
- 'open_type' => 'localDeliveryIndex',
- ],
- [
- 'name' => '配送中心',
- 'link' => '/distribution/index/index',
- 'open_type' => 'localDeliveryIndex',
- ]
- ],
- ],
- [
- 'name' => '月付',
- 'list' => [
- [
- 'name' => '我的月付',
- 'link' => '/monthlyPaymentA/monthlyPaymentA/monthlyPaymentA',
- 'open_type' => 'navigate',
- ],
- ],
- ],
- [
- 'name' => '入驻商',
- 'list' => [
- [
- 'name' => "入驻",
- 'link' => '/admin/home/home?is_mch=1',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- [
- 'name' => "附近店铺",
- 'link' => "/mch_store/mchList/mchList",
- 'open_type' => "navigate",
- 'link_type' => 'mch_list',
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "入驻商分类ID"
- ],
- ],
- ],
- [
- 'name' => "商户列表",
- 'link' => "/mch_store/nearbyShops/nearbyShops",
- 'open_type' => "navigate",
- 'link_type' => 'mch_list',
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "入驻商分类ID"
- ],
- ]
- ],
- ],
- ],
- [
- 'name' => '自建直播',
- 'list' => [
- [
- 'name' => "主播中心",
- 'link' => "/tools/live/create/list/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "直播间列表",
- 'link' => "/tools/live/list/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "直播间页面",
- 'link' => "/tools/live/player/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "直播间ID"
- ],
- ]
- ],
- ],
- ],
- [
- 'name' => '圈子',
- 'list' => [
- [
- 'name' => "个人主页",
- 'link' => "/marketing/quanzi/userInfo/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "帖子详情",
- 'link' => "/marketing/quanzi/item/index",
- 'link_type' => 'quanzi',
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "帖子ID"
- ],
- ]
- ],
- [
- 'name' => "帖子列表",
- 'link' => "/marketing/quanzi/search/index",
- 'link_type' => 'quanzi',
- 'open_type' => "navigate",
- 'params' => [
- // [
- // 'key' => "id",
- // 'value' => "",
- // 'desc' => "帖子ID,多个逗号分割"
- // ],
- [
- 'key' => "cat_id",
- 'value' => "",
- 'desc' => "分类ID",
- ],
- [
- 'key' => "label",
- 'value' => "",
- 'desc' => "标签"
- ],
- // [
- // 'key' => "user_id",
- // 'value' => "",
- // 'desc' => "作者用户id"
- // ],
- ]
- ],
- ],
- ],
- [
- 'name' => '送礼物',
- 'list' => [
- [
- 'name' => "我的礼物",
- 'link' => "/givingGifts/myGift/myGift",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => "送礼清单",
- 'link' => "/givingGifts/giftCat/giftCat",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '视频号爆单',
- 'list' => [
- [
- 'name' => "视频号爆单公排中心",
- 'link' => "/marketing/publicRanking/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '商城公排',
- 'list' => [
- [
- 'name' => "商城公排中心",
- 'link' => "/tools/gongpai/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '大转盘抽奖',
- 'list' => [
- [
- 'name' => "大转盘首页",
- 'link' => "/prizeWheel/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '全域分佣',
- 'list' => [
- [
- 'name' => '全域分佣',
- 'link' => '/global/globalDivideBonus/globalDivideBonus',
- 'open_type' => 'navigate',
- ],
- [
- 'name' => '新增报单',
- 'link' => '/global/addForm/addForm',
- 'open_type' => 'navigate',
- ],
- [
- 'name' => '奖金池',
- 'link' => '/global/globalBonusPool/globalBonusPool',
- 'open_type' => 'navigate',
- 'link_type' => 'bonus_pool',
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "奖金池ID"
- ]
- ],
- ],
- [
- 'name' => '积分记录',
- 'link' => '/global/IntegralLog/IntegralLog',
- 'open_type' => 'navigate',
- ],
- [
- 'name' => '报单列表',
- 'link' => '/global/list/list',
- 'open_type' => 'navigate',
- ],
- ],
- ],
- [
- 'name' => '团队分红',
- 'list' => [
- [
- 'name' => '团队中心',
- 'link' => '/teamCenter/teamCenterIndex/teamCenterIndex',
- 'open_type' => 'navigate',
- ],
- ],
- ],
- [
- 'name' => '团队业绩分红',
- 'list' => [
- [
- 'name' => "团队业绩分红中心",
- 'link' => "/tools/teamGrades/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '手机收银台',
- 'list' => [
- [
- 'name' => '收银台',
- 'link' => '/cash_register/index/index',
- 'open_type' => 'navigate',
- 'params' => [],
- ],
- ],
- ],
- [
- 'name' => '37拼购',
- 'list' => [
- [
- 'name' => "37拼购",
- 'link' => "/pinduoGou/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '超级卖货系统',
- 'list' => [
- [
- 'name' => "超级卖货系统",
- 'link' => "/salesCenter/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '增值积分',
- 'list' => [
- [
- 'name' => "增值积分",
- 'link' => "/costPointsAppreciation/index/index",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ],
- ],
- [
- 'name' => '批发审核',
- 'list' => [
- [
- 'name' => "门店认证",
- 'link' => "B2b",
- 'open_type' => "B2b",
- 'params' => []
- ],
- ],
- ],
- /* begin 2025/07/17 14:29:28 id1248 活动报名 WPing丶 */
- [
- 'name' => '活动报名',
- 'list' => [
- [
- 'name' => '活动专区',
- 'link' => "/eventPlanning/activityArea/activityArea",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '活动报名',
- 'link' => "/eventPlanning/signUp/signUp",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在报名活动列表中相关活动的ID"
- ],
- ]
- ],
- [
- 'name' => '签到码',
- 'link' => "/eventPlanning/signInQRCode/signInQRCode",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在报名活动列表中相关活动的ID"
- ],
- ]
- ],
- [
- 'name' => '活动信息',
- 'link' => "/eventPlanning/detailInfo/detailInfo",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'value' => "",
- 'desc' => "id请填写在报名活动列表中相关活动的ID"
- ],
- [
- 'key' => "type",
- 'value' => "",
- 'desc' => "hotel=住宿;restaurant=用餐;itinerary=行程;"
- ]
- ]
- ],
- [
- 'name' => '我的报名',
- 'link' => "/eventPlanning/myRegistration/myRegistration",
- 'open_type' => "navigate",
- 'params' => []
- ],
- [
- 'name' => '签到员中心',
- 'link' => "/eventPlanning/verifyCode/verifyCode",
- 'open_type' => "navigate",
- 'params' => []
- ],
- ]
- ]
- /* end */
- ],
- ],
- ],
- ],
- [
- 'name' => '商品页面',
- 'icon' => 'shopping',
- 'child' => [
- [
- 'name' => '商品分类',
- 'type' => 'goods-cat',
- 'typeLink' => [
- 'name' => '分类',
- 'link' => '/pages/cat/cat',
- 'open_type' => "switchtab",
- 'params' => [
- [
- 'key' => "cat_id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "cat_id请填写在商品分类中相关分类的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '商品详情',
- 'type' => 'goods',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '商品列表',
- 'type' => 'goods-list',
- 'typeLink' => [
- 'name' => "商品列表",
- 'link' => "/other/list/list",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '秒杀商品',
- 'type' => 'goods-seckill',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ],
- [
- 'key' => "is_seckill",
- 'value' => "1",
- ]
- ]
- ],
- ],
- [
- 'name' => '砍价商品',
- 'type' => 'goods-cut-price',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ],
- [
- 'key' => "activity_cut_price_id",
- 'valueKey' => "activity_id",
- 'value' => "",
- 'desc' => "相关活动的ID"
- ]
- ]
- ],
- ],
- [
- 'name' => '拼团商品',
- 'type' => 'goods-pt',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ],
- [
- 'key' => "is_pt",
- 'value' => "1",
- ]
- ]
- ],
- ],
- [
- 'name' => '上门服务',
- 'type' => 'goods-worker',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/marketing/serviceHome/goods/item/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '上门服务列表',
- 'type' => 'goods-worker-list',
- 'typeLink' => [
- 'name' => "商品列表",
- 'link' => "/marketing/serviceHome/category/index/index",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "cat_id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '积分商品',
- 'type' => 'goods-integral',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/integral/integralStore/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '预约商品',
- 'type' => 'reserve-goods',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/goods/goods/goods",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写在商品列表中相关商品的ID",
- ]
- ]
- ],
- ],
- [
- 'name' => '品牌商品',
- 'type' => 'goods-grand',
- 'typeLink' => [
- 'name' => "商品详情",
- 'link' => "/other/list/list",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "brand_id",
- 'valueKey' => "brand_id",
- 'value' => "",
- 'desc' => "grand_id请填写在品牌列表中相关的ID",
- ]
- ]
- ],
- ]
- ]
- ],
- [
- 'name' => '文章页面',
- 'icon' => 'file-text',
- 'child' => [
- [
- 'name' => '文章',
- 'type' => 'article',
- 'typeLink' => [
- 'name' => "文章详情",
- 'link' => "/user/my/article-detail",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的文章ID"
- ]
- ]
- ],
- ],
- [
- 'name' => '专题详情',
- 'type' => 'special',
- 'typeLink' => [
- 'name' => "专题详情",
- 'link' => "/other/special/topic",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的专题ID"
- ]
- ]
- ],
- ],
- [
- 'name' => '专题分类',
- 'type' => 'special-category',
- 'typeLink' => [
- 'name' => "专题分类",
- 'link' => "/other/special/special",
- 'open_type' => "navigate",
- 'params' => [
- [
- 'key' => "id",
- 'valueKey' => "id",
- 'value' => "",
- 'desc' => "id请填写对应的专题分类ID"
- ]
- ]
- ],
- ],
- ],
- ],
- [
- 'name' => '自定义',
- 'icon' => 'appstore',
- 'child' => [
- [
- 'name' => '自定义链接',
- 'type' => 'diy-link',
- ],
- ],
- ],
- ];
- }
- }
|