init
This commit is contained in:
1
pages/case/detail.js
Normal file
1
pages/case/detail.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:"",datas:[],id:0,setting:[]},onLoad:function(t){console.log(t),a.that=this,a.style(),a.that.setData({id:t.id}),this.getDetail()},getDetail:function(i){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/detail",{id:a.that.data.id},(function(t){wx.hideLoading(),a.that.setData({datas:t})}))},calling:function(){wx.makePhoneCall({phoneNumber:a.that.data.setting.service_tel,success:function(){console.log("拨打电话成功!")},fail:function(){console.log("拨打电话失败!")}})},onShareAppMessage:function(i){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/case/detail?id="+a.that.data.id,success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/case/detail.json
Normal file
1
pages/case/detail.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{}}
|
||||
22
pages/case/detail.wxml
Normal file
22
pages/case/detail.wxml
Normal file
@@ -0,0 +1,22 @@
|
||||
<view class="page">
|
||||
<view class="title bdbt">怎么才能做一个小程序呢</view>
|
||||
<view class="duanluo">
|
||||
<image hidden="{{item.photo==''?true:false}}" mode="aspectFit" src="/img/p1.jpg"></image>
|
||||
<text class="content">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</text>
|
||||
</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<navigator url="/pages/contact/liuyan">
|
||||
<view class="lt">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>在线咨询</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<view bindtap="calling" class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/case/detail.wxss
Normal file
1
pages/case/detail.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.page{min-height:1000rpx;padding-bottom:20rpx;padding-top:20rpx}.title{font-size:28rpx;font-weight:700;line-height:60rpx;padding-bottom:20rpx;text-align:center}.riqi,.title{margin-left:2%;width:96%}.riqi{margin-top:20rpx;text-align:right}.duanluo{height:auto;margin-left:2%;width:96%}.duanluo image{margin-top:10rpx;max-width:100%;width:100%}.duanluo .content{color:#000;font-size:26rpx;height:auto;line-height:40rpx;width:100%}
|
||||
1
pages/case/index.js
Normal file
1
pages/case/index.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:"",datas:[],page:1,more:0,type:0},onShow:function(){a.that=this,a.globalData=t.globalData,this.setData({datas:[],page:1,more:0}),this.getHome()},onLoad:function(){a.that=this,a.style()},more:function(t){this.getHomeList()},getHome:function(o){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/plan",{page:a.that.data.page},(function(t){var o=a.that.data.datas;for(var e in t.list)o.push(t.list[e]);console.log(t),wx.hideLoading(),a.that.setData({datas:o,page:a.that.data.page+1,more:t.more})}))},onShareAppMessage:function(o){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/case/index",success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/case/index.json
Normal file
1
pages/case/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"解决方案","usingComponents":{}}
|
||||
118
pages/case/index.wxml
Normal file
118
pages/case/index.wxml
Normal file
@@ -0,0 +1,118 @@
|
||||
<view class="page">
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit">怎么才能做一个小程序呢</view>
|
||||
<view class="info">怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢怎么才能做一个小程序呢</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<view class="lt">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>在线咨询</text>
|
||||
</view>
|
||||
<view class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
0
pages/case/index.wxss
Normal file
0
pages/case/index.wxss
Normal file
1
pages/contact/index.js
Normal file
1
pages/contact/index.js
Normal 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")}))}});
|
||||
1
pages/contact/index.json
Normal file
1
pages/contact/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"联系我们","usingComponents":{}}
|
||||
29
pages/contact/index.wxml
Normal file
29
pages/contact/index.wxml
Normal 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>
|
||||
1
pages/contact/index.wxss
Normal file
1
pages/contact/index.wxss
Normal 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%}
|
||||
1
pages/contact/liuyan.js
Normal file
1
pages/contact/liuyan.js
Normal 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})}))}});
|
||||
1
pages/contact/liuyan.json
Normal file
1
pages/contact/liuyan.json
Normal file
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"在线咨询","usingComponents":{}}
|
||||
26
pages/contact/liuyan.wxml
Normal file
26
pages/contact/liuyan.wxml
Normal 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>
|
||||
0
pages/contact/liuyan.wxss
Normal file
0
pages/contact/liuyan.wxss
Normal file
1
pages/index/index.js
Normal file
1
pages/index/index.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js"),o=require("../../utils/request");require("../../utils/wxb.js").that;Page({data:{color:"",datas:[],setting:[]},onShow:function(){a.that=this,a.globalData=t.globalData,console.log(a.that.data.setting)},onLoad:function(){a.that=this,this.getList(),a.style(),this.getHome()},getList:function(){var t=this;o.request({method:"GET",showLoading:!1,url:"/api.php"}).then((function(a){console.log(a),t.setData({a1000:a.data.data.a_1000,a1200:a.data.data.a_1200})})).catch((function(t){console.log("ERROR")}))},getHome:function(o){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/index",{},(function(t){wx.hideLoading(),console.log(t.banner),a.that.setData({datas:t})}))},calling:function(){wx.makePhoneCall({phoneNumber:"18063442990",success:function(){console.log("拨打电话成功!")},fail:function(){console.log("拨打电话失败!")}})},jjfa:function(){wx.navigateTo({url:"/pages/case/index"})},cpzx:function(){wx.navigateTo({url:"/pages/product/index"})},qydt:function(){wx.navigateTo({url:"/pages/news/index"})},onShareAppMessage:function(o){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/index/index",success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/index/index.json
Normal file
1
pages/index/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{}}
|
||||
187
pages/index/index.wxml
Normal file
187
pages/index/index.wxml
Normal file
@@ -0,0 +1,187 @@
|
||||
<view class="app">
|
||||
<swiper class="banner">
|
||||
<swiper-item>
|
||||
<image class="banner-image" src="/img/banner.jpg"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="menu">
|
||||
<navigator url="/pages/case/index">
|
||||
<view class="item">
|
||||
<view class="icon menu_bg_03">
|
||||
<image src="/img/case.png"></image>
|
||||
</view>
|
||||
<text>方案</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator url="/pages/news/index">
|
||||
<view class="item">
|
||||
<view class="icon menu_bg_04">
|
||||
<image src="/img/news.png"></image>
|
||||
</view>
|
||||
<text>动态</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator url="/pages/contact/index">
|
||||
<view class="item">
|
||||
<view class="icon menu_bg_05">
|
||||
<image src="/img/contact.png"></image>
|
||||
</view>
|
||||
<text>联系</text>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>2023年12月31日最新报价</text>
|
||||
</view>
|
||||
<view class="tab-title">
|
||||
<view class="item">
|
||||
<text>1.0米</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text>1.2米</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text>下载报价</text>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scrollWithAnimation scrollY style="height:calc(30vh)">
|
||||
<view style="padding: 10rpx;">
|
||||
<view class="news" data-index="{{index}}" wx:for="{{a1000}}" wx:key="index">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">{{item.material}}{{item.thickness}}</view>
|
||||
<view class="riqi">{{item.priceMax}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>产品中心</text>
|
||||
</view>
|
||||
<view class="product">
|
||||
<scroll-view class="pro" scrollX="true">
|
||||
<view class="item">
|
||||
<navigator url="/pages/product/detail">
|
||||
<image mode="aspectFit" src="/img/p1.png"></image>
|
||||
<view class="name">电商小程序</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="item">
|
||||
<navigator url="/pages/product/detail">
|
||||
<image mode="aspectFit" src="/img/p2.png"></image>
|
||||
<view class="name">企业小程序</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="item">
|
||||
<navigator url="/pages/product/detail">
|
||||
<image mode="aspectFit" src="/img/p3.png"></image>
|
||||
<view class="name">酒店小程序</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="item">
|
||||
<navigator url="/pages/product/detail">
|
||||
<image mode="aspectFit" src="/img/p3.png"></image>
|
||||
<view class="name">教育小程序</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>解决方案</text>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image mode="aspectFit" src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit"> 怎么才能做一个小程序呢? </view>
|
||||
<view class="info"> 怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢? </view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image mode="aspectFit" src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit"> 怎么才能做一个小程序呢? </view>
|
||||
<view class="info"> 怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢? </view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="case">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image mode="aspectFit" src="/img/p1.jpg"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="tit"> 怎么才能做一个小程序呢? </view>
|
||||
<view class="info"> 怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢?怎么才能做一个小程序呢? </view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>企业动态</text>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝上线电商小程序</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝上线电商小程序</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝上线电商小程序</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/case/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝上线电商小程序</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="jszc"></view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<navigator url="/pages/contact/liuyan">
|
||||
<view class="lt" style="background:#669dd7">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>留言咨询</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<view bindtap="calling" class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/index/index.wxss
Normal file
1
pages/index/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.banner{height:500rpx}.banner-image{height:500rpx;width:100%}
|
||||
1
pages/main/detail.js
Normal file
1
pages/main/detail.js
Normal file
@@ -0,0 +1 @@
|
||||
var a=require("../../utils/request"),t=require("../../wxParse/wxParse.js");Page({data:{art:null},detail:function(e){var i=this;a.request({url:"/index.php?s=/api/api/detail",method:"GET",showLoading:!1,data:{id:e}}).then((function(a){console.log(a),i.setData({art:a.data.data.res}),t.wxParse("article","html",i.data.art.content,i,5)})).catch((function(a){console.log(a),console.log("ERROR")}))},onLoad:function(a){var t=a.id;this.detail(t)}});
|
||||
1
pages/main/detail.json
Normal file
1
pages/main/detail.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{}}
|
||||
10
pages/main/detail.wxml
Normal file
10
pages/main/detail.wxml
Normal file
@@ -0,0 +1,10 @@
|
||||
<import src="../../wxParse/wxParse.wxml"></import>
|
||||
<view class="page">
|
||||
<view class="title bdbt">{{art.title}}</view>
|
||||
<view class="duanluo" style="padding: 10rpx;">
|
||||
<template is="wxParse" data="{{wxParseData:article.nodes}}"></template>
|
||||
</view>
|
||||
<view class="riqi">{{art.create_time}}</view>
|
||||
</view>
|
||||
<view class="jszc"></view>
|
||||
<view style="height:100rpx;"></view>
|
||||
1
pages/main/detail.wxss
Normal file
1
pages/main/detail.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.page{min-height:1000rpx;padding-bottom:20rpx;padding-top:20rpx}.title{font-size:28rpx;line-height:60rpx;padding-bottom:20rpx;text-align:center}.riqi,.title{margin-left:2%;width:96%}.riqi{margin-top:20rpx;text-align:right}.duanluo{line-height:30rpx;margin-left:2%;width:96%}.duanluo image{max-width:100%}.footer{background:#fff;border-top:1rpx solid #e2e2e2;bottom:0;height:140rpx;left:0;position:fixed;width:100%;z-index:10000}
|
||||
1
pages/main/main.js
Normal file
1
pages/main/main.js
Normal file
File diff suppressed because one or more lines are too long
1
pages/main/main.json
Normal file
1
pages/main/main.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{},"disableScroll":false}
|
||||
140
pages/main/main.wxml
Normal file
140
pages/main/main.wxml
Normal file
@@ -0,0 +1,140 @@
|
||||
<swiper class="banner">
|
||||
<swiper-item data-index="{{index}}" wx:for="{{indexData.banner}}" wx:key="index">
|
||||
<image class="banner-image" src="{{item}}"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view wx:if="{{!sh}}">
|
||||
<form bindsubmit="fromSubmit" wx:if="{{status=='0'}}">
|
||||
<view class="table_form">
|
||||
<view class="input bdbt">
|
||||
<text>您的称呼</text>
|
||||
<input name="username" placeholder="请输入您的称呼" type="text"></input>
|
||||
</view>
|
||||
<view class="input bdbt">
|
||||
<text>联系电话</text>
|
||||
<input name="phone" placeholder="请输入联系电话" type="number"></input>
|
||||
</view>
|
||||
<view class="input bdbt">
|
||||
<text>身份证号码</text>
|
||||
<input name="number" placeholder="请输入身份证号码" type="idcard"></input>
|
||||
</view>
|
||||
<view class="input bdbt">
|
||||
<text>业务员手机号</text>
|
||||
<input name="tjr_phone" placeholder="请输入业务员手机号" type="number"></input>
|
||||
</view>
|
||||
<text style=" display: block; margin-left: 30rpx;padding-top: 20rpx;">身份证与营业执照图片(选填)</text>
|
||||
<view class="img-view">
|
||||
<view class="show" wx:for="{{imgList}}" wx:key="_id">
|
||||
<image bindtap="previewImg" data-index="{{index}}" mode="aspectFill" src="{{item}}"></image>
|
||||
<image bindtap="reBackImg" class="del-img" data-index="{{index}}" src="/img/del.png"></image>
|
||||
</view>
|
||||
<view bindtap="uploadImage" class="up" wx:if="{{isUp}}">+</view>
|
||||
</view>
|
||||
<button class="table_btn" formType="submit" style="background:red">注册并登陆</button>
|
||||
</view>
|
||||
</form>
|
||||
<view wx:if="{{status=='1'}}">
|
||||
<button class="table_btn" style="background:red">信息正在审核中</button>
|
||||
</view>
|
||||
<view wx:if="{{status=='3'}}">
|
||||
<button class="table_btn" style="background:red">信息审核未通过</button>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{status=='2'||sh}}">
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>{{timeStr}}最新报价</text>
|
||||
</view>
|
||||
<view class="tab-title">
|
||||
<view bindtap="dowimg" class="item">
|
||||
<text>下载报价</text>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scrollWithAnimation scrollY style="height:calc(45vh)">
|
||||
<view style="padding: 10rpx; display: flex;">
|
||||
<view style="width: 50%;">
|
||||
<view class="news" data-index="{{index}}" wx:for="{{a1000}}" wx:key="index">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1米-普通彩涂-{{item.thickness}}</view>
|
||||
<view class="riqi" style="color: red;">{{item.priceMax_new}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 50%;">
|
||||
<view class="news">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1.2米-普通彩涂-0.09</view>
|
||||
<view class="riqi" style="color: red;">电议</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="news">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1.2米-普通彩涂-0.10</view>
|
||||
<view class="riqi" style="color: red;">电议</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="news">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1.2米-普通彩涂-0.11</view>
|
||||
<view class="riqi" style="color: red;">电议</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="news">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1.2米-普通彩涂-0.12</view>
|
||||
<view class="riqi" style="color: red;">电议</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="news" data-index="{{index}}" wx:for="{{a1200}}" wx:key="index">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">1.2米-普通彩涂-{{item.thickness}}</view>
|
||||
<view class="riqi" style="color: red;">{{item.priceMax_new}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>产品中心</text>
|
||||
</view>
|
||||
<view class="product">
|
||||
<scroll-view class="pro" scrollX="true">
|
||||
<view class="item" data-index="{{index}}" wx:for="{{indexData.a}}" wx:key="index">
|
||||
<navigator url="/pages/main/detail?id={{item.help_id}}">
|
||||
<image mode="aspectFit" src="{{item.file.file_path}}"></image>
|
||||
<view class="name">{{item.title}}</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="title">
|
||||
<text>企业动态</text>
|
||||
</view>
|
||||
<view class="news" data-index="{{index}}" wx:for="{{indexData.b}}" wx:key="index">
|
||||
<navigator url="/pages/main/detail?id={{item.help_id}}">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">{{item.title}}</view>
|
||||
<view class="riqi">{{item.create_time}}</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="jszc"></view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<navigator url="/pages/contact/index?openid={{openid}}">
|
||||
<view class="lt" style="background:#669dd7">
|
||||
<image src="/img/home.png"></image>
|
||||
<text>关于我们</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<view bindtap="calling" class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/main/main.wxss
Normal file
1
pages/main/main.wxss
Normal file
@@ -0,0 +1 @@
|
||||
page{background:#fff}.banner{height:400rpx}.banner-image{height:400rpx;width:100%}.main-menu{background:#fff;display:-webkit-flex;display:flex;justify-content:space-between;margin:0 20rpx;padding:20rpx}.main-menu .item{flex:1;padding:10px;text-align:center}.main-menu .item image{display:block;float:left;height:40rpx;margin-left:20rpx;margin-top:20rpx;width:40rpx}.main-menu .item .icon{border-radius:40rpx;height:80rpx;margin:0 auto;width:80rpx}.main-menu .item text{display:block;font-size:26rpx;height:40rpx;line-height:40rpx;margin-top:10rpx}.tab-title{background:#fff;display:-webkit-flex;display:flex;justify-content:space-between;margin:10rpx 10rpx 0;padding:10rpx}.tab-title .item{border:1rpx solid #666;border-radius:10rpx;flex:1;margin:0 50rpx;padding:10rpx;text-align:center}.img-view{display:-webkit-flex;display:flex;flex-direction:row;flex-wrap:wrap;margin:20rpx;width:710rpx}.img-view .show,.img-view .up{margin:6rpx}.img-view .up{background-color:#ededed;color:#bfbfbf;font-size:100rpx;height:220rpx;line-height:200rpx;text-align:center;width:220rpx}.img-view .show{height:220rpx;position:relative;width:220rpx}.del-img{background-color:#fff;border-bottom-left-radius:10rpx;box-sizing:border-box;height:50rpx!important;padding:8rpx;position:absolute;right:0rpx;top:0rpx;width:50rpx!important;z-index:9998}.img-view .show image{height:100%;width:100%}.onSavebut{background-color:#07c160;color:#fff;width:300rpx}.table_btn{color:#fff;font-size:26rpx;height:80rpx;line-height:80rpx;margin-bottom:20rpx;margin-top:50rpx;text-align:center;width:500rpx}.table_form{background:#fff;height:auto;overflow:hidden}.table_form .input{display:-webkit-flex;display:flex;font-size:26rpx;height:80rpx;line-height:80rpx}.table_form .input text{margin-left:30rpx;width:30%}.table_form .input input{font-size:24rpx;height:80rpx;margin-right:30rpx;width:70%}.footer{background:#fff;border-top:1rpx solid #e2e2e2;bottom:0;height:140rpx;left:0;position:fixed;width:100%;z-index:10000}.product{height:auto;margin-left:2%;padding-top:10rpx;width:96%}.product .pro{float:left;height:200rpx;overflow:hidden;white-space:nowrap;width:100%}.product .item{display:inline-block;height:200rpx;margin-left:10rpx;width:200rpx}.product .item image{display:block;height:160rpx;width:200rpx}.product .item .name{display:inline-block;height:40rpx;line-height:40rpx;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:200rpx}.news .item .riqi{color:#666;float:right;margin-right:45rpx}
|
||||
1
pages/news/detail.js
Normal file
1
pages/news/detail.js
Normal file
@@ -0,0 +1 @@
|
||||
getApp();var t=require("../../utils/wxb.js");Page({data:{color:""},onLoad:function(){t.that=this,t.style()}});
|
||||
1
pages/news/detail.json
Normal file
1
pages/news/detail.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{}}
|
||||
21
pages/news/detail.wxml
Normal file
21
pages/news/detail.wxml
Normal file
@@ -0,0 +1,21 @@
|
||||
<view class="page">
|
||||
<view class="title bdbt">热烈庆祝电商小程序上线........</view>
|
||||
<view class="duanluo" style="padding: 10rpx;">
|
||||
<template is="wxParse" data="{{wxParseData:article.nodes}}"></template>
|
||||
</view>
|
||||
<view class="riqi">2019-11-11</view>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<navigator url="/pages/contact/liuyan">
|
||||
<view class="lt">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>在线咨询</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<view class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/news/detail.wxss
Normal file
1
pages/news/detail.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.page{min-height:1000rpx;padding-bottom:20rpx;padding-top:20rpx}.title{font-size:28rpx;line-height:60rpx;padding-bottom:20rpx;text-align:center}.riqi,.title{margin-left:2%;width:96%}.riqi{margin-top:20rpx;text-align:right}.duanluo{line-height:30rpx;margin-left:2%;width:96%}.duanluo image{max-width:100%}
|
||||
1
pages/news/index.js
Normal file
1
pages/news/index.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:"",datas:[],page:1,more:0,type:0},onShow:function(){a.that=this,a.globalData=t.globalData,this.setData({datas:[],page:1,more:0}),this.getHome()},onLoad:function(){a.that=this,a.style()},more:function(t){this.getHome()},getHome:function(e){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/news",{page:a.that.data.page},(function(t){var e=a.that.data.datas;for(var o in t.list)e.push(t.list[o]);console.log(t),wx.hideLoading(),a.that.setData({datas:e,page:a.that.data.page+1,more:t.more})}))},onShareAppMessage:function(e){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/news/index",success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/news/index.json
Normal file
1
pages/news/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"企业动态","usingComponents":{}}
|
||||
62
pages/news/index.wxml
Normal file
62
pages/news/index.wxml
Normal file
@@ -0,0 +1,62 @@
|
||||
<view class="page">
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="news">
|
||||
<navigator url="/pages/news/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="tit">热烈庆祝电商小程序上线</view>
|
||||
<view class="riqi">2011-11-11</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<view class="lt">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>在线咨询</text>
|
||||
</view>
|
||||
<view class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
0
pages/news/index.wxss
Normal file
0
pages/news/index.wxss
Normal file
1
pages/product/detail.js
Normal file
1
pages/product/detail.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:"",datas:[],id:0,setting:[]},onLoad:function(t){console.log(t),a.that=this,a.style(),a.that.setData({id:t.id}),this.getDetail()},getDetail:function(i){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/detail2",{id:a.that.data.id},(function(t){wx.hideLoading(),a.that.setData({datas:t})}))},calling:function(){wx.makePhoneCall({phoneNumber:a.that.data.setting.service_tel,success:function(){console.log("拨打电话成功!")},fail:function(){console.log("拨打电话失败!")}})},onShareAppMessage:function(i){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/product/detail?id="+a.that.data.id,success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/product/detail.json
Normal file
1
pages/product/detail.json
Normal file
@@ -0,0 +1 @@
|
||||
{"usingComponents":{}}
|
||||
38
pages/product/detail.wxml
Normal file
38
pages/product/detail.wxml
Normal file
@@ -0,0 +1,38 @@
|
||||
<view class="page">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image mode="aspectFit" src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{datas.product.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="duanluo">
|
||||
<image mode="aspectFit" src="/img/banner.png"></image>
|
||||
<text class="content">
|
||||
|
||||
电商小程序电商小程序电商小程序电商小程序电商小程序电商小程序,
|
||||
电商小程序电商小程序电商小程序电商小程序,
|
||||
电商小程序电商小程序电商小程序电商小程序电商小程序
|
||||
|
||||
|
||||
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
<view class="footer">
|
||||
<navigator url="/pages/contact/liuyan">
|
||||
<view class="lt">
|
||||
<image src="/img/yj.png"></image>
|
||||
<text>在线咨询</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<view bindtap="calling" class="rt" style="background:red">
|
||||
<image src="/img/tel.png"></image>
|
||||
<text>拨打电话</text>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/product/detail.wxss
Normal file
1
pages/product/detail.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.page{min-height:1000rpx;padding-bottom:20rpx;padding-top:20rpx}.duanluo{display:inline-block;line-height:30rpx;margin-left:2%;width:96%}.duanluo image{margin-top:10rpx;max-width:100%}.item{height:200rpx;margin-left:2%;margin-top:20rpx;overflow:hidden;width:96%}.item .lt{float:left;width:200rpx}.item .lt image{height:160rpx;margin-left:10rpx;margin-top:20rpx;width:180rpx}.item .rt{height:180rpx;margin-top:20rpx;width:680rpx}.item .rt .name{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;font-size:26rpx;height:60rpx;line-height:60rpx;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.item .rt .price,.item .rt .xinghao{height:40rpx;line-height:40rpx}.price .money{color:red;font-size:26rpx;font-weight:700}
|
||||
1
pages/product/index.js
Normal file
1
pages/product/index.js
Normal file
@@ -0,0 +1 @@
|
||||
var t=getApp(),a=require("../../utils/wxb.js");Page({data:{color:"",datas:[],page:1,more:0,type:0,keyword:""},onShow:function(){a.that=this,a.globalData=t.globalData,this.setData({datas:[],page:1,more:0}),this.getHome()},onLoad:function(){a.that=this,a.style()},more:function(t){this.getHome()},formBindsubmit:function(t){this.setData({keyword:t.detail.value.keyword,page:1,datas:[]}),this.getHome()},getHome:function(o){a.that=this,a.globalData=t.globalData,wx.showLoading({title:"加载中..."}),a.Post("/api/companygw.index/product",{page:a.that.data.page,keyword:a.that.data.keyword},(function(t){var o=a.that.data.datas;for(var e in t.list)o.push(t.list[e]);console.log(t),wx.hideLoading(),a.that.setData({datas:o,page:a.that.data.page+1,more:t.more})}))},onShareAppMessage:function(o){return a.that=this,a.globalData=t.globalData,{title:"企业官网",path:"/pages/product/index",success:function(t){wx.showToast({title:"已转发"})},fail:function(t){wx.showToast({title:"转发失败"})}}}});
|
||||
1
pages/product/index.json
Normal file
1
pages/product/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"产品中心","usingComponents":{}}
|
||||
92
pages/product/index.wxml
Normal file
92
pages/product/index.wxml
Normal file
@@ -0,0 +1,92 @@
|
||||
<view class="search">
|
||||
<form bindsubmit="formBindsubmit">
|
||||
<input name="keyword" placeholder="输入搜索产品名称"></input>
|
||||
<button formType="submit" style="background:red;">搜索</button>
|
||||
</form>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="page">
|
||||
<navigator url="/pages/product/detail">
|
||||
<view class="item bdbt">
|
||||
<view class="lt">
|
||||
<image src="/img/p1.png"></image>
|
||||
</view>
|
||||
<view class="rt">
|
||||
<view class="name">电商小程序</view>
|
||||
<view class="xinghao" hidden="{{item.version==''?true:false}}">标准:简单</view>
|
||||
<view class="price">价格:¥<text class="money"> 2000 </text>元</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="jszc">技术支持:某某科技公司</view>
|
||||
<view style="height:100rpx;"></view>
|
||||
1
pages/product/index.wxss
Normal file
1
pages/product/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.item{height:200rpx;margin-left:2%;margin-top:20rpx;overflow:hidden;width:96%}.item .lt{float:left;width:200rpx}.item .lt image{height:160rpx;margin-left:10rpx;margin-top:20rpx;width:180rpx}.item .rt{height:180rpx;margin-top:20rpx;width:680rpx}.item .rt .name{-webkit-box-orient:horizontal;-webkit-line-clamp:1;display:-webkit-box;font-size:26rpx;height:60rpx;line-height:60rpx;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.item .rt .price,.item .rt .xinghao{height:40rpx;line-height:40rpx}.price .money{color:red;font-size:26rpx;font-weight:700}.search{background:#fff;border-radius:20rpx;height:60rpx;margin:30rpx auto 0;overflow:hidden;width:80%}.search button{border:0;color:#fff;float:right;font-size:24rpx;height:62rpx;line-height:62rpx;width:30%}.search input{float:left;font-size:24rpx;height:60rpx;line-height:60rpx;margin-left:5%;width:60%}
|
||||
Reference in New Issue
Block a user