Procházet zdrojové kódy

修改样式和小程序标题

hyq před 6 roky
rodič
revize
920b22a017

+ 3 - 1
wx-mall/pages/goods/goods.wxss

@@ -565,7 +565,8 @@
   height: auto;
   overflow: hidden;
 
-  padding: 0 31.25rpx 25rpx 31.25rpx;
+  /* padding: 0 31.25rpx 25rpx 31.25rpx; */
+  padding: 0 3rpx 2rpx 3rpx;
   background: #fff;
 }
 
@@ -1135,4 +1136,5 @@
   height: 104rpx;
   line-height: 104rpx;
   font-size: 38.5rpx;
+  margin-left:20rpx;
 }

+ 3 - 3
wx-mall/pages/index/index.js

@@ -140,7 +140,7 @@ Page({
     let that = this;
     if (wx.getStorageSync('storeId')) {
       // console.log(wx.getStorageSync('userId'));
-      console.log(wx.getStorageSync('storeId'));
+      // console.log(wx.getStorageSync('storeId'));
       // console.log(wx.getStorageSync('merchSn'));
       if (wx.getStorageSync('userId')){
         wx.request({
@@ -170,11 +170,11 @@ Page({
   // 同步门店
   syncStore: function () {
     let that = this;
-    console.log(wx.getStorageSync('merchSn'));
+    // console.log(wx.getStorageSync('merchSn'));
     //获取附件门店信息
     util.getLocation((lng, lat) => {
       wx.setStorageSync('location', JSON.stringify({ lng, lat }));
-      util.request(api.NearbyList, { longitude: lng, latitude: lat, storeId: that.data.storeId }).then((res) => {
+      util.request(api.NearbyList, { longitude: lng, latitude: lat, storeId: 7 }).then((res) => {
         let nlist = res.data;
         // console.log(nlist);
         wx.removeStorageSync('nearStoreList');

+ 2 - 1
wx-mall/pages/index/index.json

@@ -1 +1,2 @@
-{}
+{
+  "navigationBarTitleText": "前海跨境电商"}