This commit is contained in:
2024-08-22 12:47:21 +08:00
commit dedb40f497
373 changed files with 5393 additions and 0 deletions

View File

@@ -0,0 +1 @@
var a=require("../../utils/request");Page({data:{addr:"",content:"",gs:"",name:"",phone:""},onShow:function(){},onLoad:function(t){var n=this,e=t.openid;a.request({url:"/index.php?s=/api/api/phone",method:"GET",showLoading:!1,data:{openid:e}}).then((function(a){console.log(a),n.setData({addr:a.data.data.addr,content:a.data.data.content,gs:a.data.data.gs,name:a.data.data.name,phone:a.data.data.phone})})).catch((function(a){console.log("ERROR")}))}});

View File

@@ -0,0 +1 @@
{"navigationBarTitleText":"联系我们","usingComponents":{}}

View File

@@ -0,0 +1,29 @@
<view class="guanyu">
<view class="contact bdbt">
<view class="title">{{gs}}</view>
<view class="about-content">
<text class="ct" style="color:#8a8a8a; padding: 5rpx;">{{content}}
</text>
</view>
</view>
<view style="height:20rpx; background:#f5f5f5"></view>
<view class="contact bdbt">
<view class="title">联系我们</view>
<view class="col">
<text class="lt">公司:</text>
<text class="ct" style="color:#8a8a8a;">{{gs}}</text>
</view>
<view class="col">
<text class="lt">地址:</text>
<text class="ct" style="color:#8a8a8a;">{{addr}}</text>
</view>
<view class="col">
<text class="lt">联系人:</text>
<text class="ct" style="color:#8a8a8a;">{{name}}</text>
</view>
<view class="col">
<text class="lt">电话:</text>
<text class="ct" style="color:#8a8a8a;">{{phone}}</text>
</view>
</view>
</view>

View File

@@ -0,0 +1 @@
.about-content{font-size:26rpx;height:auto;line-height:50rpx;padding:20rpx}.footer{background:#fff;border-top:1rpx solid #e2e2e2;bottom:0;height:140rpx;left:0;position:fixed;width:100%;z-index:10000}.guanyu{background:#fff;border-radius:10rpx;margin-left:2%;margin-top:20rpx;width:96%}.guanyu .title{border-bottom:1rpx solid #f2f2f2;font-size:30rpx;height:80rpx;line-height:80rpx;margin-left:20rpx}.guanyu .col{font-size:26rpx;height:auto;line-height:50rpx;margin-left:20rpx}.guanyu .content{font-size:26rpx;line-height:40rpx;padding:20rpx}.ditu{height:400rpx;margin:0 auto;width:98%}

View File

@@ -0,0 +1 @@
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:""},onLoad:function(){a.that=this,a.style()},fromSubmit:function(e){console.log("fromSubmit");var o=e.detail.value;console.log(e),a.that=this,a.globalData=t.globalData,wx.showLoading({title:"正在加载中.."}),a.Post("/api/companygw.index/consult",{openid:a.getOpenId(),product_name:o.product_name,name:o.name,tel:o.tel,remarks:o.remarks},(function(t){console.log(t),wx.hideLoading(),wx.showToast({title:"提交成功"});var a=getCurrentPages().length;wx.navigateBack({delta:a-1})}))}});

View File

@@ -0,0 +1 @@
{"navigationBarTitleText":"在线咨询","usingComponents":{}}

View File

@@ -0,0 +1,26 @@
<view class="page">
<form bindsubmit="fromSubmit">
<view class="table_form">
<view class="input bdbt">
<text>咨询产品</text>
<input name="product_name" placeholder="咨询什么产品呢" type="text"></input>
</view>
<view class="input bdbt">
<text>您的称呼</text>
<input name="name" placeholder="请输入您的称呼" type="text"></input>
</view>
<view class="input bdbt">
<text>联系电话</text>
<input name="tel" placeholder="请输入联系电话" type="text"></input>
</view>
<view class="table_form">
<view class="textarea">
<text>备注</text>
<textarea name="remarks" placeholder="描述一下您的需求最多500字"></textarea>
</view>
</view>
</view>
<button class="table_btn" formType="submit" style="background:red">立刻申请</button>
</form>
<view class="jszc">技术支持:某某科技公司</view>
</view>