浏览代码

商户信息

zhaoxiaohai 3 年之前
父节点
当前提交
b47c69c7f8
共有 7 个文件被更改,包括 127 次插入2 次删除
  1. 2 0
      README.md
  2. 2 2
      app.json
  3. 66 0
      pages/storeMessage/index.js
  4. 3 0
      pages/storeMessage/index.json
  5. 43 0
      pages/storeMessage/index.wxml
  6. 5 0
      pages/storeMessage/index.wxss
  7. 6 0
      project.private.config.json

+ 2 - 0
README.md

@@ -10,6 +10,8 @@
 
 ​	productManagement -- index-产品管理 change-产品新增或修改
 
+​	storeMessage -- 商户信息
+
 # 自定义组件:
 
 ​	My_Background -- 背景图片 //登录页面背景

+ 2 - 2
app.json

@@ -6,8 +6,8 @@
         "pages/teamManagement/index",
         "pages/teamManagement/change",
         "pages/productManagement/index",
-        "pages/productManagement/change"
-
+        "pages/productManagement/change",
+        "pages/storeMessage/index"
     ],
     "usingComponents": {
         "van-button": "@vant/weapp/button/index",

+ 66 - 0
pages/storeMessage/index.js

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

+ 3 - 0
pages/storeMessage/index.json

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

+ 43 - 0
pages/storeMessage/index.wxml

@@ -0,0 +1,43 @@
+<My_GeneralTemplate padBot="20rpx">
+    <view class="store_message">
+        <My_GreyRectangleForm title="品牌名" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="品牌LOGO" required>
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="经营类目" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="联系人" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="联系方式" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="注册公司名" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="公司介绍" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="地址" required>
+            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+        <My_GreyRectangleForm title="统一社会代码" required>
+            <van-field autosize model:value="{{ fname }}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
+        </My_GreyRectangleForm>
+
+    </view>
+</My_GeneralTemplate>
+<!-- 提交按钮 -->
+<view class="submit_but">
+    <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
+</view>

+ 5 - 0
pages/storeMessage/index.wxss

@@ -0,0 +1,5 @@
+@import "/css/form2.wxss";
+
+.store_message {
+    padding: 0 30rpx;
+}

+ 6 - 0
project.private.config.json

@@ -47,6 +47,12 @@
                     "pathName": "pages/productManagement/change",
                     "query": "",
                     "scene": null
+                },
+                {
+                    "name": "商户信息",
+                    "pathName": "pages/storeMessage/index",
+                    "query": "",
+                    "scene": null
                 }
             ]
         }