浏览代码

添加外链客服地址

wkw 2 周之前
父节点
当前提交
4a33d24850

+ 2 - 1
app.json

@@ -11,7 +11,8 @@
     "pages/coupon/coupon",
     "pages/couponDetail/couponDetail",
     "pages/competitionRecords/competitionRecords",
-    "pages/storeIcon/storeIcon"
+    "pages/storeIcon/storeIcon",
+    "pages/webview/webview"
   ],
   "window": {
     "navigationBarTextStyle": "black",

+ 1 - 0
pages/mine/mine.js

@@ -45,6 +45,7 @@ Page({
       2: `/pages/coupon/coupon`,
       3: `/pages/setting/setting`,
       4:`/pages/competitionRecords/competitionRecords`,
+      5:`/pages/webview/webview`,
     };
     if (pageMap[index]) {
       wx.navigateTo({ url: pageMap[index] });

+ 1 - 1
pages/mine/mine.wxml

@@ -24,7 +24,7 @@
             <view slot="title">
               <view class="van-cell-text">{{item.title}}</view>
             </view>
-            <button open-type="contact" class="cover-btn" wx:if="{{index == 5}}"></button>
+            <!-- <button open-type="contact" class="cover-btn" wx:if="{{index == 5}}"></button> -->
 
             <!-- 未登录覆盖授权按钮 -->
             <button 

+ 4 - 0
pages/store/store.wxss

@@ -1,3 +1,7 @@
+.container{
+  background: linear-gradient(to bottom, #fcecd8 0%, #fcf4eb 60%, #F7F7F7 100%);
+  background-size: 100% 100%;
+}
 .content{
   margin: 34rpx 0;
   flex: 1;

+ 5 - 1
pages/storeIcon/storeIcon.wxss

@@ -1,6 +1,7 @@
-/* pages/store/store.wxss */
 .container{
   height: 100vh;
+  background: linear-gradient(to bottom, #fcecd8 0%, #fcf4eb 60%, #F7F7F7 100%);
+  background-size: 100% 100%;
 }
 .content{
   margin: 34rpx 0;
@@ -12,6 +13,9 @@
   align-items: center;
   height: 160rpx;
   margin: 0 32rpx 48rpx;
+  background-color:rgba(255, 255, 255, 0.8);
+  border-radius: 20rpx;
+  padding: 32rpx 16rpx;
 }
 .no-margin{
   margin-bottom: 0;

+ 66 - 0
pages/webview/webview.js

@@ -0,0 +1,66 @@
+// pages/webview/webview.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
+})

+ 3 - 0
pages/webview/webview.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 1 - 0
pages/webview/webview.wxml

@@ -0,0 +1 @@
+<web-view src="https://chat-scsp.xixikf.com/index.html?instanceId=MjIxMTU3NA%3D%3D&xsp_tenantid=1201185098&terminalType=1&preview=1&lang=zh_CN"></web-view>

+ 1 - 0
pages/webview/webview.wxss

@@ -0,0 +1 @@
+/* pages/webview/webview.wxss */