s_detail.wxml 3.58 KB
<nav backgroundColor="#199095" color="#ffffff">店铺设置</nav>
<view>
    <block wx:if="{{reminder!=''}}">
        <view class="smooth font30r flex-vc" style="color:#e64340;padding:20rpx 0;">{{reminder}}</view>
    </block>
    <form bindsubmit="formSubmit">
        <block wx:if="{{opt.type=='phone'}}">
            <!--<textarea maxlength="11" class="phone black-font smooth font30r" type="number" name="{{opt.type}}" value="{{opt.info}}" placeholder="请输入电话号码" placeholder-class="gray-font smooth font30r"/>-->
            <view>
                <view class="flex-lr bg_white business-single" style="border-bottom:1px solid #eee;">
                    <text class="black-font font30r">联系电话1</text>
                    <input placeholder-class="gray-font font28r smooth" class="black-font font28r smooth" placeholder="请输入联系电话" type="number" bindinput="inputphone" maxlength="12" name="seller_tel1" value="{{seller_tel1 ? seller_tel1 : ''}}"/>
                </view>
                <view class="flex-lr bg_white business-single">
                    <text class="black-font font30r">联系电话2</text>
                    <input placeholder-class="gray-font font28r smooth" class="black-font font28r smooth" placeholder="请输入联系电话" type="number" bindinput="inputphone" maxlength="12" name="seller_tel2" value="{{seller_tel2 ? seller_tel2 : ''}}"/>
                </view>
            </view>
        </block>
        <block wx:else>
            <block wx:if="{{opt.type=='real_address'}}">
                <textarea maxlength="20" name="{{opt.type}}" value="{{opt.info}}" class="info black-font smooth font30r" type="text" placeholder="请输入店铺{{opt.typeinfo}}"></textarea>
                <view class="gray-font font24r smooth flex-rr bg_white" style="width:100%;padding:20rpx;box-sizing:border-box;">最多输入20个字符</view>
            </block>
            <block wx:else>
                <block wx:if="{{opt.type=='daily_time'}}">
                    <view>
                        <view class="flex-lr bg_white business-single" style="border-bottom:1px solid #eee;">
                            <text class="black-font font30r">营业时间</text>
                            <input placeholder-class="gray-font font28r smooth" class="black-font font28r smooth" placeholder="请输入营业时间,如09:00-23:00" type="text" bindinput="inputtime" name="daily_time" value="{{opt.info}}"/>
                        </view>
                        <!--<view class="flex-lr bg_white business-single">
                            <text class="black-font font30r">结束时间</text>
                            <input placeholder-class="gray-font font28r smooth" class="black-font font28r smooth" placeholder="请输入结束时间,如:23:00" type="text" bindinput="inputtime" name="endtime" value="{{optdaily[1]}}"/>
                        </view>-->
                    </view>
                </block>
                <block wx:else>
                    <textarea maxlength="500" name="{{opt.type}}" value="{{opt.info}}" class="info black-font smooth font30r" type="text" placeholder="请输入店铺{{opt.typeinfo}}"></textarea>
					<block wx:if="{{opt.type=='range'}}">
						<map longitude="{{storeInfo.long}}" latitude="{{storeInfo.lat}}" style="width:100%;height:600rpx;" circles="{{circles}}" id="map" scale="11"></map>
					</block>
                </block>
            </block>

        </block>
        <button formType="submit" class="form-button flex-cc white-font font30r smooth">保存</button>
    </form>
</view>

<netWork bind:netchange="netchange" id="network"></netWork>