diff --git a/app.js b/app.js index 6d98e79..536309e 100644 --- a/app.js +++ b/app.js @@ -10,8 +10,17 @@ App({ curHtml:"", marketName:"", mouldType:1, - appId:"ttef6599d8705b49b101", + appId:config.weapp.AppId, selected:0, + goHomeUrl:"/index/index", + type:"",//存放跳转标记 + previewFlag: false, //解决图片预览调用noshow + skipUrl:"",//存放授权跳转地址 + skip:"", + avatarUrl:"",//用户头像 + nickName:"",//用户姓名 + templateId:[],//订阅消息模板id + ifshowtab:false, }, onLaunch: function () { let that = this @@ -19,7 +28,7 @@ App({ try { var res = tt.getSystemInfoSync(); that.statusBarHeight = res.statusBarHeight - console.log(`手机型号为 ${res.platform}`); + console.log(`手机型号为`,that.statusBarHeight); this.globalData.platform = res.platform } catch (error) { console.log(`获取系统信息失败`); @@ -35,7 +44,32 @@ App({ }); }, + statusBarHeight: 0, + getTemplateId(that) { + // console.log("隐藏") + // tt.hideTabBar() + Http.get({ + url: config.api.templateId, + data: { + pageNum: 1, + pageSize: 100 + } + }).then(res => { + const { + code, + data + } = res + if (code == 200) { + // this.setData({ + // templateId: data.list + // }) + that.globalData.templateId = data.list + } else { + return + } + }) + }, logn(){ let that = this; tt.login({ @@ -45,11 +79,11 @@ App({ url:config.api.login, data:{ code:code, - appId:'ttef6599d8705b49b101', + appId:that.globalData.appId, systemInfo:JSON.stringify(this.globalData.systemInfo) } }).then(res=>{ - // debugger + tt.setStorageSync("openId", res.data.openId); if (res.data.mall){ that.globalData.marketName = res.data.mall.name ? res.data.mall.name : "" } @@ -64,9 +98,11 @@ App({ } Http.setToken(res.data.token); that.globalData.token = res.data.token + that.getTemplateId(that);//获取订阅消息模板id if (that.tokenCallback) { that.tokenCallback(res.data.token); } + }).catch(err=>{ console.log(err); tt.showModal({ diff --git a/app.json b/app.json index 359100d..c2aadb2 100644 --- a/app.json +++ b/app.json @@ -6,8 +6,8 @@ "index/user", "pages/mainOrder/mainOrder", "pages/detailOrder/detailOrder", - "pages/ticket/ticket", - "pages/ticketDetail/ticketDetail", + "pages/couponorder/index/index", + "pages/couponorder/detail/index", "pages/coupon/detail/index", "pages/editUser/editUser", "pages/specialcourtesy/specialcourtesy", @@ -29,7 +29,15 @@ "pages/index/searchbar/detail/index", "pages/integralmall/payIntegcoupondetail/index", "pages/integralmall/payIntegcouponStatus/index", - "pages/getPhone/getPhone" + "pages/getPhone/getPhone", + "pages/certification/certification", + "pages/shopCertification/shopCertification", + "pages/shopMap/shopMap", + "pages/fitShop/fitShop", + "pages/paySnapshoot/paySnapshoot", + "pages/refund/refund", + "pages/serviceWebView/serviceWebView", + "pages/liveLsit/liveLsit" ], "window": { "backgroundTextStyle": "light", diff --git a/app.ttss b/app.ttss index 38e1ba9..e342ab4 100644 --- a/app.ttss +++ b/app.ttss @@ -6,6 +6,9 @@ view, text { font-family: PingFangSC-Regular; } +button::after{ + border:none +} @font-face { font-family: "iconfont"; /* project id 777313 */ src: url("//at.alicdn.com/t/font_777313_jq7td4d3uab.eot"); diff --git a/assets/images/aptitude1.png b/assets/images/aptitude1.png new file mode 100644 index 0000000..65a3bb0 Binary files /dev/null and b/assets/images/aptitude1.png differ diff --git a/assets/images/dindan_a.png b/assets/images/dindan_a.png index 3c28d81..34202b2 100644 Binary files a/assets/images/dindan_a.png and b/assets/images/dindan_a.png differ diff --git a/assets/images/dindan_a1.png b/assets/images/dindan_a1.png new file mode 100644 index 0000000..3c28d81 Binary files /dev/null and b/assets/images/dindan_a1.png differ diff --git a/assets/images/home_a.png b/assets/images/home_a.png index 65454e3..59fa757 100644 Binary files a/assets/images/home_a.png and b/assets/images/home_a.png differ diff --git a/assets/images/home_a1.png b/assets/images/home_a1.png new file mode 100644 index 0000000..65454e3 Binary files /dev/null and b/assets/images/home_a1.png differ diff --git a/assets/images/mian1.png b/assets/images/mian1.png new file mode 100644 index 0000000..dc228bc Binary files /dev/null and b/assets/images/mian1.png differ diff --git a/assets/images/portal_a.png b/assets/images/portal_a.png index f87971d..666e272 100644 Binary files a/assets/images/portal_a.png and b/assets/images/portal_a.png differ diff --git a/assets/images/portal_a1.png b/assets/images/portal_a1.png new file mode 100644 index 0000000..f87971d Binary files /dev/null and b/assets/images/portal_a1.png differ diff --git a/assets/images/service1.png b/assets/images/service1.png new file mode 100644 index 0000000..f7a3391 Binary files /dev/null and b/assets/images/service1.png differ diff --git a/assets/images/shoot.png b/assets/images/shoot.png new file mode 100644 index 0000000..918b60d Binary files /dev/null and b/assets/images/shoot.png differ diff --git a/assets/images/userDd.png b/assets/images/userDd.png new file mode 100644 index 0000000..0749032 Binary files /dev/null and b/assets/images/userDd.png differ diff --git a/assets/images/userInfo.png b/assets/images/userInfo.png index 33559df..b24e8b7 100644 Binary files a/assets/images/userInfo.png and b/assets/images/userInfo.png differ diff --git a/assets/images/userInfo1.png b/assets/images/userInfo1.png new file mode 100644 index 0000000..33559df Binary files /dev/null and b/assets/images/userInfo1.png differ diff --git a/assets/images/userQuan.png b/assets/images/userQuan.png new file mode 100644 index 0000000..63a4476 Binary files /dev/null and b/assets/images/userQuan.png differ diff --git a/assets/images/user_a.png b/assets/images/user_a.png index 86fd0de..38cda22 100644 Binary files a/assets/images/user_a.png and b/assets/images/user_a.png differ diff --git a/assets/images/wenquan.png b/assets/images/wenquan.png new file mode 100644 index 0000000..3a31d3d Binary files /dev/null and b/assets/images/wenquan.png differ diff --git a/assets/imgData/certification.png b/assets/imgData/certification.png new file mode 100644 index 0000000..143e7c8 Binary files /dev/null and b/assets/imgData/certification.png differ diff --git a/assets/imgData/cmdBg.png b/assets/imgData/cmdBg.png new file mode 100644 index 0000000..c318817 Binary files /dev/null and b/assets/imgData/cmdBg.png differ diff --git a/assets/imgData/copy.png b/assets/imgData/copy.png new file mode 100644 index 0000000..2a642bd Binary files /dev/null and b/assets/imgData/copy.png differ diff --git a/assets/imgData/siteImg.png b/assets/imgData/siteImg.png new file mode 100644 index 0000000..42fdd84 Binary files /dev/null and b/assets/imgData/siteImg.png differ diff --git a/assets/imgData/squareLogo.png b/assets/imgData/squareLogo.png new file mode 100644 index 0000000..3e0a033 Binary files /dev/null and b/assets/imgData/squareLogo.png differ diff --git a/assets/imgData/succeed.png b/assets/imgData/succeed.png new file mode 100644 index 0000000..45f6374 Binary files /dev/null and b/assets/imgData/succeed.png differ diff --git a/assets/imgData/succeedNo.png b/assets/imgData/succeedNo.png new file mode 100644 index 0000000..4949e9f Binary files /dev/null and b/assets/imgData/succeedNo.png differ diff --git a/assets/imgData/tiem.png b/assets/imgData/tiem.png new file mode 100644 index 0000000..2804413 Binary files /dev/null and b/assets/imgData/tiem.png differ diff --git a/assets/imgData/topback.png b/assets/imgData/topback.png new file mode 100644 index 0000000..a4820b0 Binary files /dev/null and b/assets/imgData/topback.png differ diff --git a/assets/imgData/userBg.png b/assets/imgData/userBg.png new file mode 100644 index 0000000..5b4cf84 Binary files /dev/null and b/assets/imgData/userBg.png differ diff --git a/components/banner/index.js b/components/banner/index.js index c1e9a06..ce702be 100644 --- a/components/banner/index.js +++ b/components/banner/index.js @@ -27,12 +27,14 @@ Component({ */ methods: { gotobannerdetail: function(e) { + console.log(this.data.list) if (e.currentTarget.dataset.data.type == 3) { // 小程序路径 let indexOf = (e.currentTarget.dataset.data.pagePath).indexOf("="); console.log(indexOf, "123") - let id = (e.currentTarget.dataset.data.pagePath).substring(indexOf); + let id = (e.currentTarget.dataset.data.pagePath).substr(indexOf); + console.log(id.split("="),123); let type = (e.currentTarget.dataset.data.pagePath).substr(indexOf + 1, 2)// 2020/7/22 变量获取pagePath中的type console.log(indexOf, id, type); console.log(e.currentTarget.dataset.data.pagePath) @@ -42,11 +44,11 @@ Component({ }) }else if(type == "wj"){ tt.navigateTo({ - url: `/pages/questionnaire/questionnaire?id=${id}`, + url: `/pages/questionnaire/questionnaire?id=`+id.split("=")[2], }) }else if (type == 'ra'){ tt.navigateTo({ - url: `/pages/radetail/index?id=${id}`, + url: `/pages/radetail/index?id=`+id.split("=")[2], }) } }else if(e.currentTarget.dataset.data.type==2){ diff --git a/components/banner/index.ttml b/components/banner/index.ttml index e17e103..50edf4b 100644 --- a/components/banner/index.ttml +++ b/components/banner/index.ttml @@ -8,8 +8,8 @@ - - + + diff --git a/components/banner/index.ttss b/components/banner/index.ttss index 0f3add7..569fb53 100644 --- a/components/banner/index.ttss +++ b/components/banner/index.ttss @@ -35,47 +35,49 @@ margin-top: -30rpx; } .index-slide-view1 { - margin-top: -40rpx; + /* margin-top: -40rpx; */ } .imageContainer1 { width: 100%; - height: 400rpx; + height: 420rpx; } .itemImg1 { - position: absolute; - width: 640rpx; - height: 360rpx; - border-radius: 15rpx; + /* position: absolute; */ + width: 100%; + height: 420rpx; + /* border-radius: 15rpx; */ overflow: hidden; z-index: 5; opacity: 0.7; - top: 12%; - margin: 0 20rpx; + /* top: 12%; */ + /* margin: 0 20rpx; */ } .active1_a { opacity: 1; z-index: 10; - width: 640rpx; - top: 11%; + width: 100%; + height: 420rpx; + /* top: 11%; */ transition: all 0.2s ease-in 0s; } .active1 { opacity: 1; z-index: 10; - width: 640rpx; - height: 310rpx; - top: 17%; + width: 100%; + height: 420rpx; + /* top: 17%; */ transition: all 0.2s ease-in 0s; } .item1 { width: 100%; - height: 360rpx; + /* height: 360rpx; */ + height: 420rpx; overflow: hidden; - border-radius: 16rpx; + /* border-radius: 16rpx; */ } \ No newline at end of file diff --git a/components/commodityBox/commodityBox.ttml b/components/commodityBox/commodityBox.ttml index fb2be1a..486fa74 100644 --- a/components/commodityBox/commodityBox.ttml +++ b/components/commodityBox/commodityBox.ttml @@ -13,10 +13,10 @@ - + ¥ {{item.salePriceStr}} - ¥{{item.priceStr}} + ¥{{item.priceStr}} 免费领取 立即购买 diff --git a/components/commodityMould/commodityMould.ttml b/components/commodityMould/commodityMould.ttml index 2724943..a8d5f0c 100644 --- a/components/commodityMould/commodityMould.ttml +++ b/components/commodityMould/commodityMould.ttml @@ -2,7 +2,7 @@ --> - + @@ -21,6 +21,7 @@ +
@@ -34,9 +35,9 @@ {{item.title}} - + + + + + ¥{{item.salePriceStr?item.salePriceStr:""}} + + {{item.creditPrice}}积分 + + + + 马上抢 + + ¥{{item.priceStr}} + + + + 立即兑换 + + {{setIntervalLsit[index].textTime}} {{setIntervalLsit[index].vaFlag?'活动已结束':setIntervalLsit[index].valueText}} diff --git a/components/commodityMould/commodityMould.ttss b/components/commodityMould/commodityMould.ttss index 8275bed..48e7811 100644 --- a/components/commodityMould/commodityMould.ttss +++ b/components/commodityMould/commodityMould.ttss @@ -1,3 +1,8 @@ +.BoxX{ + overflow: hidden; + background-image: url("https://formall.oss-accelerate.aliyuncs.com/douyin_ifomall/imgData/cmdBg.png"); + background-size: 100% auto;background-repeat: no-repeat; +} .commBox { width: 96%; margin: 27rpx auto; @@ -118,21 +123,27 @@ } .titleNameBox { - /* font-size: 18px; */ - height: 80rpx; - line-height: 40rpx; + + margin-top: 16rpx; + height: 72rpx; + line-height: 36rpx; + display: flex; align-items: center; justify-content: center; } .titleName { + color: #402e1e; + font-size: 30rpx; + font-family: "PingFangSC-Regular"; + font-weight: 400; width: 100%; font-size: 28rpx; - font-family: OPPOSans; - font-weight: 500; - color: #333; - margin-top: 10rpx; + /* font-family: OPPOSans; */ + /* font-weight: 500; */ + /* color: #333; */ + display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @@ -142,7 +153,8 @@ .priceBox { overflow: hidden; - margin: 10rpx 0; + margin: 0 0 10rpx 0; + height: 56rpx; } .f { @@ -155,6 +167,8 @@ .sellingBox { overflow: hidden; + height: 100%; + line-height: 56rpx; } .fuhao { @@ -165,7 +179,25 @@ /* font-weight: bold; */ margin-top: 10rpx; } - + .fuhaoX{ + color: #d5af67; + font-family: "PingFangSC-Medium"; + font-size: 30rpx; + font-weight: 400; + float: left; + } + .btn{ + width: 116rpx; + height: 52rpx; + border-radius: 26rpx; + line-height: 52rpx; + background: linear-gradient(90deg, #E3BA79, #BC8D3E); + text-align: center; + color: #feffff; + font-family: "PingFangSC-Regular"; + font-size: 26rpx; + font-weight: 400; + } .int { float: left; font-size: 36rpx; @@ -176,6 +208,8 @@ .originalBox { overflow: hidden; + height: 100%; + line-height: 56rpx; } .origina { @@ -188,7 +222,27 @@ margin-top: 10rpx; margin-right: 10rpx; } - + .originaX{ + color: #a4a4a4; + font-family: "PingFangSC-Regular"; + font-size: 24rpx; + font-weight: 400; + line-height: 30rpx; + text-decoration: line-through; + /* margin-top: 10rpx; */ + line-height: 60rpx; + margin-left: 10rpx; + } + .jifengBtn{ + background: linear-gradient(90deg, #E3BA79, #BC8D3E); + color: #fff1d9; + font-family: "PingFangSC-Medium"; + font-size: 26rpx; + font-weight: 400; + line-height: 52rpx; + text-align: center; + border-radius: 2rpx; + } .countBox { width: 100%; height: 46rpx; diff --git a/components/coupons/index.ttml b/components/coupons/index.ttml index a2c4cfd..f2cc4cd 100644 --- a/components/coupons/index.ttml +++ b/components/coupons/index.ttml @@ -23,7 +23,10 @@ {{data.title}} {{data.subTitle}} - + + ¥{{data.salePriceStr}} + + ¥ {{data.salePriceStr}} ¥{{data.priceStr}} @@ -51,13 +54,14 @@ - 预售定金:¥{{data.salePriceStr}} + 预售定金:¥{{data.salePriceStr}} - + + - 免费领 已售罄 已下架 + + + + + 免费领 + 购买 + + 去抢购 + + 去砍价 + + 去拼团 + 已售罄 + 已下架 + \ No newline at end of file diff --git a/components/coupons/index.ttss b/components/coupons/index.ttss index 8cd561a..4494a7c 100644 --- a/components/coupons/index.ttss +++ b/components/coupons/index.ttss @@ -124,7 +124,7 @@ .coupons-btn { position: absolute; - bottom: 14rpx; + bottom: 0rpx; right: 24rpx; } @@ -140,6 +140,20 @@ line-height: 51rpx !important; background: linear-gradient(127deg, rgba(252, 177, 74, 1) 0%, rgba(254, 70, 20, 1) 100%) !important; } +.coupons-btn-gmX{ + width: 116rpx !important; + height: 52rpx !important; + border-radius: 26rpx !important; + line-height: 52rpx !important; + background: linear-gradient(90deg, #E3BA79, #BC8D3E) !important; + text-align: center !important; + color: #feffff !important; + font-family: "PingFangSC-Regular"; + font-size: 26rpx !important; + font-weight: 400 !important; + margin: 0 !important; + padding: 0 !important; +} .coupons-btn-gms { background: #b9b9b9 !important; @@ -237,6 +251,15 @@ margin: 20rpx; border-radius: 50%; } +.fuhaoX{ + color: #d5af67; + font-family: "PingFangSC-Medium"; + font-size: 34rpx; + font-weight: 400; + float: left; + + margin-top: 5rpx +} .userinfo-nickname { color: #aaa; @@ -315,9 +338,6 @@ scroll-view { font-size: 26rpx; } -.navigator:nth-of-type(2n+1) { - /* margin-right: 10rpx; */ -} .superscript { position: absolute; diff --git a/components/getPhoen/getPhoen.js b/components/getPhoen/getPhoen.js index 098829f..cc7e901 100644 --- a/components/getPhoen/getPhoen.js +++ b/components/getPhoen/getPhoen.js @@ -85,6 +85,7 @@ Component({ send() { let phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/; if (phoneReg.test(this.data.phone)) { + console.log(this.data.auth); if(this.data.auth!=""){ Http.get({ url: config.api.validationCode, diff --git a/components/hot/hot.js b/components/hot/hot.js index 174cfd5..76dd489 100644 --- a/components/hot/hot.js +++ b/components/hot/hot.js @@ -34,7 +34,6 @@ Component({ methods: { //获取砍价拼团数据 getList(val) { - // debugger let that = this; let param = '' if(val=='1'){ diff --git a/components/hot/hot.ttml b/components/hot/hot.ttml index ee25e65..bec69f5 100644 --- a/components/hot/hot.ttml +++ b/components/hot/hot.ttml @@ -4,7 +4,7 @@ 爆款专区 - + 换一换 @@ -12,14 +12,15 @@ - - + + {{kData.title}} - ¥{{kData.priceStr}} - {{kData.salePriceStr}} + ¥{{kData.priceStr}} + ¥{{kData.salePriceStr}} 砍价 @@ -34,15 +35,16 @@ - + {{pData.title}} - ¥{{pData.priceStr}} - {{pData.salePriceStr}} - 拼团 + ¥{{pData.priceStr}} + ¥{{pData.salePriceStr}} + 拼团 @@ -56,4 +58,4 @@ - + \ No newline at end of file diff --git a/components/navbar/navbar.js b/components/navbar/navbar.js index 04910f3..3e58755 100644 --- a/components/navbar/navbar.js +++ b/components/navbar/navbar.js @@ -72,6 +72,7 @@ Component({ this.setData({ indexFlaig:app.globalData.selected }) + console.log(this.properties); let pages = getCurrentPages(); console.log(pages.length); if (pages.length <= 1) { diff --git a/components/navbar/navbar.ttml b/components/navbar/navbar.ttml index 01b8c13..d107f76 100644 --- a/components/navbar/navbar.ttml +++ b/components/navbar/navbar.ttml @@ -2,7 +2,7 @@ - + diff --git a/components/navbar/navbar.ttss b/components/navbar/navbar.ttss index 055b358..7b8052c 100644 --- a/components/navbar/navbar.ttss +++ b/components/navbar/navbar.ttss @@ -10,7 +10,7 @@ } .title-container { - height: 44px; + height: 50px; display: flex; align-items: center; position: relative; diff --git a/components/optimization/optimization.js b/components/optimization/optimization.js index 58bfb32..c51412f 100644 --- a/components/optimization/optimization.js +++ b/components/optimization/optimization.js @@ -39,6 +39,17 @@ Component({ this.setData({ classIndex:index }) + }, + goLsit(){ + tt.navigateTo({ + url: '/pages/liveLsit/liveLsit', + success: (res) => { + + }, + fail: (res) => { + + }, + }); } } diff --git a/components/optimization/optimization.ttml b/components/optimization/optimization.ttml index 8db3b72..6c46bbc 100644 --- a/components/optimization/optimization.ttml +++ b/components/optimization/optimization.ttml @@ -5,11 +5,16 @@ - - - {{item.title}} - + + + + + + {{item.title}} + + + @@ -19,16 +24,26 @@ {{item.title}} - + + + + + + + ¥{{item.salePriceStr?item.salePriceStr:""}} + + 马上抢 diff --git a/components/optimization/optimization.ttss b/components/optimization/optimization.ttss index a1698c8..25450cf 100644 --- a/components/optimization/optimization.ttss +++ b/components/optimization/optimization.ttss @@ -1,6 +1,7 @@ .optimizationBox { /* overflow: hidden; */ margin-top: 20rpx; + margin-bottom: 100rpx; } .titleImg { @@ -35,7 +36,11 @@ .r { float: right; } - + .classifyBox-go-box{ + + background-color: #fff; + } + .classifyBox { width: 100%; border-radius: 20rpx 20rpx 0 0; @@ -45,12 +50,24 @@ overflow-x: scroll; -webkit-overflow-scrolling: touch; /* margin: 10rpx 0; *//* background: linear-gradient(0deg, #F5F5F5, #fff); */ + float: left; + } + .goLsit{ + width: 20%; + float: left; + font-size: 28rpx; + color: #454340; + margin: 20rpx 0 10rpx 0; } .classifyBox::-webkit-scrollbar { display: none; } - + .rup{ + width: 13rpx; + height: 20rpx; + margin: 2rpx 0 0 6rpx; + } .itemBox { width: 100rpx; height: 100rpx; @@ -116,12 +133,19 @@ border-radius: 20rpx 20rpx 0 0; } .titleName{ + color: #402e1e; + font-size: 30rpx; + font-family: "PingFangSC-Regular"; + font-weight: 400; + width: 100%; + font-size: 28rpx; + width:90%; height: 80rpx; font-size: 28rpx; - font-family: OPPOSans; - font-weight: 500; - color: #333333; + /* font-family: OPPOSans; */ + /* font-weight: 500; */ + /* color: #333333; */ margin: 10rpx auto 0 auto; overflow: hidden; @@ -154,6 +178,27 @@ /* font-weight: bold; */ margin-top: 10rpx } + .fuhaoX{ + color: #d5af67; + font-family: "PingFangSC-Medium"; + font-size: 34rpx; + font-weight: 400; + float: left; + + margin-top: 5rpx + } + .btn{ + width: 136rpx; + height: 52rpx; + border-radius: 26rpx; + line-height: 52rpx; + background: linear-gradient(90deg, #E3BA79, #BC8D3E); + text-align: center; + color: #feffff; + font-family: "PingFangSC-Regular"; + font-size: 28rpx; + font-weight: 400; + } .int{ float: left; font-size: 36rpx; diff --git a/components/store/index.js b/components/store/index.js index d398f64..f0043a9 100644 --- a/components/store/index.js +++ b/components/store/index.js @@ -33,6 +33,39 @@ Component({ url: `/pages/index/searchbar/detail/index?id=${e.currentTarget.dataset.id}` }) }, + goCertification(e){ + tt.navigateTo({ + url: `/pages/shopCertification/shopCertification?id=${e.currentTarget.dataset.id}` + }) + }, + goFitShop(){ + tt.navigateTo({ + url: `/pages/fitShop/fitShop?list=${JSON.stringify(this.data.merchantVoList)}`, + success: (res) => { + + }, + fail: (res) => { + + }, + }); + }, + goMap(e){ + + let {latitude,longitude} = e.currentTarget.dataset.item + console.log(latitude,longitude); + tt.openLocation({ + latitude:Number(latitude), + longitude:Number(longitude), + scale: 18, + success() { + console.log("打开地图成功"); + }, + fail(err) { + console.log("打开地图失败:", err.errMsg); + }, + }); + + }, // 点击查看更多 more: function () { console.log(this.properties.merchantVoList,"merchantVoList"); @@ -58,8 +91,10 @@ Component({ tt.makePhoneCall({ phoneNumber: e.target.dataset.merchantlinkphone }); - } + }, + }, + ready: function () { let merchantVoList = this.properties.merchantVoList; if (merchantVoList.length>0){ diff --git a/components/store/index.ttml b/components/store/index.ttml index 2c7c2e1..93fe529 100644 --- a/components/store/index.ttml +++ b/components/store/index.ttml @@ -1,6 +1,43 @@ -适用门店 - -