Commit d0b7eb87 by liimin

Merge branch 'v1.0.0' of http://192.168.3.233:8090/ujia/uj-admin into v1.0.0

2 parents 1fd10ac7 e51b7481
Pipeline #399 for d0b7eb87 failed in 0 seconds
...@@ -129,11 +129,7 @@ Page({ ...@@ -129,11 +129,7 @@ Page({
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function () {},
let userInfo = wx.p.storage.get('userInfo')
this.setData({userInfo})
this.getShoppingcartList()
},
getShoppingcartList() { getShoppingcartList() {
wx.p.wxApi.showLoading() wx.p.wxApi.showLoading()
let userInfo = wx.p.storage.get('userInfo') let userInfo = wx.p.storage.get('userInfo')
...@@ -189,9 +185,7 @@ Page({ ...@@ -189,9 +185,7 @@ Page({
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function () { onShow: function () {},
this.getShoppingcartList()
},
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
*/ */
...@@ -203,9 +197,7 @@ Page({ ...@@ -203,9 +197,7 @@ Page({
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh: function () { onPullDownRefresh: function () {},
this.getShoppingcartList()
},
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
...@@ -249,4 +241,4 @@ Page({ ...@@ -249,4 +241,4 @@ Page({
[`goodsList[${index}].showDel`]: result [`goodsList[${index}].showDel`]: result
}) })
} }
})
\ No newline at end of file \ No newline at end of file
})
{ {
"navigationBarTitleText": "购物车", "navigationBarTitleText": "购物车",
"usingComponents": {
"stepper": "/components/Stepper/Stepper"
},
"onReachBottomDistance": 10,
"backgroundTextStyle": "dark",
"enablePullDownRefresh": true
}
\ No newline at end of file \ No newline at end of file
"backgroundTextStyle": "dark"
}
page { page {
background: #F7F8FA; background: #F7F8FA;
} }
.coming-soon {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #7A8299;
font-size: 32rpx;
}
.coming-soon-image {
width: 260rpx;
height: 260rpx;
margin-bottom: 24rpx;
}
.layout { .layout {
overflow: auto; overflow: auto;
} }
...@@ -187,4 +204,4 @@ page { ...@@ -187,4 +204,4 @@ page {
.specification { .specification {
font-size: 24rpx; font-size: 24rpx;
color: #B1B1B3; color: #B1B1B3;
}
\ No newline at end of file \ No newline at end of file
}
<view class="coming-soon">
<image class="coming-soon-image" mode="aspectFit" src="https://coresg-normal.trae.ai/api/ide/v1/tool_text_to_image?prompt=Minimal%20modern%203D%20illustration%20of%20a%20warm%20orange%20gift%20box%20with%20a%20small%20clock%20and%20sparkles%2C%20isolated%20on%20a%20pale%20cream%20background%2C%20no%20text%2C%20clean%20mobile%20app%20empty%20state%2C%20soft%20shadows&amp;image_size=square" />
<text>敬请期待</text>
</view>
<block wx:if="{{false}}">
<view class="layout" style="padding-bottom:{{padding_bottom }}px;height: calc(100vh - {{padding_bottom}}px);"> <view class="layout" style="padding-bottom:{{padding_bottom }}px;height: calc(100vh - {{padding_bottom}}px);">
<block wx:if="{{shoppingcartFlag}}"> <block wx:if="{{shoppingcartFlag}}">
<block wx:if="{{!goodsList.length}}"> <block wx:if="{{!goodsList.length}}">
...@@ -69,4 +74,5 @@ ...@@ -69,4 +74,5 @@
<button class="btn text-center" bindtap="checkOut" disabled="{{count<1}}">结算({{count || 0}})</button> <button class="btn text-center" bindtap="checkOut" disabled="{{count<1}}">结算({{count || 0}})</button>
</view> </view>
</goods-action> </goods-action>
</block>
\ No newline at end of file \ No newline at end of file
</block>
</block>
...@@ -116,17 +116,7 @@ Page({ ...@@ -116,17 +116,7 @@ Page({
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad() {},
const userInfo = wx.p.storage.get('userInfo')
this.setData({userInfo})
wx.p.router.getRouterParams(options).then(params => {
this.setData({loginPageFlag: params?.loginPageFlag}, () => {
this.getPointsWallet()
})
}).catch(err => {
console.error('参数获取失败:', err)
})
},
// 获取积分会配置 // 获取积分会配置
getHomeData() { getHomeData() {
...@@ -353,15 +343,7 @@ Page({ ...@@ -353,15 +343,7 @@ Page({
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function () { onShow: function () {},
this.getWalletData()
this.getGoodsList()
this.getCategory()
this.getHomeData()
if (this.data.shouldAnimate) { // 恢复公告动画
this.resetAnimation()
}
},
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
...@@ -396,4 +378,4 @@ Page({ ...@@ -396,4 +378,4 @@ Page({
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage: function () {} onShareAppMessage: function () {}
})
\ No newline at end of file \ No newline at end of file
})
.coming-soon {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #7A8299;
font-size: 32rpx;
}
.coming-soon-image {
width: 260rpx;
height: 260rpx;
margin-bottom: 24rpx;
}
/* pages/tab/index/pages/index/index.wxss */ /* pages/tab/index/pages/index/index.wxss */
.page-title { .page-title {
text-align: center; text-align: center;
......
<view class="coming-soon">
<image class="coming-soon-image" mode="aspectFit" src="https://coresg-normal.trae.ai/api/ide/v1/tool_text_to_image?prompt=Minimal%20modern%203D%20illustration%20of%20a%20warm%20orange%20gift%20box%20with%20a%20small%20clock%20and%20sparkles%2C%20isolated%20on%20a%20pale%20cream%20background%2C%20no%20text%2C%20clean%20mobile%20app%20empty%20state%2C%20soft%20shadows&amp;image_size=square" />
<text>敬请期待</text>
</view>
<block wx:if="{{false}}">
<navigation-bar page-title="积分会" custom navStyle="{{navStyle}}" bindnavbarReady="navbarReady"> <navigation-bar page-title="积分会" custom navStyle="{{navStyle}}" bindnavbarReady="navbarReady">
<view class="page-title">积分会</view> <view class="page-title">积分会</view>
</navigation-bar> </navigation-bar>
...@@ -77,4 +82,5 @@ ...@@ -77,4 +82,5 @@
<!-- 开通钱包 --> <!-- 开通钱包 -->
<enable-wallet show="{{showEnableWallet}}" walletObj="{{walletObj}}"></enable-wallet> <enable-wallet show="{{showEnableWallet}}" walletObj="{{walletObj}}"></enable-wallet>
<sku bind:cancelSku="closeSku" wx:if="{{showSku}}" bind:getCount="getCount" show="{{showSku}}" goods="{{detailInfo}}" clickType="join"></sku> <sku bind:cancelSku="closeSku" wx:if="{{showSku}}" bind:getCount="getCount" show="{{showSku}}" goods="{{detailInfo}}" clickType="join"></sku>
<glsx-privacy appletName="积分会"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
<glsx-privacy appletName="积分会"></glsx-privacy>
</block>
...@@ -30,12 +30,11 @@ Page({ ...@@ -30,12 +30,11 @@ Page({
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad() {
let userInfo = wx.p.storage.get("userInfo"); let userInfo = wx.p.storage.get("userInfo");
this.setData({ this.setData({
userInfo, userInfo,
}); });
this.searchScoreSummaryData();
// this.getMemberCardData(); // this.getMemberCardData();
}, },
searchScoreSummaryData() { searchScoreSummaryData() {
...@@ -56,7 +55,10 @@ Page({ ...@@ -56,7 +55,10 @@ Page({
} }
}).catch((err) => { }).catch((err) => {
wx.p.wxApi.showToast(JSON.stringify(err)) const errorCode = err?.code || err?.cause?.code || err?.reason?.code;
// 同一接口刷新时会主动取消前一个请求,无需提示用户。
if (errorCode === "CANCELLED" || errorCode === "CANCELED") return;
wx.p.wxApi.showToast(err?.message || err?.detail || err?.errMsg || "积分信息获取失败");
}) })
}, },
go(e) { go(e) {
......
...@@ -70,6 +70,6 @@ ...@@ -70,6 +70,6 @@
], ],
"include": [] "include": []
}, },
"appid": "wx7ce755e425603084", "appid": "wx2dcdc028b44bbebd",
"libVersion": "3.9.0" "libVersion": "3.9.0"
} }
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"libVersion": "3.9.0", "libVersion": "3.9.0",
"projectname": "points", "projectname": "points",
"setting": { "setting": {
"urlCheck": false, "urlCheck": true,
"coverView": true, "coverView": true,
"lazyloadPlaceholderEnable": false, "lazyloadPlaceholderEnable": false,
"skylineRenderEnable": false, "skylineRenderEnable": false,
......
// pages/tab/output/output.js
// const navStyle = "background-color: transparent;";
// import { subscriptionBannerUrl, subscriptionSystemData } from './constant/systemData'
// import {scenceList} from "./constant/data"
import ActivityApi from "~/api/activityApi/index";
import {
getActivityRecord
} from '~/api/viewprod'
import {
IMG_VERSION
} from "~/utils/constantData";
import {
imgUrlMixin
} from "~/mixins/index";
const IMG_URL = wx.$imgUrl;
let leftMenuIndex = 0
Page({ Page({
// behaviors: [imgUrlMixin],
data: {
// navList: ["增值服务", "客户数字化"],
myTabIdx: 0,
IMG_URL,
// subscriptionBannerUrl: Object.freeze(subscriptionBannerUrl),
// subscriptionSystemData: Object.freeze(subscriptionSystemData),
activityList: [],
resScenceList: [],
curTabIdx: 0,
curTabId: 0,
img_version: IMG_VERSION(),
headerHeight: 0,
actNum: 0,
// navStyle,
sceneCodeList: [],
showPage: false,
systemData: [],
productData: [],
},
// 产品点击事件
proClick(e) {
//登录的用户手机号
let userInfo = wx.$storage.get("userInfo");
const {
info,
sceneCode
} = e.detail
let obj = {
phone: userInfo.phone,
id: info.id,
sceneCode
}
wx.$router.go('/packagesList/packageDiscovery/pages/productDetail/productDetail', obj)
},
sysMenuClick(e) {
const {
id
} = e.detail;
leftMenuIndex = id;
},
// 视频点击事件
videoClick(e) {
const {
info,
sceneCode
} = e.detail
// 一级菜单ID
const typeId = this.data.myTabIdx == 0 ? this.data.productDataId : this.data.systemDataId
const obj = {
hasPhoneNumber: this.data.hasPhoneNumber,
id: info.info.id,
tabsActive: info.tabsActive,
sceneCode,
typeId
}
wx.$router.go('/packagesList/packageDiscovery/pages/videoDetail/videoDetail', obj)
},
leftClick(e) {
const {
sceneid
} = e.detail
const idx = this.data.resScenceList?.findIndex(item => item.sceneid == sceneid) || 0
this.setData({
curTabId: sceneid,
curTabIdx: idx
})
},
senceClick(e) {
// const { scenIndex } = e.detail
// wx.$router.go('/packageStoreAssistant/packageDiscovery/pages/scenarioDetail/scenarioDetail', {
// actNum: scenIndex
// })
// 如果没有sceneCode,或者没有配置banner跳转 isBannerLink 2-没有配置 1-有配置
if (!e.detail.sceneCode || e.detail.isBannerLink != 1) return
const {
hasPhoneNumber
} = this.data
// 获取场景
let systemItem = this.data.systemData.find(item => item.sceneCode == e.detail.sceneCode)
let productItem = this.data.productData.find(item => item.sceneCode == e.detail.sceneCode)
let id = ''
if (systemItem) {
id = systemItem.subList.length ? systemItem.subList[0].productList[0]?.id : systemItem.productList[0].id
} else {
id = productItem.subList.length ? productItem.subList[0].productList[0]?.id : productItem.productList[0].id
}
if (!id) return
wx.$router.go('/packagesList/packageDiscovery/pages/productDetail/productDetail', {
hasPhoneNumber,
id,
sceneCode: e.detail.sceneCode
})
},
activityClick(e) {
const id = e.detail
wx.$router.go(
"/packagesList/packageDiscovery/pages/activityDetail/activityDetail", {
id
}
);
},
// 获取全部活动列表
getActivityRecord() {
getActivityRecord({}).then(({
data,
code,
message
}) => {
if (code == -1) {
wx.showToast({
title: message,
icon: 'none',
duration: 2000
})
}
this.setData({
activityList: data
})
})
},
changeMyTab(e) {
const {
id
} = e.currentTarget.dataset
this.setData({
myTabIdx: id
});
},
onShow() { onShow() {
if (typeof this.getTabBar === 'function' ) { if (typeof this.getTabBar === 'function') {
this.getTabBar((tabBar) => { this.getTabBar((tabBar) => {
tabBar.setData({ tabBar.setData({
active: 1 active: 1
...@@ -157,139 +8,4 @@ Page({ ...@@ -157,139 +8,4 @@ Page({
}) })
} }
}, },
onLoad(option) {
// this.setData({
// tabIndex: option?.tabIndex || 0
// })
this.getActivityRecord()
const app = getApp()
app.getBaseData().then(res => {
const productData = res[0].subList
const systemData = res[1].subList
// this.getSceneData(productData)
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
systemDataId: res[1].id,
productData,
productDataId: res[0].id,
})
})
},
emitUserInfo(options) {
},
getSceneData(list) {
const {
merchantId
} = wx.$storage.get("userInfo");
wx.showLoading({
title: "加载中...",
});
ActivityApi.getOpenSceneList({
merchantId,
})
.then((res) => {
wx.hideLoading();
let productData = []
if (res.code == 21) {
wx.$router.reLaunch('/packageStoreAssistant/packageAuth/pages/authentication/login/login')
return;
}
if (res?.data?.length > 0) {
// let res ={
// data: [
// {
// sceneCode: "SC001",
// status: 1,
// },
// {
// sceneCode: "SC002",
// status: 1,
// },
// {
// sceneCode: "SC003",
// status: 1,
// },
// {
// sceneCode: "SC004",
// status: 1,
// },
// {
// sceneCode: "SC005",
// status: 1,
// },
// ]
// }
let openList = []
res.data.forEach(item => {
if (item.status == 1) {
openList.push(item.sceneCode)
}
})
productData = list.filter(item => openList.includes(item.sceneCode))
}
})
.catch((err) => {
this.setData({
showPage: true,
});
});
},
navbarReady(e) {
let {
height
} = e.detail;
this.setData({
headerHeight: height,
});
},
onPageScroll(scrollTop) {
let opacity = scrollTop / 100;
let color = `rgba(255,255,255${opacity > 1 ? 1 : opacity})`;
// this.setData({
// navStyle: scrollTop == 0 ? navStyle : `background-color:${color};`
// })
wx.$eventbus.emit("evt_page_scroll", {
scrollTop
});
},
changeSwiper(e) {
this.setData({
actNum: e.detail.currentItemId,
});
},
// 跳转咨询页面
goConsult() {
wx.openCustomerServiceChat({
extInfo: {
url: "https://work.weixin.qq.com/kfid/kfcf7b721472201345e"
},
corpId: "ww047bdc0f1e76cc13",
complete: (r) => {},
});
},
applyActivity() {
wx.$router.go(
"/packagesList/packageActivity/pages/applyActivity/applyActivity"
);
},
// 显示测算弹窗
showCalculate() {
wx.$router.go(
"/packagesList/packageDiscovery/pages/measure/measure/measure"
);
},
attached() {
this.setData({
isFullSucreen: wx.$api.isFullSucreen(),
});
},
});
\ No newline at end of file \ No newline at end of file
});
{ {
"usingComponents": {
"gl-scenario": "glsx-applet-component/scenario/index",
"gl-subscription": "glsx-applet-component/subscription/index"
},
"navigationStyle": "custom" "navigationStyle": "custom"
}
\ No newline at end of file \ No newline at end of file
}
/* pages/tab/output/output.wxss */ page {
page{
background-color: #fff; background-color: #fff;
} }
.topBg { .coming-soon {
position: sticky;
top: 0;
width: 100%;
background-size: 100% 100%;
z-index: 2;
}
.pro-head {
// .pro-head-hidden{
// visibility: hidden;
// }
color: #3666fe;
.van-tabs__line {
width: 40rpx !important;
height: 8rpx;
background: #5969F4;
border-radius: 4rpx;
}
.van-ellipsis {
overflow: visible;
text-overflow: auto;
}
.van-tab--active {
.van-ellipsis {
font-weight: 600;
font-size: 40rpx;
color: #323436;
overflow: visible;
text-overflow: auto;
}
}
.pro-banner {
display: block;
margin: 8rpx auto 20rpx;
width: 710rpx;
height: 254rpx;
border-radius: 20rpx;
}
}
.my-tab{
display: flex; display: flex;
.my-tab-item{ min-height: 100vh;
font-weight: 400; box-sizing: border-box;
font-size: 28rpx; padding-bottom: 120rpx;
color: #8A8C90; flex-direction: column;
text-align: center; align-items: center;
height: 52rpx; justify-content: center;
display: inline-block;
line-height: 52rpx;
margin-right: 30rpx;
&:last-child{
margin-right: 0;
}
}
.tab-item-active{
font-weight: 600;
font-size: 34rpx;
color: #323436;
}
}
.container{
position: relative;
.bar-text {
font-weight: 600;
font-size: 34rpx;
color: #2D2D2E;
}
.header{
padding-bottom: 16rpx;
}
.scene-wrap {
white-space: nowrap;
height: 180rpx;
.scene-img {
width: 100%;
}
}
.bg-img{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 304rpx;
box-shadow: 0 16rpx 16rpx 0 rgba(230, 236, 245, 0.6);
}
}
.novideo-img{
height: 480rpx !important;
}
.chat,.applyAct {
position: fixed;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 128rpx;
height: 128rpx;
border-radius: 50%;
z-index: 3;
right: 5rpx;
}
.applyAct{
top: calc(50% + 200rpx);
.icon{
width: 128rpx;
height: 128rpx;
}
}
/* 测算 */
.calculate {
position: fixed;
right: 0;
top: calc(50% + 150rpx);
transform: translateY(-50%);
z-index: 3;
}
.icon-calculate {
width: 150rpx;
height: 150rpx;
} }
/* 测算弹窗 */ .coming-soon-image {
.dialog-wrapper { width: 360rpx;
position: fixed; height: 360rpx;
height: 100vh;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(45,45,51,0.50);
z-index: 4;
.dialog-box {
position: fixed;
bottom: 0;
width: 100%;
height: 844rpx;
background-color: #fff;
box-shadow: 0 -8rpx 20rpx 0 rgba(180,186,204,0.32);
border-radius: 32rpx 32rpx 0 0;
}
.dialog-header {
display: flex;
justify-content: space-between;
padding: 32rpx 48rpx;
border-bottom: 1rpx solid #eee;
}
.header-btn {
display: inline-block;
font-size: 32rpx;
line-height: 48rpx;
}
.btn-gray {
color: #6C737A;
}
.btn-primary {
background-color: #fff;
border: none;
margin: 0;
padding: 0;
font-weight: 500;
color: #5850FF;
}
.btn-primary::after {
border: none;
}
.dialog-content {
padding: 40rpx 24rpx 60rpx;
}
.dialog-title {
font-weight: 600;
font-size: 36rpx;
color: #333333;
letter-spacing: 0;
text-align: center;
line-height: 56rpx;
margin-bottom: 24rpx;
}
.dialog-form {
width: 100%;
height: 384rpx;
background-image: linear-gradient(179deg, rgba(123,112,255,0.02) 15%, rgba(99,92,255,0.10) 100%);
border-radius: 8rpx;
padding: 32rpx;
box-sizing: border-box;
}
.form-item {
display: flex;
align-items: center;
height: 80rpx;
margin-bottom: 24rpx;
justify-content: space-between;
}
.form-label {
width: 256rpx;
font-size: 28rpx;
color: #2D2D33;
}
.form-input {
width: 216rpx;
padding: 16rpx 20rpx;
border: 2rpx solid #E6E6E6;
border-radius: 4rpx;
margin-left: 64rpx;
margin-right: 16rpx;
}
.form-unit {
font-size: 28rpx;
color: #6E6E7A;
}
.dialog-btn {
width: 100%;
padding: 24rpx 0;
box-sizing: border-box;
background: #5850FF;
border-radius: 8rpx;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
letter-spacing: 0.8rpx;
text-align: center;
line-height: 48rpx;
margin-top: 40rpx;
}
} }
.emptyData{ .coming-soon-text {
width: 100%; margin-top: 32rpx;
text-align: center; font-size: 32rpx;
.tip{ font-weight: 500;
margin-top: 16rpx; color: #8a8c90;
font-size: 28rpx;
color: #7A8299;
text-align: center;
}
.nodata_icon{
width: 400rpx;
height: 400rpx;
}
} }
<view class="container" style="padding-bottom: calc(150rpx + {{isFullSucreen ? '34' : 0}}px);"> <view class="coming-soon">
<navigation-bar bindnavbarReady="navbarReady"> <image
<view class="my-tab"> class="coming-soon-image"
<view wx:for="{{tabList}}" wx:key="index" bindtap="changeMyTab" data-id="{{index}}" class='my-tab-item {{myTabIdx==index ? "tab-item-active": ""}}'>{{item.name}}</view> mode="aspectFit"
</view> src="/images/discovery-coming-soon.jpg"
</navigation-bar> />
<view class="topBg" style="height:{{headerHeight}}px; background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant/mine_center_bg.png?v=1.0.3')"></view> <view class="coming-soon-text">敬请期待</view>
<!-- 系统订阅 -->
<block wx:if="{{myTabIdx == 1}}">
<!-- <gl-subscription list="{{subscriptionSystemData}}" bindmenuClick="sysMenuClick" bannerUrl="{{subscriptionBannerUrl}}" bind:proClick="proClick" bindcurrentScen="getCurrentScen" data-name="客户数字化" bind:videoClick="videoClick" /> -->
<gl-subscription list="{{systemData}}" novideo-img="novideo-img" bindmenuClick="sysMenuClick" bind:proClick="proClick" data-name="客户数字化" bind:videoClick="videoClick" bindsenceClick="senceClick" />
</block>
<!-- 增值服务 -->
<block wx:if="{{myTabIdx==0}}">
<!-- <gl-scenario discoverIndex="{{curTabIdx}}" currentScenIndex="{{curTabId}}" novideo-img="novideo-img" list="{{resScenceList}}" activityList="{{activityList}}" bindactivityClick="activityClick" bindproClick="proClick" bind:videoClick="videoClick" bindsenceClick="senceClick" activityList="{{activityList}}" bindleftClick="leftClick"></gl-scenario> -->
<gl-scenario list="{{productData}}" activityList="{{activityList}}" novideo-img="novideo-img" bindactivityClick="activityClick" bindproClick="proClick" bind:videoClick="videoClick" bindsenceClick="senceClick" bindleftClick="leftClick" bindcurrentScen="getCurrentScen"></gl-scenario>
</block>
<!-- 测算按钮 -->
<block wx:if="{{myTabIdx==1 || myTabIdx==0 && resScenceList.length && showPage}}">
<view class="calculate" bindtap="showCalculate">
<glsx-image class="icon-calculate" webp src="store-assistant/calc.png"></glsx-image>
</view>
</block>
<!-- 增值服务无数据时展示 -->
<block wx:if="{{myTabIdx==0 && productData.length<=0 && showPage}}">
<view class="emptyData" style="margin-top: {{headerHeight+32}}px;">
<glsx-image webp src="store-assistant/toLink.png" class="nodata_icon"></glsx-image>
<view class="tip">
<view>您的门店尚未开通业务场景,</view>
<view>请联系在线客服进行咨询,谢谢。</view>
</view>
</view>
</block>
</view> </view>
<!-- 在线客服 -->
<glsx-image webp mode="aspectFit" wx:if="{{showPage}}" class="chat" src="store-assistant/kefu.png" bindtap="goConsult" />
\ No newline at end of file \ No newline at end of file
page {
background-color: #fff;
}
.coming-soon {
display: flex;
min-height: 100vh;
box-sizing: border-box;
padding-bottom: 120rpx;
flex-direction: column;
align-items: center;
justify-content: center;
}
.coming-soon-image {
width: 360rpx;
height: 360rpx;
}
.coming-soon-text {
margin-top: 32rpx;
font-size: 32rpx;
font-weight: 500;
color: #8a8c90;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!