|
|
|
<!--pages/home/index.wxml-->
|
|
|
|
<view class="home-page">
|
|
|
|
<view class="top-box">
|
|
|
|
<image src="../../images/index-top.png"></image>
|
|
|
|
</view>
|
|
|
|
<view class="company-info-box acea-row-nowrap" bindtap="toCompany">
|
|
|
|
<image src="../../images/company-bg.png" class="info-bg"></image>
|
|
|
|
<view class="info-box acea-row-nowrap row-between">
|
|
|
|
<image src="../../images/logo.png"></image>
|
|
|
|
<view class="introduce-box acea-row row-column-between">
|
|
|
|
<view class="name">深圳市瑞梦思时代科技有限公司</view>
|
|
|
|
<view class="desc">瑞蓢国际集团旗下全资子公司,以能量家居系统、智慧健康睡眠生态系统为主打的核心品牌。</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="goods-list-box">
|
|
|
|
<view class="title-box acea-row row-center row-middle">
|
|
|
|
<view class="row-line"></view>
|
|
|
|
<view class="title">商品介绍</view>
|
|
|
|
<view class="row-line"></view>
|
|
|
|
</view>
|
|
|
|
<view class="goods-item" bindtap="toDetial" wx:for="{{products}}" wx:key="index" data-id="{{item.id}}">
|
|
|
|
<image src="{{item.image}}" mode="widthFix"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="form-box">
|
|
|
|
<view class="tips-box acea-row row-middle">
|
|
|
|
<image src="../../images/tip-icon.png"></image>
|
|
|
|
<text>输入姓名电话立即咨询!</text>
|
|
|
|
</view>
|
|
|
|
<view class="form">
|
|
|
|
<image src="../../images/company-bg.png" class="info-bg"></image>
|
|
|
|
<view class="inp-box">
|
|
|
|
<view class="inp-item acea-row row-middle">
|
|
|
|
<text class="label">您的姓名:</text>
|
|
|
|
<input type="text" placeholder="请输入您的姓名" bindinput="inpName" value="{{form.name}}" />
|
|
|
|
</view>
|
|
|
|
<view class="inp-item acea-row row-middle">
|
|
|
|
<text class="label">您的电话:</text>
|
|
|
|
<input type="text" maxlength="11" placeholder="请输入您的电话" bindinput="inpPhone" value="{{form.phone}}" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<button class="submit-btn" wx:if="{{canIUseGetUserProfile && !isAuth}}" bindtap="getUserInfoProfile">立即预约</button>
|
|
|
|
<button class="submit-btn" wx:if="{{!canIUseGetUserProfile && !isAuth}}" open-type="getUserInfo" bindtap="getUserInfo">立即预约</button>
|
|
|
|
<view class="submit-btn" wx:if="{{isAuth}}" bindtap="submitInfo">立即预约</view>
|
|
|
|
</view>
|
|
|
|
</view>
|